05-16-2009 06:26 AM
Hi!
The output range of PXI-6289 is spec-ed as +-11V.
I'd like to output 10.5V.
I'm able to set the ao0 offset in labview+DAQmx to 5V using a property node and setting AO.DAC.Offset.Val to 5V and also AO.DAC.Ref.Val to 10V
However if I write 10.5V using DAQmx Write, I get an error
Error -200561 occurred at DAQmx Write (Analog DBL 1Chan 1Samp).vi:2
Possible reason(s):
Measurements: Attempted writing analog data that is too large or too small.
Data: 10.566171
Specified Range Minimum: -5.000000
Specified Range Maximum: 10.000000
Is this the specified behaviour? Any solutions?
---------------------------------------------------------------------------------------------------------
Further, the manual states that I can internally route any ao output as offset of any other (except itself's).
I want to give a 6V offset from ao2 to ao0.
How do I do that in labview+DAQmx?
I tried DAQmx Connect Terminals but the source and destination terminal constants do not have the relevant io terminals.
Even MAX does not list ao0..3 or ao0..3 offsets as possible device routes.
----------------------------------------------------------------------------------------------------------
Also I'd like to know how to configure apfi1 as offset for ao0 (labview/daqmx).
If I give a 10V offset via apfi1 (i.e. external offset) and use internal Voltage Reference of +-10V, can I get a 0V to 20V output or am I still constrained by the 11V max output voltage spec of 6289.
-----------------------------------------------------------------------------------------------------------
Thanks in advance,
Aditya Gilra.