From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6009

AK2DM : No, the program does not specify what type of the input/output terminal is, but this can be done quite easily by wiring a constant or a control to DAQmx Create Virtual Channel.vi which are the ones on the very left hand side.

 

Partha: If you couldn't get it working with the VI, try using the Test Panel in MAX, wire AI0 directly to AO0 with just a single wire and select the input configuration to RSE. Update the voltage on AO0 and see if you can get the corresponding reading on AI0 in the Test Panel.

 

Hope it helps,

Best regards,

Mark M.
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 11 of 15
(1,066 Views)

Mark,

          I updated the max and Min output values in " Analogue output" of test panel to 5 and 4V , then took the reading in analogue input for channel ai0. It gives a value of 1.4 V. ( Physically connected pin 2 with pin 14) 

 

Also in the "analog output", mode button only "DC value" is active, "sinewave generation" is inactive. Does it signify anything?

 

Best regards,

 

Partha

0 Kudos
Message 12 of 15
(1,045 Views)
Hi Partha,

Could you help me to check if you have selected RSE (reference single ended) in the Test Panels - Analog Input - Input Configuration in MAX? You also need to change the default Max and Min Input Limits from ± 20 V to ± 10 V or less.

For the reason why the Sinewave Generation option is inactive, this is due to the fact that USB-6009 and USB-6008 only support software-timed analogue output which can be found in the datasheets. To generate a continuous waveform with USB-6008/USB-6009, you will need to use a while loop with Wait Until Next ms Multiple.VI or similar mechanism to achieve it.
Message Edited by Mark M on 10-01-2008 05:41 PM
Message Edited by Mark M on 10-01-2008 05:41 PM
Best regards,

Mark M.
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 13 of 15
(1,032 Views)

Hello Partha,

 

The 6009 can only do software timed outputs so the sinewave generation is going to be inactive. See this Knowledge Base that talks a little more about this.

 

USB-6008/6009 Continuous Analog Output

 

 Also about reading the incorrect voltage. Make sure that you press the update button in the Analog Output Tab after you change your value. On the Analog Input tab make sure that RSE is selected as the Input configuration and then hit start. You should see the value that was set in the Analog Output. Let us know if this works for you!

 

Cheers!

 

Corby_B

http://www.ni.com/support 

0 Kudos
Message 14 of 15
(1,027 Views)

Hi Mark / Corby,

                          I did select the RSE in Test Panels - Analog Input - Input Configuration  and had adjused the max/min values to +/10 V. Forgot to mention that.

 

Best regards,

 

Partha

Message Edited by psdy on 10-01-2008 12:35 PM
0 Kudos
Message 15 of 15
(1,017 Views)