08-11-2014 12:28 PM
I have a pretty complex Queued message handler VI. I press a 'Relay Power' button which triggers the following:
Relay turns on for a set time (duration), goes off for a certain time (Delay) and repeats.
Every time this happens, I log data to a text file during the 'delay' interval.
For example, lets say I want to create 2 log files.
Duration: 1000ms
Delay: 1000ms
Files saved: File1, File2
File1 appears to be correct, ~1000 sample points (1 every ms)
File2 is ~2000 sample points, it logs what is acquired in the second 'duration' period.
I am not sure what I am doing wrong. The continuous acquisition examples in labview have a start/stop, where both acquisition and logging starts and stop at the same time. I don't think I want to do that?
08-11-2014 12:35 PM
We can't be sure what you are doing wrong either. It is kind of hard to help someone debug when we can't see their code.