System Information Functions; Getmoduletype - ICP DAS USA MP-8 43 Series Function Reference

Hide thumbs Also See for MP-8 43 Series:
Table of Contents

Advertisement

2.2 System Information Functions

2.2.1 GetModuleType

Description:
This function is used to retrieve the type of i8000 series I/O module plugged
into a specific I/O slot in the PAC system. This function performs a supporting
task in the collection of information relating to system hardware configurations.
Syntax:
int GetModuleType(int
Parameter:
slot :
Return Value:
Module Type: it is defined in the following table.
_PARALLEL
_SCAN
_32BIT
_DI32
_DO32
_DI16DO16
_DI16
_DO16
_DI8DO8
Example:
int
slot=1,moduleType;
moduleType=GetModuleType(slot);
//The i-8057x card is plugged in slot 1 of PAC and has a return Value of:0xC0
Remark:
http://www.icpdas.com
slot)
[Input] Specify the slot number in which the I/O module is
plugged into.
Type
MP-8x43 Function Reference V 1.0
++
[C
]
HEX Value
0x80
0x40
0x20
0xE3
0xE0
0xE2
0xC3
0xC0
0xC2
13 

Advertisement

Table of Contents
loading

Table of Contents