Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How detect default input mode for a device from VB?

How can I programtically detect the default input mode (i.e. differential, single-ended, etc.) for a device using VB6.
0 Kudos
Message 1 of 4
(2,822 Views)
FJS,

The following property can be used to determine the configured input mode for an analog input channel (I am assuming that you are using the CW ActiveX controls, as opposed to the NI-DAQ function calls):

Mode = CWAI1.Channels(1).InputMode

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 4
(2,822 Views)
Spencer S,

Thanks for the answer. When I use the Channels.InputMode property it just returns 'Default Mode' which means it is using the default mode configured with the Measurement and Automation Explorer. Is there any way to detect the default mode as configured in the M&A Explorer?

Thanks,
Fred
0 Kudos
Message 3 of 4
(2,822 Views)
Unfortunately, this is not possible with either the CW ActiveX controls or the Traditional NI-DAQ functions.

Spencer S.
0 Kudos
Message 4 of 4
(2,822 Views)