background image

81

8.11    Details of Command and Option

Title

Command

FCHKCE  /G

If the names of files to be transferred (copied) from the PA-2400W are specified, this command will create a list of
files to be transferred (copied) and a list file that contains the checksum data calculated from all the files to be
transferred. It also calculates the checksum data of this list file.

The maximum number of objective files that can be logged is 65,000.
The maximum size of a script file is 3,200 bytes.

C Language Interface

Calling Sequence

FCHKCE    /G [</Option>] <file name list or script file name > <Destination directory name >

[<FCHK.LOG file output directory name>]

(Parameters in [      ] can be omitted.)

Return Value

Return code    (refer to Chapter 8.9 “Error Messages/Codes”.)

Parameters

Option  /SC: Specification of a script file name

  The objective script file is specified by this parameter to indicate the file name.

FCHKCE.EXE will analyze the file names to be transmitted against the contents of this script file
and then create a list file.

                  /R: Specification of recursive call
                   

  All the files that exist under the directory specified by the parameter of the file pathname are used

as the objective of creating a list file. If the specified directory has sub-directories, files located in
them are also used as the objective of creating a list file.

                   

  The hierarchical directory system has a maximum depth of sixteen levels.

                   

  If this option is not specified, only files that are designated by the file names list can be the

objective of list file creation.

  /AO: Append output

                   

  If the FCHK.LOG file exists in the directory specified by [FCHK.LOG file output directory

name], log file will be created and appended to the FCHK.LOG file.

                   

  If the FCHK.LOG file does not exist in the directory specified by [FCHK.LOG file output

directory name], a new log file will be created. (However, if the specified directory itself does
not exist, this command will be abnormally terminated.)

                   

  This append output is achieved in such a simple way that a new list file is appended to the end of

existing list file. If part of the existing list file needs to be modified, create a list file again
instead of performing this append output.

File name list or Script file name

                 

  Describe the list of files to be transmitted (copied). These files should be located on the

transmission (copy) source side. As the last input parameter of this command describe the
destination directory name of the communication partner side. If the specified directory does not
exist, it will be automatically created under the specified name. If specifying multiple
transmission (copy) source file names, separate the pathnames with a space (1-byte).

                 

  A wild card can be used for file name.

                 

  If the “/SC” option is specified, also specify the pathname of the script file.

Summary of Contents for CASSIOPEIA PA-2400W

Page 1: ...PA 2400W C Library Manual Version 1 00 CASIO Computer Co Ltd Copyright 1999 All rights reserved July 1999 ...

Page 2: ...rm 20 GetPowerOnAlarm 21 SetPowerEventStat 22 GetPowerEventStat 24 Chapter 4 SIPanel Library 25 4 1 Overview 25 4 2 Use of SIPanel Library 26 4 3 Restrictions 26 4 4 Details of Function 27 SIP_ExecutePanel 27 SIP_ShowPanel 28 4 5 SIPANEL EXE 34 4 5 1 Overview 34 4 5 2 Options of Command Line 34 Chapter 5 I O Bootup Library 35 5 1 Overview 35 5 2 Function 35 5 3 Details of Function 36 iobox_chk 36 ...

Page 3: ...d 67 7 15 3 Restriction 68 Chapter 8 File Check Utility 69 8 1 Overview 69 8 2 List of Commands 69 8 3 Operation Method 70 8 4 Describing Method 72 8 4 1 Pathname 72 8 4 2 Rules of Naming File and Directory Pathname 72 8 5 Details about Command and Option 73 8 6 Command of FCHKCE 74 8 6 1 Generation of List File 74 8 6 2 Comparison by List File 75 8 7 Format of List File 76 8 8 Syntax Analysis of ...

Page 4: ... 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 Available from Microsoft Available...

Page 5: ...arm Acquires the status of enable disable power on with the alarm SetPowerEventStat Enables or disables power on notification CasioSys lib CasioSys h GetPowerEventStat Acquires the status of enable disable power on notification SIPanel Library SIP_ExecutePanel Starts up the SIPanel SIPanel lib SIPanel h SIPanel dll note 1 SIPanel exe for individual execution SIP_ShowPanel Displays the SIPanel on t...

