LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

acquire data without sampling rate using DAQ?

Is there any way to acquire data using DAQ without sampling rate?

0 Kudos
Message 1 of 9
(2,669 Views)

Are you looking for this example?

C:\Program Files\National Instruments\LabVIEW 201x\examples\DAQmx\Analog Input\Voltage - SW-Timed Input.vi

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
Message 2 of 9
(2,644 Views)

Could you please post that link?

0 Kudos
Message 3 of 9
(2,639 Views)

In that channel settings, is that possible to add physical channels instead of 1?

0 Kudos
Message 4 of 9
(2,637 Views)

Dev1/ai0:2

 

or

 

Dev1/ai0, Dev1/ai3

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 5 of 9
(2,635 Views)

I cannot understand why do you want the link.

It's just file path.

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 6 of 9
(2,634 Views)

@akv103 wrote:

Could you please post that link?


In LabVIEW, open the Example Finder (Help->Find Examples).  Look through the DAQmx->Analog Input and you will find this example.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 7 of 9
(2,621 Views)

In that also have to specify the sampling rate in "Acquire data" section.

Is there any alternative for this?

I need to acquire 2 channels of input from DAQ without specifying sampling rate.

Is there any solution for this?

0 Kudos
Message 8 of 9
(2,590 Views)

Hi vim,

 

In that also have to specify the sampling rate in "Acquire data" section.

No, that example does NOT ask for a (DAQmx) sample rate!

It asks for the loop iteration rate (aka loop time): that's how the example works.

 

You can learn from that example on how to setup a DAQmx task and read samples without setting an explicit sample rate. Adapt with your own algorithm: apparently you want to read more than just one sample, so you will employ a loop with a certain loop iteration rate!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 9
(2,587 Views)