Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How can we take values from the ramp.vi in 1 second increments

We are designing a PID temperature controller for a tube furnance.  The ramp rate for temperature and time needs to be a user input.  We want to use the ramp.vi to to provide the setpoint to our PID during heat up and and an array for the temperature during treament time.  We have taken the ramps and array and put them into a build array and this output is where we want our setpoint values to come from.  We cannot however control the time interval and need these values to be times every second.  Is there a way to do this with a timing structure or Loop?
 
Thanks,
Mark
0 Kudos
Message 1 of 2
(2,955 Views)
Hi Mark,

Have you considered using the waveform data type? The waveform data type has 2 additional pieces of data in addition to the array values (Y). It can specify the starting time (t0) and the time between each value in the array (dt). You can configure these from the Build Waveform VI in LabVIEW.

Hope this helps!

Abhinav T.
Applications Engineer
National Instruments
Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 2 of 2
(2,940 Views)