![]() |
|
|
This VI records a button press event to a log file (in this case, a simple text file) in line with the the data being captured. The data somewhat simulate what you get when using a Write To Measurement File Express VI in that it records the timestamps and other metadata in the process at the beginning of each iteration.
The VI simply writes "Button Pressed!" and the timestamp at the point of being pressed.
Obviously, you can modify the number of samples taken each iteration in the DAQ Assistant.
Great stuff! Thanks for posting!