EasyManuals Logo
Home>Campbell>Measuring Instruments>CR1000

Campbell CR1000 User Manual

Campbell CR1000
678 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #444 background imageLoading...
Page #444 background image
Section 8. Operation
curl -v -S --user username:password
"http://192.168.24.106/?command=FileControl&file=CPU:program.CR1
&action=1"
Both operations can be combined in a batch file.
8.6.3.14.10 File Management FileControl Command
FileControl allows a web client to perform file system operations on a host
CR1000. FileControl takes the form:
http://ip_address/?command=FileControl&file=drive:filename.dat&a
ction=x
FileControl requires a minimum .csipasswd access level of 1 (all access
allowed).
Table 120. FileControl API Command Parameters
action
1Compile and run the file specified by file and mark it as the program to be run on power up.
2Mark the file specified by file as the program to be run on power up.
3Mark the file specified by file as hidden.
4Delete the file specified by file.
5Format the device specified by file.
6Compile and run the file specified by file without deleting existing data tables.
7Stop the currently running program.
8Stop the currently running program and delete associated data tables.
9Perform a full memory reset.
10Compile and run the program specified by file but do not change the program currently
marked to run on power up.
11Pause execution of the currently running program.
12Resume execution of the currently paused program.
13Stop the currently running program, delete its associated data tables, run the program
specified by file, and mark the same file as the program to be run on power up.
14Stop the currently running program, delete its associated data tables, and run the program
specified by file without affecting the program to be run on power up.
15Move the file specified by file2 to the name specified by file.
16Move the file specified by file2 to the name specified by file, stop the currently running
program, delete its associated data tables, and run the program specified by file2 while marking it
to run on power up.
17Move the file specified by file2 to the name specified by file, stop the currently running
program, delete its associated data tables, and run the program specified by file2 without affecting
the program that will run on power up.
18Copy the file specified by file2 to the name specified by file.
19Copy the file specified by file2 to the name specified by file, stop the currently running
program, delete its associated data tables, and run the program specified by file2 while marking it
to run on power up.
20Copy the file specified by file2 to the name specified by file, stop the currently running
program, delete its associated data tables, and run the program specified by file2 without affecting
the program that will run on power up.
file
Specifies the first parameter for the file control operation. This parameter must be specified for
action values 1, 2, 3, 4, 5, 6, 10, 13, 14, 15, 16, 17, 18, 19, and 20.
file2
Specifies the second parameter for the file control operation. This parameter must be specified for
action values 15, 16, 17, 18, 19, and 20.
format
Specifies the format of the response. The values html, json, and xml are recognized. If this
parameter is omitted, or if the value is html, empty, or invalid, the response is HTML.
444

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Campbell CR1000 and is the answer not in the manual?

Campbell CR1000 Specifications

General IconGeneral
BrandCampbell
ModelCR1000
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals