LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout

I created my first labview application with the help of this forum to monitor analog input channels(30pressure and 30vacuum) from my DAQ (USB-6225)which is connected to pressure and vacuum sensors onboard. The system starts with all channels at -15psi and after some time one channel at a time will reach 30psi and drop down to -15psi vaccum. To calculate the pressure flow rate I used the "get date time in seconds vi" when the pressure reached 5psi and another instant of the same vi at when pressure = 15psi and used the delta pressure and delta time for my calculation. My question is I have to implement some logic for the case that when the pressure doesn't reach 30psi. I shouldn't wait forever for the pressure to reach 30psi instead I should time out and move on to next channel. I need some help on how to implement this logic. I was looking at DAQmx watchdog vi. Is this something that I should use? Please need some help.

Thanks

 

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

Look at the Elapsed Time Express VI.  When it shows the time is up, then you can do what you need to in order to move on to the next step.  When you begin a step, you can reset the timer.

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