Casio PA-2400W manual Log File Name, Location of Log File, Method of Creation, Format

Page 56

7.11 Log File

The FLCE will create a log file to record communication logs.

Log File Name

The current log file name is fixed to "FLCE.LOG".

This specification cannot be modified. Therefore, if the current log file needs to be stored, use another file name.

Location of Log File

A log file is created under the "\Windows\" directory.

Method of Creation

Even if a log file already exists, a new log file is created (i.e. overwrites the old one).

Append to the existing log file is not attempted.

If a new file cannot be created, log file creation is aborted.

￿If an argument of command parameter includes error, a log file will not be created.

A log file starts to be created at the point in time when communication with the partner begins.

Format

1st line

 

Version information of FLCE.EXE will be outputted.

2nd line

Version information (1 byte) of the protocol will be outputted. The first version is "1".

3rd line

Communication 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: 0x0000).

8th line

 

Last transmission file name will be outputted.

9th line

 

Last reception file name will be outputted. Output will consist of the above eight lines

Output￿

will consist of the above nine lines.

Since with lines 2 through 4 the information acquired from the communication partner is outputted, this line will be outputted as a blank line for a log file on one of the PA-2400Ws that operates in the PC

￿emulation mode for communication between two PA-2400Ws.

One line must be less than 80 bytes in length. Therefore, if a file name inserted in the 8th or 9th line requires 65 bytes or more (15 bytes are used for the item name), characters on and after the 65th byte will not be outputted.

56

Image 56
Contents PA-2400W Library Manual VersionTable of Contents Fchkce /G Fchkce /C Preface CasioBootup Library Supported FilesSystem Library SIPanel LibrarySystem configuration Host PC PA-2400W CopySIPanel Library 3 I/O Bootup LibraryDedicated Library and Utility System Library File Transfer Utility File Check UtilityDevelopment Environment System Library Overview Details of Function Title FunctionParameters None Return Values Header #include CasioSys.h RemarksTurns off the backlight Language Interface Calling Sequence True Backlight is onFalse Backlight is offHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Header Disable the power to be turned off with the power buttonEnable the power to be turned off with the power button Bool ApoCountReset Void SoftReset Disables automatic power-on with the alarm Internal errorLanguage Interface Calling Sequence Parameters Bool bModeBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPANEL.EXE SIPanel Library OverviewSIPANEL.DLL Use of SIPanel Library RestrictionsProgram for starting up the library RegistryLpctstr lpParam Sipshow SiphideSample program to start up the SIPanel Hinstance LptstrSample program of application software for business use Tchar ClassName = Text CallSipTchar ClassNameTSR = TEXTSipTsr HbCallText = CreateWindow TEXTbutton, TEXTText AreaLpCmdLine HWnd = CreateWindowClassName, ClassNameWsvisible Wsoverlapped Wssysmenu Find SipTsr Sw,h Options of Command LinePx,y O Bootup Library Overview FunctionIOBOX1.DLL PortInfinite = No timeout Dword294,967,295 msec. equals to Infinite Fail to call the functionUse of ioboxchk Sequential ModeMultiple-Thread Mode = Null Sample ProgramHwnd Wsoverlapped WINDOWWIDTH/2WINDOWHEIGHT/2 NullCase Wmpaint Wait for 5 seconds Registry of Libraries Disable the power on by alarmEnable the power on event notification IrDA 1.0 Interface File Transfer Utility OverviewRS-232C Interface List of Supported Commands Use of Flce Termination of FlceOperation Input ParameterRestrictions Communication Commands OptionsTypes of Arguments OverwriteMethod of Describing Pathname Reference Storage Card PC card My Documents Internal RAMWindows95 /Windows NT Required Error if omitted Specifying Non-existing FileDOS Windows CESetting Up Registry Setting Up ItemsSetting Up Registry with User Application Hkey hKey1Long lReg1 Dword Disp1Err=FALSE Else If err==TRUE Return errTermination Codes Should take an action that is appropriate to each definitionError Code Meaning Possible Cause Remedy Log File Log File NameLocation of Log File Method of Creation12Precautions Details of Command and Option Transmission file pathname Destination directory pathnameFlce /S \casio\*.dat d\casiodat\ Flce /SR \casio\*.dat d\casiodat\Pathname Pathname of requested file\12\*.dat d\casio\*.* \casio data\ Flce /RR a\12\*.dat d\casio\*.* \casio data\Flce /A \MY\casio.dat b\your\master.dat Appended file pathnameTarget file pathname Pathname of file to be deleted Without the R option Source pathname Destination pathnameFlce /N a\ 12\kk.dat a\casio\ Flce /N a\12\kk.dat a\casio\sj.datParameters None SetupExample Flce /SR \casio ap\*.* \casio ap\ /TSession with PC Flce casio.scrFlce /Y=COM1, , casio.scr Session between PA-2400W-and-PA-2400WCommand and Status Idle notificationRetry Process When Downloading File Retry MethodPreparation at PC \soft\Retry.scr RestrictionPreparation at PA-2400W List of Commands File Check Utility OverviewOperation Operation MethodDownloading file from PC to PA-2400W Copy PC card Copying file with PC card from PA-2400W to PA-2400WTransmission side PA-2400W Describing Method 1Pathname Details about Command and Option Examples of specification for command and optionExamples of Correct Startup Example of Incorrect Startup no /G or /C optionCommand of Fchkce 1Generation of List File Comparison by List File \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512 Format of List FileExample FILENO=3Syntax Analysis of Script File Childproccmd = COption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction Option /SCSpecification of a script file name Specification of recursive callAO Append output File name list or Script file nameDestination directory name FCHK.LOG file output directory name\casio\ .dat \casio data\ \casio\ Fchkce /G /R \casio\ .dat \casio data\ \casio\Does not compare the update data OptionFCHK.LOG file pathname Fchkce /C \casio data\