Owner's manual

Section 17. CsiDatalogger Control Reference
Datalogger.programSendCancel()
Name
Datalogger.programSendCancel()
Description
This method attempts to cancel the programSendStart() method. The program
send process can be cancelled if it has not already begun. Otherwise, the
method will be ignored.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
Datalogger.programSendStart()
Name
Datalogger.programSendStart(String file_name, String
program_name)
Description
This method starts to transfer a file designated by file_name to the specified
datalogger. It also calls the events: onProgramSendProgress(),
onProgramSent(), and onProgramSendComplete(). This method should only
be called when the value of serverConnected, is TRUE. Otherwise, this
method will return E_CSI_NOT_CONNECTED.
Parameters
file_name: The full path on the local machine designating the location of the
program that will be sent.
program_name: Designates the name of the program that will be sent to the
specified datalogger. If this setting is specified as an empty string, the name
will be derived from the file_name property when this method gets called.
This parameter string should have the following syntax:
program_name := [ device-name ":" ] file-name.
The device name optionally indicates the datalogger storage device on Crx000
dataloggers. If omitted for Crx000 dataloggers, the default device will be the
"CPU" device. The file name that follows should not have any path
specification but should merely be the name of the file. The server may
truncate the file name on Crx000 dataloggers in order to make it fit the file
system on those devices.
17-11