Hitachi HF-W6500 60 Manual page 128

Industrial computer
Table of Contents

Advertisement

6. LIBRARY FUNCTIONS
(2) Application status code clear function (TurnOff7seg)
<Name>
TurnOff7seg - Turning off an application status code
<Syntax>
#include <ctrl7seg.h>
BOOL TurnOff7seg(VOID);
<Description>
This function clears the application status code currently displayed on the status display
digital LEDs. When this function is called, the status display digital LEDs are turned off.
<Diagnosis>
If this function completes successfully, the function returns TRUE. If this function terminates
with an error, the function returns FALSE.
When this function terminates with an error, call the GetLastError Windows API function to
get the error code. Error codes returned by this function on its own are as follows.
Error code (value)
CTRL7SEG_INTERNAL_ERROR
(0x2002)
Other error codes come from the Windows API functions used by this function. For details
about those error codes, refer to the Windows API help.
<Sample program>
We provide a sample program that uses this function in C. For information about the name of
the sample program and where you can find it, see "6.2 Sample Programs".
Description
An internal error has been generated.
6-24

Advertisement

Table of Contents
loading

Table of Contents