National Instruments 321645c-01 用户手册

下载
页码 554
Chapter 2
Function Reference — SCXI_Get_Module_Info
NI-DAQ FRM for PC Compatibles
2-338
©
 National Instruments Corporation
SCXI_Get_Module_Info
Format
status = SCXI_Get_Module_Info (SCXIchassisID, moduleSlot, modulePresent,
operatingMode, DAQdeviceNumber)
Purpose
Returns configuration information for the given chassis slot number.
Parameters
Input
Output
Parameter Discussion
modulePresent indicates what type of module is present in the given slot.
–1:
Empty slot; there is no module present in the given 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.
Name
Type
Description
SCXIchassisID
i16
logical ID assigned to the SCXI chassis
moduleSlot
i16
chassis slot number
Name
Type
Description
modulePresent
i32
type of module present in given slot
operatingMode
i16
multiplexed or parallel mode
DAQdeviceNumber
i16
device number of the DAQ device that is 
cabled to the module