National Instruments Welding System 321645c-01 Manual De Usuario

Descargar
Página de 554
Chapter 2
Function Reference — SCXI_Set_Config
NI-DAQ FRM for PC Compatibles
2-358
©
 National Instruments Corporation
3:
VXI-SC-1000 carrier module.
4:
PXI-1010 chassis.
chassisAddress is the hardware jumpered address of an SCXI chassis.
Range:
0 to 31.
commMode is the communication mode that will be used when the driver communicates 
with the SCXI chassis and modules.
0:
Communication mode is disabled. In effect, this disables the chassis.
1:
Enables serial communication through a digital port of a DAQ device that is 
cabled to a module in the chassis.
2:
Enables serial communication through the parallel port cabled to an SCXI-1200 
in the chassis.
4:
Enables serial communication over the VXI backplane.
5:
Enables serial communication through a digital port of a DAQ device internally 
connected to the SCXIbus of a PXI-1010 chassis.
commPath is the communication path that will be used when the driver communicates with 
the SCXI chassis and modules. When commMode = 1, 2, 4, or 5, set the path to the device 
number of the DAQ device that is the designated communicator for the chassis. If only one 
DAQ device is connected to the chassis, set commPath to the device number of that device. 
If more than one DAQ device is connected to modules in the chassis, you must designate one 
device as the communicator device, and you should set its device number to commPath
If commMode is 1 or 2, refer to the connectionMap array description; you should set 
commPath to one of the device numbers specified in that array. When commMode = 0, 
NI-DAQ ignores commPath.
numSlots is the number of plug-in module slots in the SCXI chassis.
4:
For the SCXI-1000 and PXI-1010 chassis.
12:
For the SCXI-1001 chassis.
modulesPresent is an array of length numSlots that indicates what type of module is present 
in each slot. The first element of the array corresponds to slot 1 of the chassis, and so on. 
–1:
Empty slot; there is no module present in the corresponding slot.
1:
SCXI-1126.
2:
SCXI-1121.
4:
SCXI-1120.
6:
SCXI-1100.
8:
SCXI-1140.
10:
SCXI-1122.
12:
SCXI-1160.
14:
SCXI-1161.
16:
SCXI-1162.
18:
SCXI-1163.
20:
SCXI-1124.