Temperatur​e controller

Hi gents,
I'm trying to make a temperature controller, but no succes till now.. When you run the vi you will see a blue line and a red line in het Waveform graph, the red line is now showing a random temperature. I want to try to make a controller, so the red line will come close to the blue line. The data for the blue line is loaded from an other document, also attached. Can somebody help me? Thanks in advance!
Regards Matt V
ps excuse for my English 
Attachments:
Temperatuur regelaar.vi ‏25 KB
temp verloop.txt ‏1 KB

You would have to write your own PID algorithms. I really recommend getting the module.
My search came up with several posts on temperature control:
http://forums.ni.com/t5/forums/searchpage/tab/mess​age?location=forum-board%3A170&q=temperature+contr​...
Here is a thread about making your own PID:  http://forums.ni.com/t5/LabVIEW/How-to-build-a-PID​-controller/td-p/608537
"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

Similar Messages

  • Temperatur​e controller gives wrong powerup configurat​ion after communicat​ing with RS-232

    Hello,
    I was working with a Lakeshore 330 Programmable temperature controller using the LabVIEW drivers downloaded from NI driver site. My aim was to implement a continous RS232 data acquisition. I initially thought of using the similar code to the one used in another transducer (a pressure transducer which acquires data from RS232 continously). Unfortunately, I kept this vi in the same vi as the I am developing. While executing the vi, I got error from the pressure transducer, possible because both transducers are trying to communicate using same serial port. After that, my Lakeshore 330 temperature controller always power up in wrong configuration. I cannot switch input channels. Also, in the temperature it measures, the two digits after the decimal is missing. For instance, instead of 21.43 it is just showing 21.
    Anyone know what went wrong here? I restarted the Lakeshore several times, still no change. Is it possible the wrong write command to the lakeshore somehow messed the setting? Is it possible to get back to the original factory setting. I am getting desperate.
    I deeply appreciate any help and suggestions.
    Thank you in advance
    Zch
    Solved!
    Go to Solution.

    It really doesn't sound like a LabVIEW problem but a user error.
    All I can suggest is that you read the manual for the Lakeshore controller.  They are either going to have some steps that you can use to reconfigure it using front panel controls, or perhaps their own software to help configure it.  Also look at whatever protocol they are using for serial communication.  Comparing that to whatever you were trying to do with the pressure device might tell you how you might have accidentally changed the Lakeshore controllers configuration when you got their code and serial ports all mixed up.

  • Does anybosy have an example to work on with OMEGA CN612 temperatur​e controller

    Hi ,
    I am wondering if somebody can help me in finding an example to work on with Omega CN612 temperature controller.
    - Ankit G
    Solved!
    Go to Solution.

    On the surface it seems like there is not VISA communication, thus the time out.
    How close in the driver of this similar model to the actual model?  Have you looked at the two instruction sets?  Knowing this will divide the issue into compatible drivers Vs.. Hardware/example code issues.  If the command sets are the same, then you can look to see why the com seems to be lost, if that is the case.
    Can you watch he code execute to see if the init VI is giving an error prior to the read?
    Mark Ramsdale

  • Cn7500 Temperatur​​e Controller

    Need some help setting up the initial configuration, and understanding how to configure the Ramp, Temp, and Hold with the CN7500 from OMEGA.
    Typical Ceramics kiln control I currently want to setup looks something like this below, and I use this with a Skutt Ceramic Kilm today.
    Temp: temperature to obtain.
    Rate:  Degrees F per hour to increase. (9999 indicates unlimited time to drop to the desired temperature).
    Hold:  Time to hold when temperature achieved
    Temp  Rate    Hold 
      950     300   00:20
    2000     375   00:00
    2250     300   00:00
    2350     108   00:20
    2000    9999  00:15
    1950    9999  03:30
    2000      300  01:00
    2050      300  00:30
    Thank You any help is appreciated.

    A little background. This system really only heats or cools. It doesn't do both at the same time, I just wanted to write on vi to handle heating/cooling. The way we would use this vi is that the unit under test is cooled down to say -50 deg F. with electrical valve on a nitrogen tank supply. The valve cuts on and off the nitrogen tank supply. For heating it is the same idea except the we use a heavy duty heat gun to force in hot air to get the uut up to 275 degrees. The relay in this case controls a larger relay that can handle the current of the larger heat gun. Anyway, we have some pid controllers we use for this, but I want to develop a labview program that will take there place. Anyway a PID controller should work for this, I will just have to spend the time to figure it out. Jack47, your deadband idea might work as well.

  • I am looking for an instrument driver for a Barnant Model 689-0015 Temperatur​e controller with an RS232 port.

    Any help would be appreciated.

    I have done an extensive search of my resources and was unable to find any. At this point I doubt if there is one out there. Have you contacted Barnant to see if they have a driver in house that they might give to you?

  • The temperature control programming for T95 controller

    I want to control temperature T95 controller using labview program.kindly provide suggestions
     

    You can use MAX or a program such as potty to test the connection and port settings. In MAX, you would set the termination character to be a carriage return and send T\r where \r is the carriage return. Do a read and verify that what you get is the response detailed on the manual. Once that works, it's s master of impending the command you needed and parsing the response.

  • How many PID loops could I run on cRIO RT?

    Hi,
    I am trying to create a temperature process controller. I have 3 RS232-enabled OMEGA mass flow controllers, 12 thermocouples, 6 heaters (that will be connected in sets of two), and 3 PWM-enabled fan banks.
    My thinking is that I would connect the heaters in parallel to a phase-angle-fired SSR (http://www.chromalox.com/catalog/resources/PDS-PK308-SSR.pdf). That way, I could use a 0-20 mA output signal from the cRIO to control the power appplied to the heaters. I would use PID, and scale the output of the PID to a 0-20 mA signal to control the process temperature. I also want cascade control - I want to have 2 additional thermocouples that are connected to the PID loop acting as limit sensors. If the temperature limit is exceeded in either thermocouple, the PID loop is "turned off" until reset by a user. I would want three of these configurations (2 heaters, 3 thermocouples, 1 SSR - x3, so 6 heaters, 9 thermocouples, 3 SSRs).
    Rather than control the PWM fans with a PWM output directly from the cRIO (which I heard can be painful) I found a PWM controller that is controlled by a 0-5VDC signal. I wanted to use a thermocouple as a process value, and the 0-5VDC signal would scale to control the fans to achieve the desired temperature. I would want three of these configurations (1 fan bank, 1 thermocouple - x3, so 3 fan banks, 3 thermocouples).
    So now, my REAL question - Would one cRIO chassis be able to control these 6 PID loops AND my OMEGA mass flow controllers? I'm just unsure of the processing power that is required of PID/limit control.
    I appreciate any help I get - If need any more specifics, please let me know!
    Thanks!

    Just to follow up - I have no problem using FPGA as well, if leveraging both the RT and FPGA systems will allow me to achieve my goal. I have heard, though, that FPGA is only good if you are only maintaining one set point for the PID loops. My fan bank PID loops will keep a constant set-point, however my heater bank PID loops will require constant changing (the heaters will be used to create a cycle that maintains one temperature for 60 mins, than goes to a different temperature for another 60 minutes, and repeats).

  • Temperature Monitor Alert:Memory controller heatsink Results!!!

    Hello all...
    I have a question about the Memory Controller Heatsink sensor in the temparature monitor and I would appreciate it if you could shed any light in my problem.
    Well it was long time since I checked my temperatures on my G5 DP 2.3 so yesterday while I was into some MP3 encoding I heard the fans making alot of noise ,not something unbearable but not the usual silence behaviour I was used to even under heavy load and with the nap off.
    So because of that noise I decide to check it with the temperature monitor but nothing unusual came up except...yes you guess it the Memory Controller heatsink.
    An alert came up and inform me that the temp was over 75 C/167 F.
    The threshold was by default at 75 C/167 F.
    Let me add that it's summer here and a hot one at 37 C and the room is not airconditioning,but it was exactly the same one year ago(June 2005)and I never came up with an alert.
    Also I have no problem with the rest indications.
    So what do you think is it normal or may I have a broken fan?
    And finally what is the Memory Controller Heatsink?
    Thanx in advance!

    The memory controller heatsink is shown, with the associated cooling tubes and fins, in the right-hand photo of the 'back' of the main logic board here
    http://homepage.mac.com/jerrycube/jerrycubepix/22601bluebord.jpg
    Air is pulled over the back of the main logic board and through the cooling fins, by the fan in a plastic housing, at 90deg to all the other fans, behind the hard drives.
    This fan is called "Main Logic Board Backside" by Hardware Monitor in this ancient DP2.0 - and is showing "20%" in 22deg C room temperature. "Memory Controller Heatsink" is at 54deg C.
    37deg C is above the specified max. 'Operating Temperature' of 35deg C shown here
    http://support.apple.com/specs/powermac/PowerMac_G5_Late2005.html
    I think it would probably be advisable to find some way of lowering the temperature of the room the G5 is in...

  • Chromalox 6040 and 6050 temperature controller with RS485

    Hi,
     I have a Chromalox heater and the Tempererature controllers (6040 and 6050).  Both controllers has the RS485 hook-up.  I would like to know how to communicate with these devices.  The devices themselves can function as an stand alone units with PID controller installed. These devices can be used with automatic or manual control.  I would like to set it on automatic and control it from Labview.  I am currenlty using the Fieldpoints modules with Labview 2009. I have several questions: 1. can I wire the RS485 2-wire connector directly to the field point module?  2.  if I need an RS 485 converter, I will use the RS485 to USB.  Would I then just use the RS232 visa? 3.  there are two connection on the controller for the RS485, I am not sure how to wire that together as twisted wire.  I have looked at the forum on the subjects and find bits and pieces of info..  I would like more directions.
    Thank you,

    Sorry, I believe I convoluted the issue here at hand.  Let me retract my earlier statement and say this.  Your FieldPoint module has the RS232 port on it, where you can write serial commands out to the device (I mentioned using Optomux earlier, while this is possible, upon second thought it is unnecessary).  You can then have the RS485 port write out to your temperature controllers.  Is this what you are trying to accomplish?  You should be able to wire the connections directly to the FieldPoint module.  Sorry for convoluting the issue earlier.  Does this answer your question more closely?  You mentioned using an RS485 to USB converter, where does that come into play?  I understood that you wanted to go from the FieldPoint RS485 port to an RS485 port onthe temperature controller?
    Regards,
    Shane C
    Applications Engineer
    National Instruments

  • How to get temperature from digital camera in to controller

    how to get temperature from digital camera in polarising microscope using t95 controller without adc.dll
     

    Ask the manufacturer of your camera…
    What kind of answer do you expect?

  • I need an instrument driver for Neocera LTC-21 Temperature Controller and am having problems sending the IDN? string to the same instrument.

    Hi,
    When I use the instrument wizard in LabVIEW 5.0, to indentify a device (Neocera LTC-21 Temperature Controller), I receieve the following error:
    Error.
    There was an error sending this string.
    VISA error code returned was:
    -1073807339
    Error -1073807339 occured at VISA Read.
    Possible reasons:
    VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
    Although, the manual for this instrument states that the response should be a string of characters in the form of "Neocera Model LTC-21 version".
    Also, I do not have a driver for this instrument, inspite of checking on the NI Instrument
    Divers Network and the company website(www.Neocera.com).
    I would truely appreciate if someone can help me.
    Thanks,
    Kunal.

    I could not find any drivers for that instrument. You may just have to make your own. As for getting the device to respond, there are a couple of things you can do. If you are using GPIB: First, you might want to just reset the device by turning it on and off. If there are other instruments on the same bus, make sure 2/3 of them have their power on. Try communicating with it through IBIC. Here is a page that will help.
    http://www.ni.com/support/gpib/max/ibic.htm
    IBIC communicates with the GPIB on a very base driver level and you set everything manually step by step, so you can see where the break down is. Also make sure you are entering the "*IDN?" and all other commands correctly. Check the device manual to see what commands it should respond to and if there ar
    e any special settings you might need. If you are doing serial communication, you may want to check to see if you need a null modem cable for it to function. There also may be a dip switch on the device that switches between serial and GPIB communication.

  • Program Structure for PID temperature Controller

    Hi everybody,
    I built a PID temperature controller VI for a third party DAQ board, based on a very basic knowledge in programming.
    Now the VI works fine in both ends "i/ps & o/ps", the problem is that i cant get the response that I'm looking for from the PID controller. Since the system is time critical, I wounder if the structure of the VI is cosing this problem. please if you have any idea, hint or suggestion.
    Marwan
    http://www.geocities.com/marwan_m13/weemee8080.jpg
    Attachments:
    PIC Temperature Control(PID).vi ‏364 KB

    Marwan,
    You say that time is critical. The timeout is set to 1 second in the main loop. You will only get one update per second with this setting.
    Several comments:
    1. I have never seen the event structure used soley to control loop timing like this. No reason it should not work, but that is not its primary purpose. If you were to use the event structure to also handle user events (as it is designed to do), then things could get complicated. The Wait (ms) functions and Elapsed Time Express VIs can perform the timing for you without the risk of unintended consequences.
    2. Generally it is recommended to use only one event structure in a program, unless you have very specific reasons for using more than one. Since you are using them only as timers, the interaction potential is minimal.
    3. Right to left wiring and avoidance of wires hidden behind other objects make code much easier to read and to debug.
    4. Putting the user controls and displays and the write to file functions in independent loops allows the PID function to run at different rates from the user interface and file save functions. Look at examples of Producer/consumer architecture.
    5. Precalculating things which do not change from iteration to iteration can save time. For example multiply by 2.55 rather than multiply by 255 and divide by 100. Also make the datatypes consistent to avoid type coercion (indicated by little dots at the input connections such as the 255 input to the mutliply. Changing the datatype of the 255 constant to Double eliminates the coercion.
    Lynn

  • NI Serial Port / Eurotherm Temperature Controller

    NI Serial Port / Eurotherm Temperature Controller
    I am using a N.I. AT 232/4 board with four additional N.I. serial ports. First of all, after installing Windows NT (before I was using Windows 98) the NI Serial Port Diagnostics Program was not able to detect any of the ports even though the ports are correctly installed within Windows. When I was still using Windows 98 the NI Serial Port Diagnostics Program was able to detect all the four ports. Is it necessary that the diagnostics program detects the ports in order to use them with Lab View? I have also two regular Serial ports, which have never been detected by the diagnostics program, but I should still be able to use them with Lab view as well? D
    oes the NI Serial Port Diagnostics Program not function with Windows NT? Do you have an update version for Windows NT?
    I�m trying to control a Eurotherm 2416 and 903 Temperature Controller with two serial ports. Unfortunately, Eurotherm does not give support anymore about Lab View drivers for their Controllers, since they have developed their own Automation Program (iTools) now. I still want to control the Eurotherm Controller with Lab View via the serial port. Do you still have the driver VI�s for the 2416 and 903? It would be nice if you could send me the Eurotherm divers also along with some documentation.
    There is already a question posted about Eurotherm Controller (Eurotherm Temperature Controller not Functioning with NI Serial Board). It is probably a similar problem unfortunately the solution did not bring the right success. Therefore, I would like to ask you to specify the so-called 4-Wire mode.
    Thank You very much for Your help!
    Sincerely,
    Benjamin Thoma

    NI-Serial 1.45 does not install correctly on Windows NT Server 4.0 Terminal Server Edition. The driver (serial.sys), configuration utility (niports.cpl), and inf file (niserial.inf) are installed incorrectly to the user profiles directory.
    A workaround is to copy the files to the right folders which is detailed shortly.
    Definition: "%windows%" refers to the operating system folder. Note: The default operating system folder for this version of Windows is "Wtsrv".
    serial.sys - %windows%\system32\drivers
    niports.cpl - %windows%\system32
    niserial.inf - %windows%\inf
    Note: "niserial.inf" does not need to be copied unless an AT card is being used.
    The above files can either be obtained from the installation CD in the WinNT folder or from the hard-disk locations that they were
    incorrectly installed to which are detailed shortly. Note: Leaving the incorrectly installed files where they are will not harm the system. Definition: "%userid%" refers to the ID that was used when logging in to Windows.
    serial.sys - %windows%\Profiles\%userid%\Windows\system32\drivers
    niports.cpl - %windows%\Profiles\%userid%\Windows\system32
    niserial.inf - %windows%\Profiles\%userid%\Windows\inf
    For the newly copied driver to take effect the system must be rebooted.
    As for the instrument drivers, you can search our instrument driver site to try to find them. Go to "other driver resources" at the link below.
    http://zone.ni.com/idnet/
    For more information on the 4-wire mode, see chapter 6 of the "Serial Hardware and Software for Windows User Manual". I have included a link to the manual.
    http://digital.ni.com/manuals.nsf/caba5d53e9b015a186256793004eebb7/d1260d4fb98e3f228625699f005968d1?OpenDocument
    Kim L.
    Applications Engineer
    National Instruments

  • Performing temperature sweep with lakeshore 340 temperature controller

    I am working on a design project to run a temperature sweep using a lakeshore 340 temperature controller. I need it to increase in steps, wait for the temperature to stabilize and then ramp up to the next setpoint. I need to be able to repeat this process a finite amount of times. I believe I could check if it is stabilized using Booleans and a sequence structure, but I don't know anything about changing the setpoint automatically if anyone could help at all that would be really great. Thanks. 

    The instructions for how to set the temperature should be available at their website. I do not know what commands it uses since it is not an NI product.
    Kyle K.
    Product Manager for Product Data
    National Instruments

  • How to make Instron Bluehill (strain controller) communicate with labview (temperature controller)

    Hallo 
    we are now using instron to do some mechanical test, with instron bluehill to control the strain rate. 
    At the same time, Labview is used to control the temperature since samples are heated during load.
    we hope that Labview can communicate with Instron so that when the instron test is end, the RSD (Remote software Deployment) of Labview can be off automatically.
    Can someone give me some advice??
    Thanks.

    Hi Snail,
    Bluehill looks to be the software which ships with the strain controller hardware.  The question is really does that software provide any interface that an IDE can tap into?  ActiveX, .NET are a couple of examples - I would give Instron a call.  There is reference to an ActiveX API here - but no specifics.
    Regards,
    Peter D

Maybe you are looking for