Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

no time readout from DAQ

greetings.

i have a very simple vi that records the voltage and puts it into a text file. when i look at the text file, i can only see the voltage, not the time. i know the sampling rate, but i would like to have it placed automatically in the text file as well. should i add a timer or have i connected something incorrectly (i have attached VI)?

thanks in advance.


0 Kudos
Message 1 of 2
(2,888 Views)

Hi,

You are trying to write using the blue express VI and Write to Spreadsheet File function, these functions are basically doing the same although the Write to Spreadsheet File is a more low level abstraction of the Blue Express VI Write to Spreadsheet File, so you only need one of them to accomplish what you are trying to do.

I have attached a code that is doing probably what you need. And here are some resources that might help you in further issues: How do I Include a Time Stamp in a File using the Write To Measurement File.vi, Continuous Acquire & Graph Voltage - Write Data to Spreadsheet File (CSV) and Using the Write to Measurement File Express VI.

Let me know if it helps

Jaime Hoffiz
National Instruments
Product Expert
0 Kudos
Message 2 of 2
(2,870 Views)