Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

give a02 or apfi1 as offset to ao0 on pxi6289 using labview+daqmx

Solved!
Go to solution
Hi! 
How can I give a02 or apfi1 as offset to ao0 on PXI6289 using labview and daqmx.
 
This is mentioned in the manuals but I am not able to route the same as the ioterminals pertaining to these are not available as routable.
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.
Ditto for APFI1.
 
Thanks,
Aditya. 
0 Kudos
Message 1 of 3
(3,085 Views)
Solution
Accepted by topic author aditya gilra

Hi Aditya,

 

DAQmx Connect Terminals is intended for low-level routing of digital signals, and is not supported for configuring the external analog offset on the NI 628x AO channels.

 

To configure the external analog offset,  add a DAQmx Channel property node to your application in order to set the following properties on the task:

AO.DAC.Offset.src=External

AO.DAC.Offset.Extsrc="/Dev1/ao2" or "/Dev1/APFI0"

AO.DAC.Offset.Val = the offset in volts

 

Brad

---
Brad Keryan
NI R&D
Message 2 of 3
(3,070 Views)

Thanks Brad!

 

Works like a peach... 

Had tried DAQmx Channel property node but was only setting the src and Extsrc for A0.DAC.Offset. Didn't realise that Val was also needed....

Of course mine is a PXI based card so had to give /PXI1Slot2/AO2

 

Kudos,

Aditya. 

0 Kudos
Message 3 of 3
(3,060 Views)