Page 6: ...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 Copy Fig 1 1 System configuration ...

Page 7: ...the APO s counter 18 9 SoftReset Resets the system and then starts up warm bootup 19 10 SetPowerOnAlarm Enables or disables automatic power on with the alarm 20 11 GetPowerOnAlarm Acquires the status of automatic power on with the alarm 21 12 SetPowerEventStat Enables or disables power on event notification 22 13 GetPowerEventStat Acquires the status of enable disable power on event notification 2...

Page 8: ...ransmission 59 3 FLCE R File reception 60 4 FLCE A File transmission append 61 5 FLCE D File deletion 62 6 FLCE N File move File name modification 63 7 FLCE T Time transmission 64 8 FLCE Idle start 65 1 1 5 File Check Utility Table 1 6 File check utility No Command Description Page 1 FCHKCE G Generation of a list file 81 2 FCHKCE C Comparison of list files 83 ...

Page 9: ...y 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 ...

Page 10: ...ns 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 general purpose library ...

Page 11: ...c backlight off will be remained active after this function is called Duration of the automatic backlight off can be set at the control panel For example if the automatic backlight off is set to disable mode 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 backligh...

Page 12: ... 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 ...

Page 13: ...ck 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 ...

Page 14: ...on SyncPowerOff 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 ...

Page 15: ...f 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 ...

Page 16: ...tion EnablePowerOff 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 ...

Page 17: ...o 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 ...

Page 18: ...r 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 ...

Page 19: ...ce 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 ...

Page 20: ...l 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 Setup at Control panel When the power of PA 2400W is turned on When the power of PA 2400W is off Alarm off Alarm cannot be activated No automatic power on automatic power on disabled Alarm on Alarm can be activated No automatic ...

Page 21: ...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 ...

Page 22: ...nce BOOL SetPowerEventStat BOOL bMode Parameters BOOL bMode TRUE Enable power on event notification FALSE Disable power on event notification default Return Values TRUE Normal end FALSE Failure in opening registry Header include CasioSys h Remarks Settings by using this function remain active even after a RESET is performed ...

Page 23: ...ResetEvent hEventOn return 0 BOOL Initialize DWORD ThreadIDOn hEventOn CreateEvent NULL TRUE FALSE TEXT PA_OnEvent if hEventOn return FALSE hThreadOn CreateThread NULL 0 OnThread 0 0 ThreadIDOn if hThreadOn return FALSE return TRUE int WINAPI WinMain HINSTANCE hInstance HINSTANCE hPrevInstance LPSTR lpCmdLine int nCmdShow if Initialize MessageBox NULL TEXT Initialize Success TEXT Initialize MB_OK ...

Page 24: ...the status of power on event notification if it is enabled or disabled C Language Interface Calling Sequence BOOL GetPowerEventStat Parameters None Return Values TRUE Enable notification FALSE Disable notification Header include CasioSys h Remarks ...

Page 25: ...panel 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 Table 4 2 File Name Operation environment Description sipanel lib sipanel h Windows CE ver 2 11 SH3...

Page 26: ... the SIPanel must be rewritten to the following values The values can be changed with RegSetValueEx function of Win32API Key name LocalMachine Software Apps SIPManager SIPExeName sipanel exe SIPExeName a name of the dedicated program By having the registry values to be re written a user created program to start up the SIPanel can be also possible when the SIP button at upper left corner of the PA ...

Page 27: ...t only contains numeric keys N1 Adds numeric keys to the standard keyboard N0 Does not add numeric keys to the standard keyboard Initial condition default L1 Activates the Caps Lock key L0 Deactivates the Caps Lock key Initial condition default Px y Specifies the coordinates of the top left corner of the SIPanel x should be between 0 and 479 of the X axis coordinate and y should be between 0 and 2...

Page 28: ...alling Sequence int SIP_ShowPanel int iCmdShow Parameters int iCmdShow SIP_SHOW Displays the SIPanel if it is in the non display mode SIP_HIDE Hides the SIPanel if it is in the display mode Return Values SIP_NOT_FOUND SIPanel is not initiated SIP_SHOW SIPanel is being displayed SIP_HIDE SIPanel is hidden not displayed Header include SIPanel h ...

