From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write data simultaneously

Dear all!

 

I'm using the following vi to store data coming from two different channels.

 

I would like the two while loop indicators to run at the same speed so when i store the information in a tdms file, i get the same number of samples from both channels during a certain record time.

 

The thing is that the while loop i'm using for generating a waveform from a boolean variable, takes more time to get samples tahn the one i'm using for reading data from the other physical channel. Is there any way to synchronize both while loops? Do i need to use any kind of trigger signal? Does it has something to do with the dt parameter i'm setting to generate the waveform of the boolean variable?

 

I would really appreciate if somebody could help me,

 

Thank you very much in advance,

 

Miren

 

 

0 Kudos
Message 1 of 1
(1,833 Views)