Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 70990

Synchronization of output and input signal

$
0
0

Hi all,

 

I have 11 voltage steps and and each step needs to come on after 5 seconds. I want to generate a new txt file of the output data of a sensor everytime the voltage changes.

 

For the generation of voltage, I have an array with the voltage steps and a "wait" vi set to 5 seconds all inside a for loop. The daq assistant output is set to on demand samples.

For the data acquisition I need to generate a text file everytime the voltage changes so i have an elapsed time vi with 5 seconds of target wired to the reset input of the "write to measurement files". The write to measurements Vi is inside a case structure to stop after 55 seconds which should be the time duration after all the voltage steps have finished.

I am able to generate the correct number of files but as the procedure gets closer to the last voltage steps, it's not synchronized. Is there a way to solve this issue?

I am new to labview so any help is appreciated.

Thanks! 


Viewing all articles
Browse latest Browse all 70990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>