Page 29: ...t area SIP_ExecutePanel TEXT T1 N0 P0 0 S320 120 break case WM_DESTROY PostQuitMessage 0 return 0 return defWindowProc hwnd message wParam lParam InitApplication BOOL InitApplication HINSTANCE hInstance WINDCLASSW wc BOOL f wc style CS_HREDRAW CS_VREDRAW wc lpfnWndProc WndProc wc cbClsExtra 0 wc cbWndExtra DLGWINDOWEXTRA wc hInstance hInstance wc hIcon NULL wc hCursor NULL wc hbrBackground HBRUSH ...

Page 30: ...me NULL SIP_ExecutePanel TEXT return FLASE if hPrevInstance 0 if InitApplication hInstance FALSE return FALSE if InitInstance hInstance nCmdShow FALSE return FALSE lResult RegOpenKeyEx HKEY_LOCAL_MACHINE Open Registry TEXT Software Apps SIPManager 0 KEY_WRITE hKeyResult if lResult ERROR_SUCCESS return FALSE lResult RegSetValueEx hKeyResult Write Registry TEXT SIPExeName 0 REG_SZ unsigned char TsrN...

Page 31: ...T message WPARAM wParam LPARAM lParam switch message case WM_COMMAND if HIWORD wParam BN_CLICKED CallSip hWnd LOWORD wParam SetFocus heText break case WM_CREATE hbCallTen CreateWindow TEXT button TEXT Ten key WS_CHILD WS_VISIBLE BS_PUSHBUTTON 20 80 90 30 hWnd HMENU IDC_BTN_TEN HANDLE hInst NULL hbCallText CreateWindow TEXT button TEXT Text Area WS_CHILD WS_VISIBLE BS_PUSHBUTTON 120 80 90 30 hWnd H...

Page 32: ...APPED WS_SYSMENU 0 0 CW_USEDEFAULT CW_USEDEFAULT NULL NULL hInstance NULL if hWnd 0 Check whether values returned by CreateWindow are valid return FALSE if IsWindow hWnd TRUE return FALSE ShowWindow hWnd SW_SHOW UpdateWindow hWnd return TRUE Window handle hWnd is valid int WINAPI WinMain HINSTANCE hInstance HINSTANCE hPrevInstance LPTSTR lpCmdLine int nCmdShow MSG msg if hPrevInstance 0 if InitApp...

Page 33: ...ClassName_TSR NULL Find SipTsr if hSip NULL MessageBox hWnd TEXT Error FindWindow failed TEXT SIPanel Sample MB_OK return FALSE switch wId case IDC_BTN_TEXT CmdMessage case IDC_BTN_TEN CmdMessage break default return FALSE SendMessage hSip CmdMessage 0 0 Send message to SipTsr return TRUE ...

Page 34: ...d Note If the drag area extends beyond the display range dragging is no longer possible D3 Does not establish a drag area Dragging is not possible D0 or D2 Establishes a drag area on the left side of the screen Initial condition default N2 Displays a panel that only contains numeric keys N1 Adds numeric keys to the standard keyboard N0 Does not add numeric keys to the standard keyboard Initial con...

Page 35: ...ry to also execute Permit interrupt Wait for interrupt and time out and Prohibit interrupt The following diagram shows the range covered by this library Fig 5 1 Because the interrupt signals are detected by their signal levels they can be detected even if the order of 1 and 2 is changed The connection status can be detected whether this function is called before or after the PA 2400W is mounted on...

Page 36: ...ram uses this function at the same time If the power switch of I O Box is turned off during wait specified period the monitoring can be continued from the state before the power is off C Language Interface Calling Sequence int iobox_chk DWORD time_out Parameters DWORD time_out Maximum time to monitor the session 0 to 4 294 967 295 msec INFINITE No timeout 4 294 967 295 msec equals to INFINITE Retu...

