Casio PA-2400W manual Retry Process When Downloading File, Retry Method, Preparation at PC, soft

Page 67

7.15 Retry Process When Downloading File

In this chapter, retry process for downloading files by the FLCE at time of a communication error is explained.

7.15.1 Overview

The retry process for file transmission can be implemented by the file transmission command with update option of the LMWIN. The update option enables file transmission only if a file to be transmitted by the PA-2400W is not existed at the communication partner side of PA-2400W. The verification of files can be done by verifying date/time of both the files. If the file to be transmitted has a newer date/time than that of the file at the communication partner side, or the same file is not existed in the communication partner side, the file transmission can be possible.

At a time of 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 can be possible by using normal file transmission mode with update option. However it takes a longer time.).

Example: Script file for normal file transmission

/S “c:\la\hpcall\*.*” “\”

 

/S

“c:\la\hpcall\card\*.*”

“\storage card\“

/S

“c:\la\hpcall\soft\*.*”

“\soft\“

For the script file of retry file transmission, append “U” to the /S option for the update option. Example: Script file for retry file transmission

/SU “c:\la\hpcall\*.*” “\”

 

/SU

“c:\la\hpcall\card\*.*”

“\storage card\“

/SU

“c:\la\hpcall\soft\*.*”

“\soft\“

Using the LMWIN’s script editor, the U option can be appended by checking the checkbox of “Update” in the Send menu.

67

Image 67
Contents Version PA-2400W Library ManualTable of Contents Fchkce /G Fchkce /C Casio PrefaceSIPanel Library Bootup LibrarySupported Files System LibraryHost PC PA-2400W Copy System configurationDedicated Library and Utility System Library 3 I/O Bootup LibrarySIPanel Library File Check Utility File Transfer UtilityDevelopment Environment System Library Overview Header #include CasioSys.h Remarks Details of FunctionTitle Function Parameters None Return ValuesTurns off the backlight Language Interface Calling Sequence Backlight is off TrueBacklight is on FalseHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Enable the power to be turned off with the power button Disable the power to be turned off with the power buttonHeader Bool ApoCountReset Void SoftReset Parameters Bool bMode Disables automatic power-on with the alarmInternal error Language Interface Calling SequenceBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPANEL.DLL SIPanel Library OverviewSIPANEL.EXE Registry Use of SIPanel LibraryRestrictions Program for starting up the libraryLpctstr lpParam Siphide SipshowSample program to start up the SIPanel Lptstr HinstanceHbCallText = CreateWindow TEXTbutton, TEXTText Area Sample program of application software for business useTchar ClassName = Text CallSip Tchar ClassNameTSR = TEXTSipTsrWsvisible Wsoverlapped Wssysmenu HWnd = CreateWindowClassName, ClassNameLpCmdLine Find SipTsr Px,y Options of Command LineSw,h Port O Bootup Library OverviewFunction IOBOX1.DLLFail to call the function Infinite = No timeoutDword 294,967,295 msec. equals to InfiniteMultiple-Thread Mode Sequential ModeUse of ioboxchk Hwnd Sample Program= Null Null WsoverlappedWINDOWWIDTH/2 WINDOWHEIGHT/2Case Wmpaint Wait for 5 seconds Enable the power on event notification Disable the power on by alarmRegistry of Libraries RS-232C Interface File Transfer Utility OverviewIrDA 1.0 Interface List of Supported Commands Input Parameter Use of FlceTermination of Flce OperationRestrictions Overwrite Communication CommandsOptions Types of ArgumentsMethod of Describing Pathname Storage Card PC card My Documents Internal RAM ReferenceWindows CE Windows95 /Windows NT Required Error if omittedSpecifying Non-existing File DOSSetting Up Items Setting Up RegistryDword Disp1 Setting Up Registry with User ApplicationHkey hKey1 Long lReg1Return err Err=FALSE Else If err==TRUEShould take an action that is appropriate to each definition Termination CodesError Code Meaning Possible Cause Remedy Method of Creation Log FileLog File Name Location of Log File12Precautions Details of Command and Option Flce /SR \casio\*.dat d\casiodat\ Transmission file pathnameDestination directory pathname Flce /S \casio\*.dat d\casiodat\Flce /RR a\12\*.dat d\casio\*.* \casio data\ PathnamePathname of requested file \12\*.dat d\casio\*.* \casio data\Target file pathname Appended file pathnameFlce /A \MY\casio.dat b\your\master.dat Pathname of file to be deleted Without the R option Flce /N a\12\kk.dat a\casio\sj.dat Source pathnameDestination pathname Flce /N a\ 12\kk.dat a\casio\Flce /SR \casio ap\*.* \casio ap\ /T Parameters None SetupExampleSession between PA-2400W-and-PA-2400W Session with PCFlce casio.scr Flce /Y=COM1, , casio.scrIdle notification Command and Status\soft\ Retry Process When Downloading FileRetry Method Preparation at PCPreparation at PA-2400W RestrictionRetry.scr File Check Utility Overview List of CommandsDownloading file from PC to PA-2400W Operation MethodOperation Transmission side PA-2400W Copying file with PC card from PA-2400W to PA-2400WCopy PC card Describing Method 1Pathname Example of Incorrect Startup no /G or /C option Details about Command and OptionExamples of specification for command and option Examples of Correct StartupCommand of Fchkce 1Generation of List File Comparison by List File FILENO=3 \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512Format of List File ExampleChildproccmd = C Syntax Analysis of Script FileOption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction File name list or Script file name Option /SCSpecification of a script file nameSpecification of recursive call AO Append outputFchkce /G /R \casio\ .dat \casio data\ \casio\ Destination directory nameFCHK.LOG file output directory name \casio\ .dat \casio data\ \casio\Fchkce /C \casio data\ Does not compare the update dataOption FCHK.LOG file pathname