LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

acquisition and saving

Well I’ll try to explain to you better the problem.
I’m acquiring two frequencies with a PCI 6602 and six analog channels with a PCI AT MIO 16 E1: I’m doing buffered acquisition.
I’ve built three different VI and I’m using the multithreading.
I start acquisition without problem;to save on file during acquisition I have a global variable boolean that start the saving in all the Vis. The global variable doesn’t guarantee me that in all the Vis the saving starts at the same time; is ther a way to syncronize the saving with anexternal botton without using the global variable?
Well I use a buffer so when I start the saving the buffered datas goes to file and I don’t know in wich time those datas have been
acquired.
When I save analog datas, thanks to the function ”get waveform components” I know from the timer ”to” in wich time I’ve acquired them instead for the frequencies I can’ t do it.Is there a way to solve this problem?
0 Kudos
Message 1 of 2
(2,496 Views)
Luiart,

Thank you for contacting National Instruments. You could pass a specific value by reference to the tree VIs and feed the value coming from that reference to rendezvous that will help you synchronize the actions of saving to files (in each one of the VI's).

Now, there's something to keep in mind. Windows is not a Real Time Operating System, so it won't be possible to "start writing" to all the files at THE SAME TIME. But using the suggestion above, will definately help.

Good luck!
0 Kudos
Message 2 of 2
(2,496 Views)