Page 37: ... job Fig 5 2 Multiple Thread Mode Main program creates a thread CreateThread for session with I O Box and calls the function within this thread to wait for the establishment of session with the I O Box While the main program waits in the loop it makes necessary processes of each message After the created thread confirms the session the sub thread throws a message to the main program which makes th...

Page 38: ...XT Hello Windows CE TCHAR szTitle TEXT PA 2400 I O BOX TEST LRESULT CALLBACK WndProc HWND UINT WPARAM LPARAM HINSTANCE hInst NULL HWND hWndCB NULL HANDLE hWnd HANDLE h const int WINDOW_WIDTH 480 const int WINDOW_HEIGHT 214 int WINAPI WinMain HINSTANCE hInstance HINSTANCE hPrevInstance LPWSTR lpCmdLine int nCmdShow HWND hWnd MSG msg WNDCLASS wc wc style 0L wc lpfnWndProc WNDPROC WndProc wc cbClsExt...

Page 39: ...LL Menu handle hInstance Instance handle NULL Creation ShowWindow hWnd SW_SHOW UpdateWindow hWnd while GetMessage msg NULL 0 0 TranslateMessage msg DispatchMessage msg return msg wParam LRESULT CALLBACK WndProc HWND hWnd UINT message WPARAM uParam LPARAM lParam HDC hdc PAINTSTRUCT ps RECT rect DWORD ThreadID switch message case WM_CREATE sndPlaySound TEXT OpenProg SND_NODEFAULT SND_ASYNC hWndCB Co...

Page 40: ...t uParam case 0 MessageBox hWnd TEXT Connected TEXT MessageBox MB_OK break case 1 MessageBox hWnd TEXT Time Out TEXT MessageBox MB_OK break case 1 MessageBox hWnd TEXT Other program is using TEXT MessageBox MB_OK break default MessageBox hWnd TEXT Function call Failed TEXT MessageBox MB_OK break TerminateThread h 0 Close because thread is no longer required ExitThread 0L CloseHandle h return 0 cas...

Page 41: ...rn DefWindowProc hWnd message uParam lParam return 0 VOID ioProc int ret ret iobox_chk INFINITE Wait for infinite ret iobox_chk 5 1000 Wait for 5 seconds PostMessage hWnd WM_USER ret 0L End of Hello Windows CE program ...

Page 42: ...tatus DWORD 1 Enable the power ON event notification 6 2 SIPanel Library The SIPanel Library uses the following registries User is required to edit the values of each registry LocalMachine Software Apps SIPmanager Specify a program to start up the SIPanel when the SIP button is pushed by operator Table 6 3 Key name Form Value Description SIPExeName SZ file name Specify a file name of program which...

Page 43: ...r the host PC as well as the file transfer protocol used between two FLCEs For this operation the following I O interfaces of PA 2400W can be used For more information about the hardware configuration of the I O Box system refer to the PA 2400W Hardware Manual RS 232C Interface Interface COM1 port via the 16 pin cable using the communication cable supplied with PA 2400W Direct interface to the hos...

Page 44: ...est 9 Message display 10 Buzzer ON 11 File information acquisition 12 File information setup 13 Disk information acquisition 14 Acquisition of session ID and system information see note 1 15 IDLE notification see note 1 16 Order of termination see note 1 Notes 1 Functions 14 15 and 16 are used internally by the protocol You do not need to specify these commands on the command line 2 All files are ...

Page 45: ...Deselect Connect with PC if communication is possible 5 Tap the OK button If you wish to have a communication by using with H PC Explore and PC LINK select the menu stated in operation step 4 above Input Parameter Command line argument communication command communication option transmission pathname I O interface to be used baud rate mode Registry Set up registry only if the following default valu...

Page 46: ...used concurrently because they must use the same hardware Before initiating the FLCE terminate the other program that is using the COM1 or IrDA port As the return value from the FLCE the termination codes which request formatting of a drive or resetting of the machine are defined However Windows CE Ver 2 11 does not support this function If this function is required incorporate it into the user ap...

Page 47: ... O R ROR File transmission append A None A File deletion D O R D File move N None N Time transmission T None T Operation command Idle startup None Script file name Options O Overwrite Specification of forced overwrite of a read only file If this option is specified even a read only file will be overwritten If an overwrite of read only file is attempted and this option is not specified this command...

