8.4.2Rules of Naming File and Directory Pathname72
8.5Details about Command and Option73
8.6Command of FCHKCE74
8.6.1Generation of List File74
8.6.2Comparison by List File75
8.7Format of List File76
8.8Syntax Analysis of Script File77
8.9Error Messages/Codes79
8.10Restriction80
8.11Details of Command and Option81
FCHKCE /G81
FCHKCE /C83
Microsoft, MS-DOS, and Windows are registered trademarks of Microsoft Corporation in the USA.
Other company, product and service names used in this manual may also be trademarks or service marks of
respective companies.
3
Preface
This manual describes the C language-dedicated library functions and utilities that run on the CASIO
PA-2400W (hereinafter referred to as "H/PC", which stands for Handheld PC).
The PA-2400W uses the Windows CE operating system (Ver. 2.11), and uses the Win32 API functions to
generate user application programs. However, more functions may be required if generating a business
application, etc.
The C language-dedicated library functions and utilities described in this manual are used to support
functions that are not supported by the API functions.
Information about the Win32 API functions can be retrieved using the Help function in the Windows
95 system .
Win32 API Function
C language dedicated library, utility
(I/O bootup, FLCE, FCHKCE)
Available from
Microsoft
Available from
CASIO
4
1. Supported Files
The following files will be supported by the C-library functions and utilities described in this manual.
ApoCountRese t
SoftReset
SetPowerOnAlarm
GetPowerOnAlarm
SetPowerEventStat
GetPowerEventStat
Turns on the backlight.
Turns off the backlight.
Acquires the status of the backlight.
Turns off the power after completion of access to card.
Disables power off with the power button.
Enables power off with the power button.
Acquires the status of enable/disable power off with the
power button.
Resets the APO’s counter.
Performs soft-reset (warm-bootup).
Enables or disables power on with the alarm.
Acquires the status of enable/disable power on with the
alarm.
Enables or disables power-on notification.
Acquires the status of enable/disable power-on notification.
Starts up the SIPanel.
Displays the SIPanel on the LCD screen or erases it from
the screen.
I/O Bootup Library
Iobox1.lib
Iobox1.h
iobox_chkChecks the condition of connection between PA-2400W
and I/O Box, and acquires a result of the status.
Iobox1.dll
File Transfer Utility
FLCE.EXEExecution file
SND.LNKShortcut for PA-2400W-to-PA-2400W communication
RCV.LNKShortcut for PA-2400W-to-PA-2400W communication
IDLE.LNKShortcut for idle
File Check Utility
FCHKCE.EXEExecution file
MAKE.LNKShortcut for PA-2400W-to-PA-2400W communication
CHECK.LNKShortcut for downloading AP
5
Notes:
py
1. Since the “SIPanel.dll” and “SIPanel.exe” in English version are pre-installed in the ROM, you do not
need to install it every time you use the software input panel. However, if you use other language
versions of the SIPanel, you need to replace them.
2. Each library function or utility command can be made available to the user when the DLL/EXE file is
copied into the Windows directory on the PA-2400W (see the figure below).
Host PC
PA-2400W
Co
Fig. 1.1 System configuration
6
1.1 Dedicated Library and Utility
1.1.1 System Library
Table 1.2
No.FunctionDescriptionPage
CA_BacklightOn
1
CA_BacklightOff
2
CA_BacklightCheck
3
SyncPow e r O f f
4
DisablePowerOff
5
EnablePowerOff
6
StatusPowerOff
7
ApoCountReset
8
SoftReset
9
SetPowerOnAlarm
10
GetPowerOnAlarm
11
SetPowerEventStat
12
GetPowerEventStat
13
Turns on the backlight.11
Turns off the backlight.12
Acquires the status of backlight.13
Turns off after completion of access to a card.14
Disables power off with the power button.15
Enables power on with the power button.16
Acquires the status of enable/disable power off with the
power button.
Resets the APO’s counter.18
Resets the system and then starts up warm bootup.19
Enables or disables automatic power on with the alarm.20
Acquires the status of automatic power on with the alarm.21
Enables or disables power on event notification.22
Acquires the status of enable/disable power on event
notification.
17
24
1.1.2 SIPanel Library
Table 1.3
No.FunctionDescriptionPage
SIP_ExecutePanel
1
2
SIP_Sh ow Pa n e l
Starts up the SIPanel.27
Displays the SIP or erases it from the LCD screen.28
1.1.3 I/O Bootup Library
Table 1.4 I/O Bootup library function
No.FunctionDescriptionPage
iobox_chk
1
Monitoring the connection status of PA-2400W with I/O Box36
7
1.1.4 File Transfer Utility
Table 1.5 File transfer utility
No.CommandDescriptionPage
1FLCE /YCommunication environment setup/Idle start58
2FLCE /SFile transmission59
3FLCE /RFile reception60
4FLCE /AFile transmission (append)61
5FLCE /DFile deletion62
6FLCE /NFile move/F il e name m odifi ca tion63
7FLCE /TTime transmission64
8FLCEIdle start65
1.1.5 File Check Utility
Table 1.6 File check utility
No.CommandDescriptionPage
1FCHKCE /GGeneration of a list file81
2FCHKCE /CComparison of list files83
8
2. Development Environment
Your own application program can be developed by implementing the CASIO’s dedicated library functions
and utility commands listed in the previous pages under the following software development environment.
Microsoft Visual C/C++ version 6.0
Microsoft Windows CE Toolkit for Visual C/C++ 6.0
Windows CE version 2.11 SDK (US version)
9
3. System Libr ary
3.1 Overview
This System Library functions can provide you with various dedicated functions such as backlight control,
power OFF supplement control, power-ON control with alarm, etc.
These functions to be described in the next pages are developed only for the PA-2400W and therefore not
guaranteed for use with other hardware platforms. Also, please note that it is not a Windows CE generalpurpose library.
10
3.2 Details of Function
g
TitleFunction
Turns on the backlight. If this function is called while the backlight is already on, nothing will happen.
C Language Interface
Calling Sequence
BOOL CA_BacklightOn ()
Parameters
Return Values
Header
Remarks
The automatic backlight off will be remained active after this function is called. Duration of the automatic
backli
at the control panel, the function cannot be activated.
During an event of low battery, the backlight still can be turned on. However, because of inrush current at
a time of turning on the backlight, the power of PA-2400W may be turned off. Always observe the battery
condition before activation of the backlight.
None
TRUE: Normal end
#include <CasioSys.h>
ht off can be set at the control panel. For example, if the automatic backlight off is se t to “disa bl e mo de”
CA_BacklightOn
11
TitleFunction
Turns off the backlight.
C Language Interface
Calling Sequence
BOOL CA_BacklightOff()
Parameters
None
Return Values
TRUE: Normal end
Header
#include <CasioSys.h>
Remarks
This function can turn off the backlight which is turned on by a keyboard operation.
CA_BacklightOff
12
TitleFunction
Acquires the status of the backlight if it is set to on or off.
C Language Interface
Calling Sequence
BOOL CA_BacklightCheck()
Parameters
None
Return Values
TRUE: Backlight is on.
FALSE: Backlight is off.
Header
#include <CasioSys.h>
Remarks
CA_BacklightCheck
13
TitleFunction
Turns off the power after access to an installed card is complete.
C Language Interface
Calling Sequence
BOOL SyncPowerOff()
Parameters
None
Return Values
TRUE: Normal end.
Header
#include <CasioSys. h>
Remarks
SyncPow e r Of f
14
TitleFunction
DisablePowerOff
Disables power-off with the power button. This setting is cleared when the power is turned on.
C Language Interface
Calling Sequence
BOOL DisablePowerOff()
Parameters
None
Return Values
TRUE: Normal end.
Header
#include <CasioSys. h>
Remarks
15
TitleFunction
Enables the power to be turned off with the power button.
C Language Interface
Calling Sequence
BOOL EnablePowerOff()
Parameters
None
Return Values
TRUE: Normal end.
Header
#include <CasioSys. h>
Remarks
EnablePowerOff
16
TitleFunction
StatusPowerOff
Acquires the status of “enable/disable the power to be turned off with the power button”.
C Language Interface
Calling Sequence
BOOL StatusPowerOff()
Parameters
None
Return Values
FALSE: Disable “the power to be turned off with the power button.”
TRUE: Enable “the power to be turned off with the power button.”
Header
#include <CasioSys. h>
Remarks
17
TitleFunction
ApoCountReset
Resets the counter of APO time.
By calling this function before elapse of the APO time set at the control panel, APO can be disabled.
C Language Interface
Calling Sequence
BOOL ApoCountReset()
Parameters
None
Return Values
TRUE: Normal end.
Header
#include <CasioSys. h>
Remarks
18
TitleFunction
SoftReset
Resets the system. After this function is called, a worm-bootup is performed.
C Language Interface
Calling Sequence
void SoftReset()
Parameters
None
Return Values
None
Header
#include <CasioSys. h>
Remarks
When this function is called, a warm-bootup is immediately performed. This will cause file and data being
accessed to be erased. All files and devices being currently opened must be closed before this function is
activated.
19
TitleFunction
SetPowerOnAlarm
Enables or disables “the automatic power-on to be activated with the alarm”.
C Language Interface
Calling Sequence
BOOL SetPowerOnAlarm ( BOOL bMode);
Parameters
BOOL bMode
FALSE: Disables “automatic power-on with the alarm”.
TRUE: Enables “automatic power-on with the alarm”. (default)
Return Values
TRUE: Normal end
FALSE: Internal error
Header
#include <CasioSys. h>
Remarks
Related operations to the “automatic power-on” after this function is implemented are as follows.
Table 3.1
Setup of
“SetPowerOnAlarm”
disable d
enabled
Setup at Control
panel
When the power of PA-
2400W is turned on
When the power of PA-
2400W is off
Alarm offAlarm cannot be activated.No “automatic power-on”“automatic power-on”
Alarm onAlarm can be activated.No “automatic power-on”
Alarm offAlarm cannot be activated.No “automatic power-on”“automatic power-on”
Alarm onAlarm can be activated.Yes “automatic power-on”
20
TitleFunction
GetPowerOnAlarm
Acquires the status of “automatic power-on with the alarm” if it is disabled or enabled.
C Language Interface
Calling Sequence
BOOL GetPowerOnAlarm()
Parameters
None
Return Values
TRUE: Enable “automatic power-on with the alarm”.
FALSE: Disable “automatic power-on with the alarm”.
Header
#include <CasioSys. h>
Remarks
21
TitleFunction
Sets “power-on event notification” enabled or disabled.
In this chapter, the SIPanel which is executed on the Windows CE Ver.2.11 (on PA-2400W), and the DLL
(Dynamic Link Library) which is called from a user application are described.
Fig. 4.1 System configuration (Windows CE Ver. 2.11)
User
application
SIPANEL.DLL
SIPANEL.EXE
Operation of this library requires the following files:
Table 4.1
File Name Operation environment Description
sipanel.dll Windows CE ver. 2.11 (SH3) Execution management library for starting up SIPanel
sipanel.exe Windows CE ver. 2.11 (SH3) Execution program for starting up SIPanel
Use the following files if developing a user application that controls the SIPanel with the execution
management library of this system.
Output to windows
with forcus
SIPanel
keyboard screen
Input by tapping
Table 4.2
File Name Operation environment Description
sipanel.lib
sipanel.h
Windows CE ver. 2.11 (SH3) Import library and header file for calling sipanel.dll
25
Loading...
+ 58 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.