Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Some problems with PCI-6014 DAQ

I cannot show the waveform n error message pop up saying tat:

Possible reason(s):

Attempted to read a sample beyond the final sample acquired. The acquisition
has stopped, therefore the sample specified by the combination of position
and offset will never be available.

Specify a position and offset which selects a sample up to, but not beyond,
the final sample acquired. The final sample acquired can be determined by
querying the total samples acquired after an acquisition has stopped.

Attempted to Read Sample: 1000

Property: RelativeTo
Corresponding Value: Current Read Position

Property: Offset
Corresponding Value:

 

anyone that can help??

Thnks in advance!!

0 Kudos
Message 1 of 3
(3,057 Views)

Sorry forgot to attach this...

Im so despo for u all to help me on this.....

Gonna have a breakdown soon 😞

0 Kudos
Message 2 of 3
(3,055 Views)
Hello Zura85,
The reason you are getting that error is that you have a finite acquisition set up and you are reading more samples than the task thinks it is supposed to read.  There are two inputs to the DAQmx Timing VI that determine 1) If the task is finite or continuous and 2) How many samples to read.  Left unwired, this will result in a finite acquisition, reading 1000 samples.  It looks like you want a continuous analog acquisition.  There a bunch of great examples of this that install right into LabVIEW when NI-DAQmx is installed.  They can be found in LabVIEW by going to Help>>Find Examples.  Then navigate to Hardware Input and Output>>DAQmx>>Analog Measurement>>Voltage.  I suggest looking at "Cont Acq&Graph Voltage-Int Clk.vi"  That example should be what you are looking for.  Hope this helps!
-Alan A.
0 Kudos
Message 3 of 3
(3,040 Views)