Page 48: ...s to describe the pathname of file or directory on the partner side always attach an appropriate drive letter However as an exception to 2 above if the communication partner side designates a device on the Windows CE machine for retrieving the format or other disk information define a drive letter as follows These setups can be modified as required by making the appropriate description in the regi...

Page 49: ... a drive letter Accordingly an additional drive is assigned a directory directly under the root directory Example Internal RAM My Documents Internal RAM Internal RAM My Documents Internal RAM General directory Internal RAM Storage Card PC card ...

Page 50: ...8 2 Specifying Non existing File If the pathname of file or directory which does not exist at the communication partner side the following processing is performed Table 7 5 Communication partner Reception Delete Move Transmission Transmission append Windows 95 Windows NT DOS A C B D Windows CE A C B D Meaning of the alphabets A Abnormally terminated if any of the multiple pathnames specified does ...

Page 51: ...5 2 Kbps Default value if the communication line specification 232C COM1 or IrDA registry has no setup IrDA Default value if the drive letter definition registry has no setup value C Object Store of internal RAM D Storage Card storage card Default value if the command to response interval timeout registry has no setup 30 seconds Registry position HKEY_CURRENT_USER FLCE Contents Key name Type Value...

Page 52: ...g1 Result code DWORD Disp1 Create or Open disposition int err const wchar_t SubKey1 TEXT FLCE Key for FLCE const wchar_t Name TEXT RECVWAIT Name for the command to response interval timeout const DWORD Value 1800L Time out value to be set seconds err TRUE Open the registry key lReg1 RegCreateKeyEx HKEY_CURRENT_USER SubKey1 0 NULL 0 0 0 hKey1 Disp1 if lReg1 ERROR_SUCCESS Set the value lReg1 RegSetV...

Page 53: ...3 err FALSE else err FALSE if err TRUE MessageBox NULL TEXT Success setting registry TEXT This is MessageBox MB_OK else MessageBox NULL TEXT Fail setting registry TEXT This is MessageBox MB_OK return err ...

Page 54: ... codes refer to the Upload Download Manual of PA 2400W Passing of termination code A termination code will be returned as a return value from Winmain Upper level programs should reference this return value using the GetExitCodeProcess function List of termination codes A category code upper byte indicates the error category and an error detail code lower byte indicates the detail of the error Cate...

Page 55: ...ve directory of deletion 02h 82h File write error Write to the file is not possible Check if the file is ready to be written 02h 83h File read error Read from the file is not possible Check if the file is ready to be read from 02h 84h Read only access error An attempt has been made to overwrite or delete the read only file Specify another file name or cancel the read only attribute 0Fh 01h Argumen...

Page 56: ...mmunication partner machine code maximum 3 bytes will be outputted AT IBM PC compatible machine 4th line Session ID information will be outputted This will be outputted in a hexadecimal number Example 0x0000 5th line Last event information will be outputted 6th line Last phase information will be outputted 7th line Last status information will be outputted Outputted as a hexadecimal number Example...

Page 57: ...e transfer speed is reduced considerably To avoid this close the folder that was opened by the Explorer and that contains the file to be transmitted before initiating the file transfer utility Otherwise create a folder other than the oneopened by the Explorer for file reception If attempting PA 2400W to PA 2400W communication always use the CASIO AC adaptor to power ...

Page 58: ...on the communication partner should operate in the idle start mode I Normal mode Session wait timeout is infinite Only H or I can be specified If mode specification is omitted the normal mode with the session wait timeout set to 1 minute is automatically specified Table 7 7 Session Wait Timeout Startup Communication Partner 1 minute Infinite Idle including script PC I O Box PA 2400W PC I O Box No ...

Page 59: ...tem has a maximum depth of sixteen levels Even if this option is specified the transmission file pathname should be specified by the full pathname If this option is not specified only a file that is designated by the transmission file pathname can be the objective of processing Transmission file pathname Specify a file that exists on the PA 2400W side by its full pathname To specify all files ente...

