LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong Time Displayed in Excel when "Export Waveforms to Spreadsheet File.vi" is used

So, I put in a DAQmx timing function into my vi. The attached file yields a nondescript error message occuring at the DAQmx read. With the continuous specification removed, nothing happens when I run it. The same things occur with or without the time delay function.

Message 11 of 13
(310 Views)
Did you go through the examples? You should create your channel and configure it outside of the while loop and then perform your read inside of your loop.
0 Kudos
Message 12 of 13
(303 Views)

Nondescript for you maybe but you should have provided the error code. My guess is that error is coming from the fact that you wired an invalid value to the sample mode input. A value of 10123 samples would also be inappropriate. With a rate of 1Sample/sec, it would take 10123 seconds for the data to be acquired. Do you really want to wait that long?

 

Maybe if you would explain exactly how you want to acquire data - single sample, continuous and hardware timed, finite and hardware timed, time between samples, etc.

0 Kudos
Message 13 of 13
(298 Views)