07-27-2009 11:49 AM
Hello!
My setup:
NI USB-6008
NiDaqMxBase
Linux OpenSUSE 11.0 on netbook Toshiba NB200
Analog input and digital output work fine.
But when I compile and run analog output tasks samples/ao/contGeneration.c and contGenVoltNonRegen.c the following error is returned:
DAQmxBase Error: <err>Specified property is not supported by the device or is not applicable to the task.
Sample program samples/ao/genVoltage.c works fine.
Could anybody help me with that, please?
Vadim.
07-27-2009 12:18 PM
Just one notice. When Iplayed with genVoltage.c (set voltage and quit), I found that it generates differential voltage on terminals AO0 and AO1.
07-28-2009 07:18 AM
After reading USB-6008 documentation I realized, that it does not support signal generation, just level.
I still can not understand how to configure AO for non-differential output.
07-28-2009 03:32 PM
Hi, Vadim.
The analog output is referenced to ground for the USB-6008. Check out the Analog Output Circuitry on page 19 of the USB-6008 Specifications manual. There is no need to configure for non-differential mode.
You are correct in that the USB-6008 does not support continuous analog generation. This is a limitation of the DAC associated with the analog output circuitry; the DAC will only accept software-timed updates of up to 150 Samples/sec. For more information regarding this limitation, refer to the USB-6008/6009 Continuous Analog Output Knowledgebase.
Let me know if you need any more information. I hope you're having a great day!