Page 60: ... full pathname Pathname of requested file Specify an objective file of reception that exists on the communication partner side by its full pathname To specify all files enter as file name A wild card can be used for file name Directory names or file names can be described using 2 byte code characters Specify a pathname of requested file according to the naming rules of the communication partner si...

Page 61: ... does not exist on the PA 2400W is specified the FLCE is immediately terminated by error If this occurs even files that exist will not be transmitted C Language Interface Calling Sequence FLCE A Appended file pathname Target file pathname Parameters Appended file pathname Specify an objective file of transmission that exists on the PA 2400W by its full pathname A wild card cannot be used for the f...

Page 62: ... The hierarchical directory system has a maximum depth of sixteen levels If this option is specified the deleted file pathname should be specified by full pathname If this option is not specified only file that is designated by the deleted file pathname can be the objective of deletion Pathname of file to be deleted Without the R option Specify an objective file of deletion that exists on the comm...

Page 63: ...le names can be described by using 2 byte code characters Name the move source path in accordance with the naming rules of the communication partner side OS Destination pathname Specify the destination path on the communication partner side by its full pathname If the specified source file name differs from the destination file name the source file name will be changed to the destination file name...

Page 64: ... time is a local time Depending on the line condition a few seconds of error may result C Language Interface Calling Sequence FLCE T Parameters None Setup Example FLCE SR casio ap casio ap T Transfers all files under the casio ap directory including sub directories of the PA 2400W to the casio ap directory of the communication partner side for setting up ...

Page 65: ...side If a script file name that does not exist on the communication partner side is specified an error code will be returned However in PA 2400W to PA 2400W communication mode a script file will not be processed Therefore it will be ignored if specified C Language Interface Calling Sequence FLCE Y Device Baud rate Mode Script file name Parameters Script file name Specify a script file name that ex...

Page 66: ...15 IDLE notification 16 Termination command These commands are for internal operations Meaning of the status A A command currently running or requested is displayed B In addition to the displayed content in A above file or directory that is being processed in the PA 2400W is displayed C In addition to the displayed content in A above the progress of file being transmitted is displayed D Text messa...

Page 67: ...f retry to transfer files by using the file transmission command with update option files that are already transferred successfully can be skipped and only files that are not transferred can be transferred 7 15 2 Retry Method Preparation at PC First create script files for normal file transmission and retry file transmission not using the script file for normal file transmission the retry process ...

Page 68: ...routine of the error may run into a trap and never be able to escape from it One time retry operation can recover from most of error states 7 15 3 Restriction When you download a file to the PA 2400W where the same file exists set up newer date time date into the file before downloading it This will avoid unnecessary retry operation which is started up by the time date verification function FLCE n...

Page 69: ...des copy operations from the card The term host PC includes a personal computer PC and PA 2400W which emulate the operation of PC 8 2 List of Commands The file check utility includes the following commands Table 8 1 List of commands Command Description List file generation Generates a list file required for file checks at file transmission side List file comparison Compares list files at file rece...

Page 70: ...on side of PC by using the File Check utility FCHK G Option file name list or Script file name Destination directory name FCHK LOG File output Directory name FCHK LOG file is generated FCHK LOG file list file 4 As file is copied to PA 2400W use H PC s Explorer etc to copy FCHK LOG file should be copied as well to the Destination directory name directory file that is specified by parameter FCHK LOG...

Page 71: ...ination directory name FCHK LOG file is generated FCHK LOG file list file 4 As file is copied to an installed PC card use the icon My Handheld PC to copy FCHK LOG file should be copied to the card as well 5 Copy the file to specified directory use the icon My Handheld PC to copy on the reception side from the card After copying the file have the File Check utility run on the reception side to chec...

Page 72: ...drive letter If a pathname with a drive letter is specified the drive letter will be ignored by the FCHKCE on the PA 2400W side This pathname specification is treated equal to a specification from the root directory without a drive letter If the communication partner PC etc runs on an OS that requires drive letter specification and if the PA 2400W requires the pathname of a file or directory on th...

