LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay when a waveform chart stops recording

My head is stuck in an infinit loop and I can't get out.

 

I have a vi with a waveform chart on it that displays a capacitor charging voltage. There are two bits that are being monitored. One confirms when a switch is open the other confirms when it is closed (they are PLC bits). When the switch opens we start the recording. When the switch is closed we stop recording. No problem so far. The user wants the recording to continue a few seconds after the switch indicates closed so he can see the discharge side.

I'm stuck on how to do this.

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

Well there are several ways this can be done. If you provide some code it would really make this a lot easier to help you, but a simple solution would be to start a timer, using the elapsed time vi built into labview, when the desired time by the user has elapsed then stop recording, this solution works when in a loop, which im assuming you are.

 

If you provide some code we can help figure it out.

 

 



-Matt
0 Kudos
Message 2 of 2
(2,352 Views)