Download Toshiba Computer Module C2/C3 Windows NT Version User`s Manual

Transcript
Chapter 2 I/O Bus Support Software
2.9.12 IobusGetDiagInfo
BOOL
IobusGetDiagInfo (
2
HANDLE
hDevice,
LPWORD
lpwResults
);
Gets results of module diagnosis.
Parameters:
hDevice
The driver handle gotten by CreateFile.
lpwResults
Arrangement area to store diagnostic results
Results one word per unit are stored in the following sequence.
Basic : Unit0
CH1 : Unit1
CH1 : Unit2
• • •
CH1 : Unit7
CH2 : Unit1
• • •
CH3 : Unit1
• • •
CH4 : Unit7
In each word, Bit 1 shows information for Module 1 and information of
Bit 0 to Module 0 is stored.
15
Mod15
1
0
Mod1
Mod0
Mod0 to Mod15: 0 (normal), 1 (abnormal, including not mounted yet)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: [email protected]
30
model 2000/3000 Computer Module C2/C3 Windows NT Version