LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control temperature according to given pattern

Hello,

I want to control temperature of a chamber using heater and fan. I have a given pattern according to which I have to vary the temperature.

Attached are files for reading the temperature and files for heater and fan control.

Now, my job is to develop an algorithm to vary the input temperature according to the desired temperature shown in the attached graph. How do I do this? Please help!

0 Kudos
Message 1 of 2
(2,148 Views)

With a folder called Lab3_Part2... this looks like a school assignment.  So we will not do your homework for you.  If you have specific questions about things, people on the Forum will be glad to help.

 

Some suggestions: Creating a task, reading data, and closing the task in a subVI which gets called repeatedly is usually not a good idea.  Put the Task creation outside the loop.  Read the data inside the loop as soften as needed. Close the task after the loop completes.

 

Avoid the use of sequence structures. Use dataflow.  Search on the Forum for Sequence Structures to learn why.

 

Limit the use of Formula nodes to places where LV primitives do not work well.  You do not have any such places.  For example in the ChamberTempControl.vi just use constants with the values 1 and 2 in place of the Formula nodes.  You do not need the case structure either.  Use the Select function from the Comparison palette.

 

How do you plan to get the pattern into your program? You do not show anything for that.

 

Lynn

 

0 Kudos
Message 2 of 2
(2,145 Views)