10-01-2008 03:12 AM
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,
10-01-2008 08:16 AM
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
10-01-2008 11:40 AM - edited 10-01-2008 11:41 AM
10-01-2008 11:58 AM
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
10-01-2008 12:34 PM - edited 10-01-2008 12:35 PM
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