Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

my application give an error "Hardware-Timed, Non-Buffered Analog Acquisition"

Hello,

my application give an error "Hardware-Timed, Non-Buffered Analog Acquisition is not available for the selected channels".So,please telll me the nature and solution for the problem.I have attached the vi and the details of the vi withis post.So,please solve my problem.

Regards,

Pradeep

Download All
0 Kudos
Message 1 of 5
(3,093 Views)

You can only have a single HW-timed AO task running at once.  You can reference multiple channels within a task by using notation such as Dev1/ao0:3

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 5
(3,091 Views)

Are you trying to do Acquisition or Generation?  The code you attached shows only Analog Output Tasks.  See here for an example of Continuous Analog Input.  You can reference multiple AI channels the same way as you would reference multiple AO channels (e.g. using the notation Dev1/ai0:3).

 

 

Best Regards,

John Passiak
0 Kudos
Message 3 of 5
(3,087 Views)

Hello,

Thanks for the reply . But I need to generate 4 signals from the DAQ at the same time.So,please tell me how to do it.  When I tried to do so, I got an error as

"Hardware-Timed, Non-Buffered Analog Acquisition is not available for the selected channel"  while executing.

Regards,

Pradeep.

0 Kudos
Message 4 of 5
(3,070 Views)

You need to combine all AO channels into a single task.  You reference the multiple channels like I mentioned earlier, and use the N channels variant of DAQmx Write so you can write to multiple channels at once.

 

The following example may or may not be what you need to do, but it does show how to write multilpe channels to the same task:

 

Update Multiple Channels of AO On-The-Fly

 

 

Best Regards,

John Passiak
0 Kudos
Message 5 of 5
(3,067 Views)