Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog output from usb 6009

I am using usb 6009 and c# to program a DAQ applicaiton. I have the following questions:
 
1) For analog input, the test range is -10V to +10V. If the pin of DAQ detects the voltage out of the range -10v to +10v, how the DAQ responses? in DAQ function, there a error message popup or some other warning happens
2) For analog output, I know we can output voltage, could we output current? if usb 6009 can do that, what is range for this current output?
3) I will use linear scaling for my analog input, but I would like to display the voltage in the pin which means I want to display the acquired value before scaling, could I do that? and also I don't want to affect the performance of my application too much, what can I do?
4) About Ni-scope library, could I use DAQ to work on that, or I need some special hardware equipments for ni-scope?
 
Thanks a lot
0 Kudos
Message 1 of 2
(3,641 Views)
 

Hi YHong,

First off, I highly recommend looking at the specs in the USB-6009's user manual, especially the section called Specifications:
https://www.ni.com/docs/en-US/bundle/usb-6009-specs/page/specs.html

  1. Input Range on Analog Input (AI): If you go above the limits +/-10 V on the USB-6009, the reading of the voltage on the pins will basically cut off at +/-10 V. There are no error messages that come up.
    Also, going above the spec'd limits could result in damage to your DAQ board. In you look in the specifications, the USB 6009 has some level of overage protection, to +/-35V, but typically you shouldn't connect anything with more than +/-10 V to the device especially since the readings will cap off.
  2. The USB-6009 is not meant for current drive. According to the specifications, analog output current drive is 5mA. You cannot implicitly tell it to output a certain current.
  3. As far as I know, if you perform custom scaling on the DAQmx task itself, the only good way to display the original voltage is to reverse the math yourself in software. The other option is to configure the DAQmx task to just do a regular voltage reading without scaling and then do the scaling in software.
  4. The NI-Scope library is specific for our High Speed Digitizers and not for use with the USB-6009. To use the USB-6009, you would just use the NI-DAQmx driver.
    There are examples for using NI-DAQmx in Measurement Studio under Start»Programs»National Instruments»Measurement Studio».NET Examples.

Also, for further reference, most of these questions are specific to the hardware itself and so you might get a better response if you post to the Multifunction DAQ board.

Hope this helps!

Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 2 of 2
(3,635 Views)