10-17-2008 01:21 PM
I have a two train pulses from an 6009. They are Ao0 and Ao1. The Ao0 output will produce the total time delay at my counter. The front panel shows 3,1,3. I can fire relays fine. I need to write to my "Write to file - LVM" the same 3 intervals in time. Write after 3 seconds the global data. After 1 second, then after 3 seconds again.
Thanks
Philip
Solved! Go to Solution.
10-17-2008 01:40 PM
10-17-2008 01:43 PM
10-17-2008 01:48 PM
I am trying to write to a LVM file. I need the ON time and then OFF time. The last time is the end of Ao0 and Ao1.
I do not know how to tell the file to read after the three intervals in time?
Thanks
Philip
10-17-2008 04:50 PM
10-20-2008 01:12 PM - edited 10-20-2008 01:16 PM
Hey Phillip,
Thanks for posting on the forums! I understand you are trying to write your global data after a specified time interval. A brute force way to do it, would be to simply include the Write to Meas portion of your code in each sequence. A better way would be to leverage the state machine architecture in LabVIEW. This is a more modular approach, and will be much more maintainable. You can read more about this architecture here. Your code might look something like this.