LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting traditioanl DAQ to DAQmx

Hi there,

  I am working on converting the code which used traditional DAQ to the DAQmx. I am reading this help https://www.ni.com/en/support/documentation/supplemental/06/transition-from-traditional-ni-daq--lega... my old code pretty similiar to the case of Analog Output but after AO Start, I use AO Control to pause the operation, I will resume the output operation at some stage later. To use the DAQmx instead, following the same example as shown in the link, I first create the task, and write the data to the buffer and then start the task. I wonder

 

1) should I always write the data before AO Start?

2) what is the similar vi like AO Control used in traditional DAQ? I didn't see anything like that in the panel

0 Kudos
Message 1 of 2
(2,425 Views)

 

Hi dragondriver,

 

I have some information that might help answer your questions:

 

  1. Not necessarily. You can find more information about when to explicitly call Start Task here: https://www.ni.com/docs/en-US/bundle/ni-daqmx/page/startfunction.html
  2. There is no direct analog of the Traditional DAQ AO Control in DAQmx. Instead, that functionality is covered in other VIs. Here is an example: https://forums.ni.com/t5/Multifunction-DAQ/DAQ-MX-version-of-Traditional-Ni-DAQ-s-quot-AO-Control-vi...

 

You might also find these documents helpful:

https://www.ni.com/en/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-handl...

https://www.ni.com/en/support/documentation/supplemental/06/answers-to-frequently-asked-questions-ab...

 

Regards,

Kelsey Johnson

Applications Engineering

National Instruments

 

Message 2 of 2
(2,369 Views)