Hello
you can do that using MAX and changing the properties of the device or if you need to do it programmatically, you can try the following:
Access the CWAIChannel object from the CWAI object. And once to get the handle on that, you can call the setinputmode method
CWAIChannel singleChannel=m_ai.GetChannels().Item(_variant_t(1.0));
//_variant_t is a helper class from comdef.h
//Set to NRSE
singleChannel.SetInputMode(3);
You can set the following values for the various modes
cwaiDefaultInputMode=0
cwaiDIFF=1
cwaiRSE=2
cwaiNRSE=3
I hope this helps
Bilal Durrani
NI
Bilal Durrani
NI