Getnameofmodule - ICP DAS USA MP-8 43 Series Function Reference

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

Advertisement

2.2.2 GetNameOfModule

Description:
This function is used to retrieve the name of an i8000 series I/O module,
which is plugged into a specific I/O slot in the PAC system. This function
supports the collection of system hardware configurations.
Syntax:
int GetNameOfModule(int
Parameter:
slot:
string1:
Return Value:
I/O module ID. For Example, the I-8024x will return 24.
Example:
int
slot=1,moduleID;
char
moduleName[5];
moduleID=GetNameOfModule(slot, moduleName) ;
//The I-8057x card plugged in slot 1 of MP-8x43
//Returned Value: moduleID=57
Remark:
http://www.icpdas.com
slot,
[Input] Specify the slot number where the I/O module is
plugged into.
[Output] the pointer to a buffer to receive the name of the I/O
module.
moduleName="8057"
MP-8x43 Function Reference V 1.0
++
[C
]
char
*string1)
14 

Advertisement

Table of Contents
loading

Table of Contents