Programming instructions
Chapter 14 SCXI Hardware
©
National Instruments Corporation 14-17 DAQ Hardware Overview Guide
SCXI-1162 and SCXI-1162HV
The SCXI-1162 and SCXI-1162HV are 32-channel optically isolated
digital input modules. They accept 32 input signals from external
equipment and condition the signals for input to a DAQ device while
maintaining optical isolation from the host computer. The SCXI-1162
accepts 0 to +5 V digital signals; the SCXI-1162HV senses AC or DC
signals up to 250 V.
You can call the
SCXI_Get_State function to read the logical states of the
digital input lines on the module.
The SCXI-1162 and SCXI-1162HV modules support both multiplexed
(or serial) mode and parallel mode. You must set jumpers on the module
correctly for multiplexed or parallel mode. If you cable an MIO or
AI device, Lab-PC+, PCI-1200, or DAQCard-1200 to the SCXI-1162 or
SCXI-1162HV, you must set jumpers on the module to the MIO position.
If you cable a DIO device to the module, you must set jumpers on the
module to the DIO position. If you have not cabled any device to the
module and NI-DAQ will be using the SCXIbus backplane to communicate
with the module, the MIO/DIO jumpers are irrelevant.
If you are using remote SCXI, you can use the SCXI-1162 or
SCXI-1162HV with or without the SCXI-1200 DAQ module, because
NI-DAQ will communicate with the SCXI-1162 or SCXI-1162HV via the
backplane and through the serial port cable.
SCXI-1163 and SCXI-1163R
The SCXI-1163 and SCXI-1163R are 32-channel optically isolated digital
output modules. The SCXI-1163 makes available to external equipment up
to 32 digital outputs from a DAQ device while maintaining optical isolation
from the host computer and eliminating ground-loop problems. The
SCXI-1163R is functionally equivalent to the SCXI-1163 but incorporates
solid-state relays in place of the digital outputs. You can open or close each
relay independently.
You can call the
SCXI_Set_State function to control the digital output
lines or relays of the module. You can call the
SCXI_Get_State function
to obtain the current states of the module. It is important to remember that
SCXI_Get_State makes a hardware read only if the module is
jumper-configured for and operating in parallel mode. When operated in
serial mode, the driver retains the states of the digital output lines in
memory. Consequently, a hardware write must take place before you can
obtain the states on the module.










