Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

writing binary file for fixed amount of time

Hello, I'm trying to write a binary file of multiple channels for a fixed amount of time before I perform my analysis. Does anyone know the best way to accomplish this?
0 Kudos
Message 1 of 5
(3,441 Views)
Here is an example of one way to do what I think you are trying to do. There may be a more elegant way of doing it, but this is pretty simple and straight-forward. It basically writes a 5-integer array for 5 seconds and then stops. Let me know if you have any questions.
0 Kudos
Message 2 of 5
(3,429 Views)
Hey, thanks for your help. I see how its done. What I was trying to accomplish was to have a "timed write" whenever i press the "Save Data" button on the front panel. Sort of putting a case structure around the while loop. Is this a possibility..
0 Kudos
Message 3 of 5
(3,423 Views)
yes, that's definitely a possibility. Give it a shot and see how it works for you. Nothing's irreversible in LabVIEW!
Message 4 of 5
(3,418 Views)
Hey thanks, it works great.
0 Kudos
Message 5 of 5
(3,398 Views)