Gocator API
|
Copies a file within the connected sensor.
If the destination file name is GO_SENSOR_LIVE_JOB_NAME, then the configuration job file used by the sensor is changed (ie. a job/load switch operation takes place). To do a job load/switch, the sensor is first stopped before the job load/switch. After the job load/switch, the sensor remains stopped, to match the behaviour of loading/switching a job file from the GUI.
WARNING! This operation writes to flash storage. Review the user manual for implications.
NOTE: if doing a job load/switch, this API leaves the sensor stopped. User must explicitly start the sensor again.
sensor | GoSensor object. |
sourceName | Source name for the file to be copied. |
destName | Destination name for the file (maximum 63 characters). |