Page 73: ...C option should be placed immediately after FCHKCE To specify multiple transmission source file names separate the pathnames with a space 1 byte Examples of Correct Startup FCHKCE G casio data data1 dat casio data data2 dat d data casio data Space code FCHKCE G SC casio data fchkce scr casio data FCHKCE C casio data Example of Incorrect Startup no G or C option FCHKCE casio data data1 dat casio da...

Page 74: ...achine side when performing any file transfer file copy Information to be set in the list file includes 1 File size 2 Date and time of update 3 Transfer copy destination pathname file name 4 Number of transferred copied files 5 Checksum data of all the transferred copied files 6 Checksum data of list file The checksum data of all the transferred copied files consists of the result in which each pi...

Page 75: ...ue that is not 0 and is abnormally terminated In either case a history file is generated FCHKC HIS is created in FCHK LOG file pathname The history file is generated as track the process of comparing the transmitted copied file and the list file The objective information to be compared in the files includes 1 File size 2 Date and time of update 3 Transfer copy destination pathname file name 4 Numb...

Page 76: ...O dec_num LS FILEINFO INFO LS INFO PATH SP SIZE SP DATE LS CR FILECHECKSUM FILE_CHECKSUM hex_char LS LISTCHECKSUM LIST_CHECKSUM hex_char LS dec_num decimal number hex_char hexadecimal number represented by characters Example FILE_NO 3 A AP MENU EXE 12345 19960728 0630 A CONFIG SYS 1000 19960308 2058 A AUTOEXEC BAT 512 19960206 2340 FILE_CHECKSUM XXXXXXXX LIST_CHECKSUM XXXXXXXX ...

Page 77: ...LD_PROC DELETE FORMAT BEEP RENAME RECEIVE SEND PRINT TIME_ADJUST END_SESSION APPEND APPEND_CMD APPEND_OPTION SP PATHNAME_PAIR CHILD_PROC CHILD_PROC_CMD SP CMD_PARAMETER FORMAT FORMAT_CMD SP DRIVE BEEP BEEP_CMD RENAME RENAME_CMD SP PATHNAME_PAIR RECEIVE RECEIVE_CMD OPTIONS SP PATHNAME_LIST SEND SEND_CMD OPTION SP PATHNAME_LIST PRINT PRINT_CMD SP STRING TIME_ADJUST TIME_CMD SP TIME_VALUE END_SESSION...

Page 78: ... CHARS DELM SP LS CR SP SP SP SP SP PARAM SP NUMBER With this file check utility CMD_BODY is searched in the objective script file If SEND S See Note is found in the CMD_BODY PATHNAME_LIST line that follows SEND is determined to be the destination pathname and a list file FCHK LOG is generated Other CMD_BODY lines not accompanying SEND will be ignored in the list file generation Note The commands ...

Page 79: ...e check sum matched Start up the file check utility again from the beginning 08 The contents of list file didn t agree The list file check sum data discord Verification result of list file check is not matched No check sum data of the list files matched Start up the file check utility again from the beginning 09 Script file not found Script file with specified file name was not found Specify direc...

Page 80: ...80 8 10 Restriction Because of the limitation from Windows CE some of the files contained in the Windows folder cannot be duplicated As a result they will not be listed in the list file ...

Page 81: ...ctive of creating a list file The hierarchical directory system has a maximum depth of sixteen levels If this option is not specified only files that are designated by the file names list can be the objective of list file creation AO Append output If the FCHK LOG file exists in the directory specified by FCHK LOG file output directory name log file will be created and appended to the FCHK LOG file...

Page 82: ...in the current directory Example b Root directory specification b PA 12 Sub directory specification b PA Incorrect specification Startup Examples FCHKCE G casio dat casio data casio This transfers all files under the casio directory of the transmission side of PA 2400W which have a dat extension to the casio data directory of the communication partner side And create list file in the casio directo...

Page 83: ...be omitted Return Value Return code refer to Chapter 8 9 Error Messages Codes Parameters Option D Does not compare the update data Generally the update date time will be automatically changed to the current time of PA 2400W if file transfer is performed through Explorer of PA 2400W Set this option to omit the update date time from the objective of comparison A copy operation performed between the ...

Reviews: