
6. LIBRARY FUNCTIONS
6-1
CHAPTER 6 LIBRARY FUNCTIONS
A user application can get and control the hardware status of this equipment by using the RAS
library.
6.1 RAS Library Interface
6.1.1 Overview
This chapter describes the interface to the functions provided by the RAS library.
Table 6-1 shows a list of RAS library functions.
Table 6-1 RAS Library Functions
No.
Function name
Use
DLL
1
BSSysShut
Shuts down the equipment.
hfbras.dll
2
WdtControl
Retriggers, gets the status of, and stops the watchdog timer.
3
MconWriteMessage
Records a specified message (characters) in this equipment’s
own log files.
4
hfbDiskStat
Acquires the status of the drive.
5
hfbRaidStat
Acquires the RAID status.
6
SetStCode7seg
Outputs an application status code on the status display digital
LEDs.
ctrl7seg.dll
7
TurnOff7seg
Clears an application status code on the status display digital
LEDs.
8
SetMode7seg
Configures the status display mode of the status display digital
LEDs.
Those functions mentioned above are offered in the DLLs (hfbras.dll and ctrl7seg.dll).
The functions offered by hfbras.dll and ctrl7seg.dll can be called from Visual Basic®. When
you call functions number 1 through 3 and 6 through 8 from Visual Basic®, add “_VB” to
the end of the name of each function. Function parameters are the same. For example, when
you call the WdtControl function from Visual Basic®, use the function name
“WdtControl_VB”.
The following files are provided as import libraries:
%ProgramFiles%\HFWRAS\lib\hfbras.lib
%ProgramFiles%\HFWRAS\lib\ctrl7seg.lib
When you use a library, link the corresponding import library.
The following files are provided as header files for the libraries:
%ProgramFiles%\HFWRAS\include\hfbras.h
%ProgramFiles%\HFWRAS\include\ctrl7seg.h
When you use a library in C, include the corresponding header file.
Summary of Contents for HF-BT1000
Page 1: ...BT 63 0004 01 ...
Page 2: ...BT 63 0004 01 ...
Page 15: ...This Page Intentionally Left Blank ...
Page 79: ...This Page Intentionally Left Blank ...
Page 103: ...This Page Intentionally Left Blank ...
Page 111: ...This Page Intentionally Left Blank ...