One question I have is if there is a way for my program to have a delay before writing data to a .csv file after my trigger goes high and to stop the writing before the trigger turns off.
To specify more I have a trigger which tells my program to start logging data. Now my device takes 5 seconds to get a good reading so I have to start after 5 sec. And then when it turns off it takes about 5 seconds again. Any suggestions would be great. My trigger by the ways is 7sec on 2 seconds off.
Should I use shift registers? not sure?
Hi Pier,
I am not quite sure if I understand your problem faced as quoted. Nevertheless, please have a look at the attached VI. I have included, to the VI, a 5000ms timer, which starts timing when the Channel Data >= HighLevel Trigger. In this case, this next Channel Data which exceeds the HighLevel Trigger level will take effect only after the file save.
Hope this is clear
😛Cheers!