Temperature in compressor function controls

Hi all. I am preparing a program of control of compressor with variable speed, but I was stuck on some points. We will explain what I tried to do.

Control is based on two measures of the temperature in different places. I want the compressor to work while the first point of the temperature is between 0-8 degrees OR the second point of the temperature is between-18,5 and - 18 degrees. When the first temperature reaches the 0 degree, it sends the signal to the compressor until it reaches 8 degrees. Once it reaches 8 degrees it restarts to send the starting signal to the compressor. Similarly, when the point of second degrees-18 temperature, 50, sent to stop the signal until she reaches 18 degrees. I tried an algorithm, but I could not able to do that. What is the problem of my code? I have attached the program file and the data that I am a student in this regard. Thanks in advance.


Tags: NI Software

Similar Questions

  • Excel - like functionality control LV

    Hi all

    I'm working on a project where I want to view and modify a data group.  The data include a Board of 2D of the U32.  Col. 0 will be a memory, passes address. 1 - n will be given.  The data will be displayed in chunks of 2048 addresses.  The data will be pieces of the U32 at this address.  For example, bits 0-12 can represent a pointer, bits 13 and 14 can be flags, etc..  I've included a vi of I want the control to look like.

    I would do this in a Labview control on a façade of LV.  In addition, I would like a few Excel - like functionality, specifically, I would like to be able to copy a cell and paste it to a certain number of cells highlighted.

    So far, I have not been able to find a control that will do.  The Listbox controls and table do not seem to allow the contents of the highlighted cell be pasted.  When I stick, the whole line, where the life of the copied cell inserted.

    I tried to insert an Excel worksheet into an Activex control.  It works as much as it shows the data.  However, the control seems to be read-only. I'm unable to change the data in the control.

    I tried .net and Activex controls.  There is a BOATLOAD of programming behind these controls that I am familiar with, and ultimately, I do not know if it would work.

    Can anyone suggest how I can get Excel - like copy/paste functionality in Labview control?

    Thanks in advance,

    Doug

    There is no native LabVIEW control that works as an Excel worksheet, allowing you to cut and paste arbitrary ranges from one place to another, short to integrate an activeX control Excel.  You could create such a control using two XControls (which are easier than you may think, they just look scary) or just the structure of the event.  There are a lot of shows.  You will need to replace several events (fall, button down, activation of the menu).  A quick search of these tips or the full net found no anything, probably due to the complex specificity and application of the present application.  Duplication full type Excel ability would require a lot of work, and most ISU does not require the full feature set, so we write with only the features they need.  This makes them less general, so they are not published.  If happen you to something general, do not forget to publish it.  If you need help with any part of it, let us know.

  • The callback functions control array?

    My apologies for my basic question.

    I'm experimenting with control arrays and so far able to collect data in controls of a string that is contained in the tables of controls.  Works well.  Of course, none of these controls need callback functions.

    Now, I need a few momentary controls in a control array as well.  So my question is, should I use a single callback for all button controls function in this unique table?  And if so, how can I do to determine which element in the control array called the function?  Reading the forums, it seems as if the use of the data parameter of the callback could happen to me.

    I just wanted to ask before we get off the track.  Thank you!

    Yes, callbackData can be useful in such a situation, but if you can limit to switch to array index to distinguish what to do the recall of your button might be something on this line:

    int CVICALLBACK BtnAttayCallback (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
    {
        int    handle, index;
    
        switch (event)  {
            case EVENT_COMMIT:
                handle = GetCtrlArrayFromResourceID (panel, control);
                GetCtrlArrayIndex (handle, panel, control, &index);
                switch (index) {
                    // Your code here
                }
        }
        return 0;
    }
    

    (No CVI install here so I can't test it: check the code, but it should work reasonably)

  • External template function (control and Simulation Module) on Linux using target

    Hello

    I am trying to run the 'EMI_Integrator.vi' for example on one OR cRIO-9024 (nor a myRIO).

    I moved the file 'EMI_Integrator.so' to the ' / or-rt/system ' on the cRIO and the .so file added to the target in the LabVIEW project. I can not navigate to the .so file directly so I specified the .so path manually, but the VI is not able to run and an error of-2366 'reissue model '.

    "You can find the original version of VI in the Finder for example OR", but I've included my modified version that has a LabVIEW project and targets already loading.

    Thank you

    Mitch

    Hello Mitch,

    If you want to use the external model on a 9024 node, you must copy the appropriate VxWorks library (.out) file to the/or-rt/system folder of the target. The .out file is located in LabVIEW\Examples\Control and Simulation\Simulation\External model Interface\EMI_Integrator\RT-Lib\vxworks.

    In LabVIEW, have the external model node refer to the file of the library appropriate for your operating system. In my case, I use a .dll for Windows file located in the folder EMI_Integrator, above.

    When I run the VI on the cRIO target, referring to the library on my host computer, it will automatically search the folder to/or-rt/system for a file with the same name with .out.

    Kind regards

  • Go through the c function control ++ QML

    Hello

    I'm new with blackberry-cascade/qt and have problem when setting qml to c ++. Any idea?

    Here's the qml

    Container {
            layout: DockLayout {}
    
            ImageView {
                id: imageView
                imageSource: "asset:///images/icon/book.png"
                horizontalAlignment: HorizontalAlignment.Center
            }
    
            Button {
                text: "Click Me"
                verticalAlignment: VerticalAlignment.Bottom
                onClicked: {
                    app.doTest(imageView)
                }
            }
        }
    

    App has already set as context property

    qml->setContextProperty("app", this);
    

    the error:

    Warning: asset:///TestPage.qml:21: Error: Unknown method parameter type: ImageView*
    

    I used like that. It works...

    Page {
        Container {
            ImageView {
                id: img_temp
                imageSource: "pop_up_bg.png"
            }
            Button {
                text: "change"
                onClicked: {
                    app.changeImage(img_temp); // app is the context property for this page
                }
            }
        }
    }
    

    and in C++:

    // I am changing the image source of the imageview controlvoid Test::changeImage(QObject* obj_image)
    {
        ImageView *img_temp = qobject_cast(obj_image);
        img_temp->setImageSource(QUrl("asset:///header.png"));
    }
    

    -Rezé

  • Showing a box that is selected in a checkbox in function control

    Hi all

    I have 8 areas of list with customer information. I have eight check boxes or perhaps another area of list with the names of confidence-building measures. What I want to happen, is that when I select a name CBM their appropriate customer list box appears. Other boxes that list with customer information are hidden.

    CBM chooses John Smith

    Customer list boxes 1-7 hide and list of clients associated with John Smith box appears.

    CBM selects Fred Brown

    Customer list boxes 2-8 hiding and list of clients associated with Fred Brown (area 1 of the list) is displayed.

    is it possible to do it in adobe acrobat format, XI? I searched online and found that you can do in the program cycle.

    Concerning

    Vera Hawkins

    It is display.hidden, not display.hide.

    Beside that, the code above seems good.

  • Is it possible to restore the original function on the main taskbar buttons?

    I'm used to having my "Stop loading", "Home", "Reload" buttons to the left of the address bar... Is it possible to 4 FF to add these buttons to the bar?
    I get the concept of running after the "awesome bar" concept, but some of us prefer to have a more direct and immediate of those functions, control rather than having someone of another spoon on controls simplified for us.

    http://www.computertechtips.NET/64/make-Firefox-4-look-like-FF-3-6/

  • What is the normal temperature of CPU of a 2006 model 2.2?

    What is the normal temperature of a CPU 2006 2.2 model MBP?

    The temperature is a function of the number and types of applications you have open, room temperature and how the MBP itself is physically installed.  I have seen temperatures as low as 38 ° c (rare) upwards to 90 ° c (resource intensive applications).  Non-intensive some applications using usually results in a temperature between 40 ° c to 50 ° c.

    Ciao.

  • Screen saver deactivates the functions of the remote trackpad

    With my new gen 4 Apple TV I discovered that whenever the screen saver appears I can't control my music with the remote control. I can't go to the next track or back to the previous track using the trackpad unless you use another function, that is the menu, to stop the screen saver. Once the screen saver is disabled trackpad allowing normally functions control me music. When the screen saver is active, all other functions like volume, menu and Siri, just doesn't the trackpads ability to move around the pieces of music. It's frustrating that I love the new screensaver and do not understand why they must be disabled to control my music, my previous Apple TV did not have this problem.

    Hello JBrown,

    It seems at this point that the only way to pass songs without disturbing the screensaver is to ask Siri to do.

    Just hold down the button of Siri and say "ignore this song."

  • Lost satellite L450-136 - scroll function

    Hi all

    I seem to have lost the ability to scroll using the edge of the normal scroll OK. All ideas welcome

    Hey,.

    The virtual scrolling feature is controlled by the driver for the touchpad. Probably, you have changed some settings of the touchpad?
    You can check the touchpad scroll function (Control Panel > mouse > advanced).

    In addition, you can try to reinstall the whole touchpad driver. Take a look on the Web from Toshiba site to download:
    http://EU.computers.Toshiba-Europe.com

    Last but not least, this thread might be useful for you:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=59356

  • PID control cool instead of heat

    Hello world

    I had a quick question about the PID vi in labview. I use it to try to cool an a box (measured with a thermocouple) and maintain at a certain temperature. The PID controls a fan that changes speeds in order to cool the area. My problem is that when I ran, I noticed that he seems to think that he has to turn less in order to cool the area (in other words not turn). Whenever I put my temperature is superior to the temperature, the fan would work, but below, it would not.

    The fan will always be in a framework where the instrument will be greater than or equal to the desired temperature. Therefore the PID of the fan should work to lower the temperature, not more. Right now he seems to think that it is more than a heating unit. Does anyone know how to do this?

    Ed

    Try a negative gain factor.  She will reverse the action of the PID.

  • RefNum out: where on the palette of command/function?

    See photo. RefNum out looks like a dummy variable for sticking to the shift register if the register is not empty, I'm wrong?

    But I searched on the range of function/control, I can't find refnum outside, where is he?

    I don't know that there is a constant empty 'file refnum out', but it can be created in two ways, the first being a right click on a file function that creates a refnum and do a 'constant to create' another is by clicking on a thread of existing refnum, or in the instance of your business structure the terminal not connected, in this case, and do the same thing (essentially the same as the first), and a third is declining refnum byte stream on the FP control, will diagram and right-click a "constant change". All are a couple of more strikes at the keyboard and mouse clicks just by pulling on the palette.

  • Cisco 3845 of storm-control

    Hello

    First of all, sorry for my English. I was attacked in one of my public ip address. I was wondering how to solve this problem, I found when I was attacked, and numer of pps in my interface goes up to 800 kpps. I was looking for an I found the function 'control of the storm '. I have a Cisco 3845, can you tell me what I can do to avoid attacks.

    Hello

    So I suggest that you attached a fw between your router and the internet or apply an IOS security.

    Basic stuff to assign:

    No finger service
    no service button
    no service udp-small-servers
    no service tcp-small-servers
    horodateurs service debug datetime localtime show-timezone msec
    Log service timestamps datetime localtime show-timezone msec
    encryption password service
    tcp KeepAlive-component snap-in service
    a tcp-KeepAlive-quick service

    not run cdp
    no ip bootp Server
    no ip address of the http server
    no ip finger
    no ip source route
    no ip free-arps
    block connection-for 10 tries 2-5

    all the ints FastEthernet/concert
    -------------------------
    no ip redirection
    no ip proxy-arp
    no ip unreachable
    no ip directed broadcast to the
    no response to mask ip
    No mop enabled

    all serial interfaces
    -------------------------
    no ip redirection
    no ip proxy-arp
    no ip unreachable
    no ip directed broadcast to the
    no response to mask ip

    and then maybe use a simple CBAC inspection
    ----------------------------------------------------------------

    R1
    inspect the TCP IP ios_fw name
    inspect the name ios_fw UDP IP
    inspect the name ios_fw ICMP IP

    allowed access list 100 deny ip any one

    int fax / x (interface WAN face)
    inspect the ios_fw over IP
    IP access-group 100 to

    RES

    Paul

  • How the VB program to integrate acrobat pro to create self control upstream

    I would use my vb program to open the PDF in acrobat pro

    then run the vb program the function controls upstream in acrobat pro

    and send the message before the flight.

    Is there anyone able to help?

    Thank you.

    VB has a way to run another program.  It can also pass parameters to it.  It's what you want to do.

  • How to trigger the function when certain keys entered in the text field?

    Gidday

    I have a listener of stadium for keyboard events, that triggers a two function control the error for text field entries according to which the movieclip, the fields are.  Text in some movieclips trigger fields, a function that checks if the entry is between a certain digital interval, while the textfields in the other movieclips test to ensure that text fields are not left empty.

    It works very well apart from me not holding does not count another keyboard events that the letters, numbers, and signs of punctuation, or, among other things, the SHIFT key.

    So what is happening now is that the events of keyboard away from the numbers, letters and punctuation trigger an output error.

    I was wondering how to fix this?

    The listener that I use is:

    stage.addEventListener (KeyboardEvent.KEY_UP, KeyPressed);

    KeyPressed is a function that determines what error check its operation to run according to which window movieclip is open.

    Thank you for your help on this one.

    Shaun

    If you want it to be a little more optimized, you can create a wrapper class for the textfield and then you wouldn't add the event listener for each text field.

    class MyTextField extends TextField {}

    public void MyTextField() {}

    this.addEventListener (Event.CHANGE, eventhandler);

    }

    }

    In the form create instances of MyTextField instead of directly TextField.

    Concerning

    Knockaert

Maybe you are looking for