NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Button Press Event Record to Data File

VERSION 1

Created on: Feb 17, 2009 11:44 AM by JeffL - Last Modified:  Feb 17, 2009 11:59 AM by JeffL

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.

 

Record Button Event in Data File LV86.png

 

Downloads:
Average User Rating
(0 ratings)




Todd Sierer Todd Sierer  says:

Great stuff!  Thanks for posting!