该内容不适用于您选择的语言

该内容将以另一种语言显示出来。 您可使用浏览器的翻译功能查看内容。

Continuous Analog Output Not Supported on USB-6008/6009

Updated Apr 24, 2023

Reported In

Hardware

  • USB-6008
  • USB-6009

Software

  • LabVIEW Full
  • LabVIEW Base
  • LabVIEW Professional

Driver

  • NI-DAQmx

Issue Details

Why does my continuous analog output task on my USB-6008/6009 return "Requested value is not a supported value for this property?"

Solution

Though the USB-6008/6009 can perform a continuous (clocked) analog input, it is not capable of providing a continuous analog output. This functionality is limited due to the digital to analog converter inside the device, which only accepts software-timed updates of up to 150 samples per second. This information can be found in the USB-6008/6009 device specifications under Analog Output >> Maximum Update Rate.

Additional Information

There are examples that demonstrate this behavior available for both LabVIEW and any ANSI C development environment. The locations for these examples are shown below.
  • LabVIEW 2012 and later: 
    Help»Find Examples...»Hardware Input and Output»DAQmx»Analog Output»Voltage - On Demand Output VI
  • LabVIEW 2011 and earlier: 
    Help»Find Examples...»Hardware Input and Output»DAQmx»Analog Generation»Voltage»Gen Mult Volt Updates-SW Timed VI
  • ANSI C, Windows 7: 
    C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog Out\Generate Voltage\Mult Volt Updates-SW Timed.c
  • ANSI C, Windows XP: 
    C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog Out\Generate Voltage\Mult Volt Updates-SW Timed.c

Note: The USB-6008/6009 has an analog output voltage of 0-5V. To prevent further errors, please change the Channel Parameters Minimum Value to 0.00 and Maximum Value to 5.00, along with changing the sine wave array from -2V to 2V to 0v to 4V.