取消
显示结果 
搜索替代 
您的意思是: 

acquire data without sampling rate using DAQ?

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

0 项奖励
1 条消息(共 9 条)
3,618 次查看

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
2 条消息(共 9 条)
3,593 次查看

Could you please post that link?

0 项奖励
3 条消息(共 9 条)
3,588 次查看

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

0 项奖励
4 条消息(共 9 条)
3,586 次查看

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 项奖励
5 条消息(共 9 条)
3,584 次查看

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 项奖励
6 条消息(共 9 条)
3,583 次查看

@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.



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
7 条消息(共 9 条)
3,570 次查看

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 项奖励
8 条消息(共 9 条)
3,539 次查看

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 项奖励
9 条消息(共 9 条)
3,536 次查看