09-06-2006 07:26 PM
09-07-2006 05:08 PM
Simply by setting this parameter in your code you can set the configuration of the board to whatever you would like for your application. They won't even have to go into MAX to set up the device!AI_Configure
status = AI_Configure (deviceNumber, chan, inputMode, inputRange, polarity, driveAIS)
Purpose
Informs Traditional NI-DAQ (Legacy) of the input mode (single-ended or differential), input range, and input polarity selected for the device. Use this function if you have changed the jumpers affecting the analog input configuration from their factory settings. For devices without analog input configuration jumpers, this function programs the device for the settings you want.
Parameters
Direction Name Type Description Input deviceNumber i16 assigned by Measurement & Automation Explorer chan i16 channel to be configured inputMode i16 indicates whether channels are configured for single-ended or differential operation inputRange i16 voltage range of the analog input channels polarity i16 indicates whether the ADC is configured for unipolar or bipolar operation driveAIS i16 indicates whether to drive AISENSE to onboard ground
09-07-2006 06:03 PM
09-08-2006 09:45 AM