User manual
Chapter 3 Software Overview
© National Instruments Corporation 3-127 NI-DAQ User Manual for PC Compatibles
Digital Applications
If you configured your digital or relay modules for multiplexed mode,
use the
SCXI_Set_State
and
SCXI_Get_State
functions to access
your digital or relay channels.
If you are using the SCXI-1160 module, you might want to use the
SCXI_Get_Status
function after calling the
SCXI_Set_State
function.
SCXI_Get_Status
tells you when the SCXI-1160 relays have finished
switching.
If you are using the SCXI-1162/HV module,
SCXI_Get_State
reads
the module input channels. For the other digital and relay modules,
SCXI_Get_State
returns a software copy of the current state that NI-DAQ
maintains. However, if you are using the SCXI-1163/R in parallel mode,
SCXI_Get_State
reads the hardware states.
If you are using the SCXI-1162/HV or SCXI-1163/R in parallel mode,
you can use the SCXI functions as described above, or you can call the
DIG_In_Prt
and
DIG_Out_Prt
functions using the correct DAQ device
port numbers that correspond to the SCXI module channels. The respective
chapters on the DIO-96, DIO-24, AT-MIO-16DE1-10, 6025E, and
DIO-32F and 653Xs devices in the DAQ Hardware Overview Guide list
the onboard port numbers used for each device type if the SCXI-1162/HV
or SCXI-1163/R is configured for parallel mode. The MIO and AI devices,
Lab-PC+, and SCXI-1200 cannot use the SCXI-1162/HV or the
SCXI-1163/R in parallel mode.










