LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AI Sample Channel VI or AI Acquire Waveform VI

I am a building a simple voltmeter.vi using NI-DAQ 6025E card and LV 6.0. I am a bit confused. Shall I use the AI Sample Channel VI or the AI Acquire Waveform VI? What's the difference? Both should give me a voltage reading.
0 Kudos
Message 1 of 6
(4,232 Views)
Use whichever one you want. One returns a single sample and the other returns a waveform. Again, this sort of simple stuff can be found in the on-line help.
Message 2 of 6
(4,221 Views)
It depends what you want to measure: -
 
If its a D.C. (unchanging) signal or very nearly D.C. then a single point measurement will suffice, its easy to implement saves bandwidth and processing.
 
If its A.C. and RMS measurement then you will need a cycle of data at whatever frequency the signal is at for a measurement, possibly more to allow for filtering and higher frequencys, more bandwidth required and higher programming overhead. The waveform aquire process samples continously for a set number of samples to ensure consitency of sampling interval.
 
 
 
0 Kudos
Message 3 of 6
(4,216 Views)
Hi LabVIEW1958,
      Even if it's "DC" you're measuring, you may want to collect multiple points (a waveform) and calculate an average.  For instance, if you're collecting thermocouple data, the random per-measurement error might be a "large" precentage of the measurement (like several mV on a 50mV measurement).  Averaging, say 1000 points, @5KHz could help lots!
When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 4 of 6
(4,204 Views)

Hi, I'm trying to run a Labview programme someone sent me but it is missing the AI Acquire Waveform VI. Could you send me the AI Acquire Waveform VI. Thanks

0 Kudos
Message 5 of 6
(3,171 Views)

Hi FreshPresh,

 

it doesn't make sense to ask in a 12 year old thread…

Those functions mentioned in these very old posts doesn't exist anymore. They were used in the "Traditional DAQ" driver, but now we use the DAQmx driver. See this appnote to learn about the functions to use…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 6
(3,168 Views)