Calculation of temperature in LabVIEW ramp

Hello

I am a chemical engineer, and I'm trying to use fuzzy logic control to control the temperature of a non-linear reaction. The use in the control variable is the difference between the ramp of the reactor temperature and the set temperature pad. And my question is how to calculate the variation of the temperature of the reactor.

I just started learning about LabVIEW and have only an idea that I could record the temperature of the reactor in a certain time interval and calculate the difference. However, I don't know how to save the data internally in the program that I can use the data for the calculation, while the program is still ongoing. I wonder if someone could help me. It will be better if you could give me an example of this. I'm using LabVIEW 7.1. Thank you very much!

Wilson

Hey Wilson,

From what I understand of your explanation, I tried a simple code.

I couldn't save in 7.1, so attaching screenshot.

I would like to know if that's what you're looking for. Sorry if I don't understand your problem and a bad solution (if this is the case)

Tags: NI Software

Similar Questions

  • Omega CN8202 temperature control Labview (Serial Port, RS-232 Communication) Question

    I'm a fidling perfect starting with Labview, as I just started with it today, so sorry if these questions are obvious.

    I will work with an Omega CN8202 thermostat. As indicated in the title of the topic, one used uses serial communication and RS-232 Protocol.  However, the LabVIEW version is 2007, so I don't think that all the drivers here would work

    Only, I want to be able to set a temperature on the CN8202 of a computer and no need to do something about the ramp or soak time. How could I change the drivers so that they would work in the 2007 version of LabVIEW?

    There is no such thing as LabVIEW 2007. The current version is displayed when you launch or open the About window. If it is really longer than 8.0, then the version conversion Commission. Link is at the top of the page on the set of LabVIEW.

  • LabVIEW PID PWM controller

    Hello everyone.

    IAM working on a temperature of Labview control program that uses a controller of PDI, a radiator, a read thermocouple temperature.

    IAM able to read the sensor and I think that I managed to implement the PID as well.

    What I have to do now is to convert the output of the PID in a Cycle of use appropriate in % to enable/disable-energize a Solid State Relay for the power supply of heating.

    To generate a square wave, I thought using the Waveform.VI of the place. (see image below)

    The output for the PID is in the range 0... 5 v so I guess I do this output to scale in a way?

    Thanks in advance for any help,

    Best regards

    Michael

    I have not seen that VI PID single within a certain time, and if you have access to the PID toolkit (now included with versions of LabVIEW non-Base) you must use that one instead. In both cases, however, the limits of output are set by entries in the VI - in your case, the 'threshold' and controls 'Cap '. Change these so they are 0 to 100 and then use the output of the cyclical report.

  • Watlow F4 controller with LabView

    Hi all

    I have a HX300 refrigerant in a closed circuit that uses a Watlow F4 controller. I want to control the F4 controller and monitor the conditions of it such as the rate of pressure and temperature using LabView. I heard about the pilot Modbus who helps make this communication possible and downloaded it. I use the version of LabView 8.6 and followed the steps needed to include it in Labview. I have very little experience with Labview and wonder how to start to write the code for this. Any help is very appreciated!

    Thank you

    Eric


  • Existing communication usb - hid in labview c code using

    Hello

    I want to write a simple temperature using labview recorder and an external hardware that communicates via usb - hid. The external hardware uses an ATMEL 90USB162 µC and probes DS18B20.

    Link to the material:

    http://www.diamex.de/dxshop/USB-temperatur-sensor-Tester-fuer-DS18B20

    The source of a simple command line tool is available (see attachment), which reads the value of the temperature of the connected sensors.

    Is it possible to include this c code in the labview application to simplify the communication?

    Thank you very much and best regards,

    Michael

    Hello

    I stopped using the existing code and replace by http://ahidlib.com/index.php/ahid-dll-and-labview. This works very well for me.

    Best regards

    Michael

  • auto zero mode DAQ in LabVIEW 8.6.1

    Hi all

    I use to program a measure of temperature VI LabVIEW 8.6.1. However, I can't find the AI. Property of AutoZeroMode even if the help, I should have approved the DAQmx Channel/Analog Input / General properties / high precision settings / Auto Mode zero.

    It's a little weird as in general properties, I have only 3 subfolders instead of 4 (high precision settings missing)

    FYI, I tried to follow this example http://zone.ni.com/devzone/cda/epd/p/id/4996

    If you don't find the property, it is likely that none of the devices configured in your system supports the property.  LabVIEW property nodes apply a filter which, by default, hides the attributes that are not supported by all devices configured on the system.

    To force the property node to display the same attributes not supported, you can right click on the channel property node, choose "Select filter... "and choose"display all the attributes.

    However, once again, only the attributes that are not supported for all devices at all on your system are hidden by default, so all the attributes that become visible will probably generate "unsupported attribute" errors if you try to read or write to them.

  • How this power program?

    Hello

    I need to activate a fan when the temperature reaches 65 ° C and then only turn off when the temperature reaches 55 ° C. basically, I need to put on with a higher value and turn it off when it gets to a lower value. I tried everything I could, and none made that happen.

    The image shows what I have right now. I have a PT100 that convert temperature, voltage, and then I have to multiply the voltage at a given number (60,1403... in this case - linear coefficient) to know the temperature in Labview (less the offset of each PT100). Then I put two outputs in the c - 9178 daq module. If the temperature is above 65 ° C, turns on a port of the module and if its young at 55 ° C it turns on another port. But I don't like that, because between 55 ° C and 65 ° C, the two ports are turned off, and I can't do anything with it. So, everything is bad. I hope you can help me.

    Hi 1234,

    seems very easy for me:

    Have you ever tried to create your algorithm on a sheet of paper?

  • Adding channel CJCS virtual/physical to existing task

    Hello

    I have a NI 9211 TC modules that I use to acquire temperatures through LabVIEW 2013 SP1, I have an existing task created in MAX.  I want to follow the CJC temperature sensor as well.  After looking at several positions, I discovered how to assign the physical channel hidden in a virtual channel in LabVIEW and then view the CJC value.  BTW...  Where there is under good which shows how to do this for the cDAQ series... find the 'AI Temp sensor built' is not clear (look under "analog EntrΘe, more").  But that part works now.

    -->, I want to add this channel CJC to my existing job, but I get an error.  See CJC1.vi

    Or, as an alternative, I would like to acquire the CJC temperature and acquire temperatures 8 other channels and then combine them somehow for display, recording, etc.

    Note: I want to keep the data in the format of the waveform, so they work as part of a broad data acquisition program that I have.  And I want to continue to use the existing task as it contains the calibrations (via the wizard of Calibration MAX).

    Here is the error that occurs when I run CJC2.vi with the active disabled code block.  (sometimes not is displayed after you press the Stop button)

    Error-200072 occurred at .vi:7050002 DAQmx Create Channel (I-temperature-built-in sensor)

    Possible reasons:

    Duplicate the layers in the list of physical channels are not supported by this unit.

    Channel name: _cDAQ3Mod1/_cjtemp
    Dual channel: cDAQ3Mod1/_cjtemp
    Physical channel: _cjtemp
    Feature: cDAQ3Mod1

    Name of the task: task of DAQ3

    Attached files:

    CJC1.VI<-- shows="" combined="" code="" and="" it="" throws="" the="">

    CJC2.VI<-- shows="" how="" i="" acquire="" and="" display="" data="" from="" 8-channel="">

    CJC3.VI<-- shows="" how="" the="" cjc="" temperature="" works="" by="">

    Now, how to combine the two?

    Thanks for the help,

    Derek

    Knowledge base seems to be a little confused right now because it only shows the node property for channel playback of strength. It's the correct property to read from a channel of CYC while you use it, but we must also set the CJC channel as an active channel first. The following snippet is the right way to do this in the context of this thread.

    Please note that you must use the built-in CJC source for that to be applicable.

  • PID inverso (enfriamiento)

    Normal 0 21 false false false MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui)} / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Tabla normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 cm 0 cm 5.4pt 5.4pt; mso-para-margin: 0 cm; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    Buenos dias,

    Escribo para pedir ayuda con Programación of UN PID temperatura mediante Labview utilizando las herramientas "PID control. The para este PID Cooper you're action reversed, en vez d, os explico el operation del sistema y lo that wants to get:

    El control lo quiero hacer sober UN generador, el cual en 25ºC begins go to gearing progresivamente until reaching los 65ºC, lo cual no're recomendable para el sistema. What I want to get don't con maxima temperatura to control the PID, pongamos 50ºC, as el sistema el seria no superar should. Los elementos controlados would be unos ventiladores, asi pues solo podrá enfriar el sistema.

    He intentado hacer con screws of PID control pero sirven todas las herramientas para Acción directa (calentamiento) y yo Necesito UN action reversed (enfriamiento) para el sistema keep estable en 55 ºC.

    Awaiting that me podais help,.

    Gracias photos,.

    A greeting

    Normal 0 21 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Tabla normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 cm 0 cm 5.4pt 5.4pt; mso-para-margin: 0 cm; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    Buenos dias Arturo,

    Last week al final very perform a PID to ASIL a los requirements than expuse en el anterior message.

    Muy than el PID is ejecutara of forma reversed (enfriamiento) introduciendole una Kp together observe el behavior del sistema con el resultado of as el sistema era estable pero con one error of 5º, worm despues como Kp together me servia para hacer el control of enfriamiento dispuse a tune PID por medio Ziegler - Nichols el y verdad los resultados hasta el momento are being buenos. Aunque el recoger he tenido output Beach del PID (10-100), is that the config led PID has paraba veces y arrancaba a Tope, lo cual los ventiladores not beneficioso are.

    Comentar than no tengo el PID incluido, pero tambien seria I think case dentro a buen complement para mi sistema.

    Gracias por you Arturo ayuda.

    Kind regards

    P.D.: No. I can open el vi me envias ago mi Labview are version 8.5

  • noise of thermocouple

    I use a PCI-6221 (16 bit) card with a cable connection to a CB-37F-LP, connected to thermocouple type T (slope = 52nd-6 V/deg C)

    Perform the calculation, my temperature resolution should be:

    resolution of voltage = 2V/2 ^ 16 = 3.05E - 5V

    RES = resolution/slope = 0.59 C tension temperature

    My temperatures are jump + / 7 C.

    I got the same results with more thermocouples and several board positions.

    I also got the same results when I connected the thermocouple directly to the PCI-6221

    Any ideas?


  • Measures of constraints with the NI 9219

    Hi all

    I join this forum and I need bit of advise on measurement of deformation using NI 9219 with lab view.

    I followed the procedure and settings to configure a virtual channel to strain under global virtual channel of NI DAQ mx.

    I need some clarification on strain gauge measures:

    1. If I use 1 quarter bridge configuration should I NI 9219 completion resistors?

    2.i have ordered strain gauges, but I can imitate the calculations of strain with labview gauge using a variable resistor instead of active Gages? as I understand, it's strain gauges to change resistance when the force is applied.based on this notion if I use a variable resistor on one leg of wheatstone bridge and plot the data? all I want is to play with lab view until I get the real strain gauges. (will take a week to get deleivered)

    3. affecting the internal Vex I think that I will not need to apply any voltage to the terminals of the bridge as the strain of installation window.i would just need to connect to the ends of the stone bridge of wheat to the PIN number 3 and 5 in the comment of 9129.please OR who...

    I have to really thank and appreciate all of you for taking the time and reading/commneting on my post.

    Kind regards

    Ali

    Hi Engr_tech,

    9219 a resistance integrated half-bridge completion, but for quarter-bridge measures, it must rely on resistance measurements 2 son.  It does not support the measures of quarter 3-wire bridge.  I'm not familiar with the help of a variable resistor instead an active gauge so I can't comment on that.  Looks like your #3 idea would work, although I'm not 100% certain.  It will be unsupported, but it could work.

  • Record the measurements of the temperature ramp in spreadsheets.

    Hello

    I am new user of labview and I need help.

    I'm saving my measurements of temperature ramp and the problem is that I can save only one measure and not all the steps my ramp through. What should I do? I use writing in the file.vi worksheet and I already placed a true booleab to add it to the files Panel.

    Thank you in advance.

    Best regards

    Evangelos

    Hi Evangelos,

    Thanks for the download of your file.

    Take a look at the attachment that I have edited. Are you eager to reach?

    I took notes on the changes I made in the block diagram.

    If you need further assistance or modifications, do let me know.

    Kind regards

    Greg

  • temperature measurement with labview on four location using NTC thermistor


    Hello
    My project is the measure of the temperature of a thermistor on-site 4 difference.
    The measures must be 0 for 100 * C.

    details.

    • For the sensor, I must use only NTC thermistor.
    • I have to do an application with Labview.
    • the application must give me the right measure in real time, and it should save the sample in a database.
    • This measure is taken max 20 feet form the pc.

    I'm new with this.
    Can someone help me with sensor circuits.
    How can use DAQ with the thermistor.
    Can I use EMANT300 Low-Cost USB DAQ Module 24 bit?

    Please give an idea

  • LabView Thermocouple temperature readings

    I use the SCXI-1001 with SCXI-1102 and SCXI-1303 (LabView 8.2) in record temperatures of thermocouples type k.  My problem is that the temperatures that I see on LabView are off by about 5-10 ° c. AND they stray +/-10 ° c throughout the day.  What I've read, I think that this could be linked to the CJC.  Right now, I just CYC Source set "Permanent" with a value of "25".  I can make adjustments to it to help with the lag, but the drift just of temperatures throughout the day and the readings are again incorrect.  The room temperature changes somewhat in the region where I have this configuration, and drift in temperature seems to be linked to that.  For any help or suggestion would be appreciated. Thank you.

    Hi Zawer,

    Your SCXI-1303 module has a welding temperature sensor cold precision thermistor, so the 'Integrated' parameter must be supported.  Try resetting the 1102 able and Automation Explorer, then restart LabVIEW.  Is thrown this error yet?

  • Need help on calculation of complex math in labview

    I need help in being pointed in the right direction.  I have an old piece of lab equipment that I have linked to the labview.  In order to send commands to the hardware, I have to calculate a checksum.  The checksum algorithm requires me to take alphanumeric, convert them to binary, perform a binary addition, perform an Xor, hide some numbers and convert the resulting binary string to an ascii character.  LabVIEW has the capabilities to do it on its own, or should I look for to connect to something like an external dll?

    I have Visual Studio 2008 and some previous experience in VB, so I think I could write a program that would make the calculation, but don't really know exactly what kind of project (dll, etc.) is preferable.  Are there specific for the dll parameters so that labview can use it.  I see an example for C++ to Visual Studio 2005, but that's as close as I can get.  I only know VB, c#, or C++

    Can someone tell me please in the right direction?

    Tron

    You essentially have some quarters of logical work and ANDS.

    Check version 2.

    /Y

Maybe you are looking for