LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging Occasional User Events

Dear Forum

I have need to record realtime data from DAQ : and have written a nice application to do this. However we also need to record user events : ie whenever a GUI button is pressed the time is also logged to the same file.
Without wading through LOTS of examples; can someone recommend an easy way to do this?
Thanks

Marc Lawrence
0 Kudos
Message 1 of 3
(2,673 Views)
I'm not sure how you're passing your DAQ data from the DAQ to the file writing portion of your algorithm, but if you use a queue you could easily add an entry from the captured user event to the queue so that it is written to the file in sequence.
0 Kudos
Message 2 of 3
(2,673 Views)
Ok sorry - clarrification here

We very simply used the LV7 DAQ assistants for Data Input, and then set the output to the Write Data wizard. Hence no buffers or anything (at the moment).

One way would be to have a button which records the time (and index) of pressing to another file; but it would be nice if the data was merged with the existing stream.

Marc
0 Kudos
Message 3 of 3
(2,673 Views)