03-11-2011 10:46 AM
Hi all,
I have a hydraulics system with a pressure sensor (my DAQmx read task) and a relief valve (my DAQmx write task), please see the attached vi. I would like to create a vi that allows me to write voltages from 0 to 10 V in increments of 0.5 V and for each voltage, read the respective pressure measurement from the sensor into an appended array in which first column is the voltage (wrote into the DAQmx task) and the second column is the pressure recorded (read from DAQmx task). It is critical given the nature of my system, to wait at least 5 seconds after writing the voltage into the relief valve, and 5 seconds before reading the pressure measurement into the array.
I was thinking of doing a flat sequence but it does not seem like the most efficient way to go. Any suggestions?
Thanks!
Lisandro
03-11-2011 10:52 AM
03-14-2011
02:44 PM
- last edited on
06-28-2024
03:18 PM
by
Content Cleaner
Nones,
Check out this tutorial. This is the perfect place to use loops.
Drew