LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Verfiy code that saves data

I am acquiring data from 1 channel only.
I need to save that to a spreadsheet file.
I want to verify that my code for saving is accurate.
Sampling rate = 1000
Number of sample per channel = 1000
I have acquired data for 10 minutes.
how many data points should I except in the text file.

Is it

samplingrate* time of acquisition

or

samplingrate*number of samples* time of acquisitoon.

I am confused about the 'number of samples per channel' .

Does this mean that each time the channel is scanned it is actually reading 1000 samples!...so in one second it is reading 1000*1000 samples!..

I know i must be wrong...so please clarify..
thanks
aspired
0 Kudos
Message 1 of 2
(2,293 Views)
Hi,

Here's a description:
  • "Sample" = One value from one channel

  • "Sampling Rate" = Number of samples per second

  • "Number of Samples per Channel" = Number of samples per channel for every reading from the buffer. This is used when performing Continuous Acquisition so LabVIEW doesn't have to read the buffer from the DAQ card for every sample, but can wait until the buffer has acquired a certain amount of data.

This means that the text file will contain
[Sampling Rate] * [Time]
number of Samples.

Best regards,
Philip C.
National Instruments
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 2
(2,293 Views)