Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

analog output problem using USB-6009 on Linux

Hi All,

       

             I intend to use USB-6009 for continuous analog output generation on Linux. To this end I tried to run the example program ‘contGeneration.c’ , found in folder:

/usr/local/natinst/nidaqmxbase/examples/ao/contGeneration.c

Once I tried to run the exe, it gave me the following error message:

Daqmxbase error, specified property is not supported by the device or is not applicable by the task

I tried to change the min.max value of Analog input voltage range, or the no of samples per second, but to no avail.

Does the USB-6009 supports continuous analog output generation, and  if yes, how to proceed further ?.

Regards,

Adeel

 

0 Kudos
Message 1 of 4
(3,445 Views)
No, the 6009 only supports on-demand analog output. Since this is software timed, the frequency of the output is going to depend on the pc, the os, and how you write your program.
Message 2 of 4
(3,441 Views)

But, I think, that there is a possibility to make pauses between acquire and generation steps for specific machine and software to obtain ~expected frequency waveform.

 

Am I wrong?

0 Kudos
Message 3 of 4
(3,300 Views)

Hi Wojas,

          Like Dennis said, the 6009 only supports on demand  analog-output.  I think what you're looking to do it to put your on demand output inside a while loop so that it's outputing at the speed your processor will allow.  I would recommend checking out this link. This KnowledgBase addresses your issue as well.  Happy programming!

 

0 Kudos
Message 4 of 4
(3,272 Views)