Section 8. Operation
password
password in the .csipasswrd file
IPAdr
IP address of the CR1000
drive
memory drive of the CR1000
Examples:
To load an operating system to the CR1000, open a command prompt window
("DOS window") and execute the following command, as a continuous line:
curl -XPUT -v -S -T
"c:\campbellsci\lib\OperatingSystems\CR1000.Std.25.obj" --user
harrisonford:lostark1 http://192.168.24.106/cpu/
Response:
* About to connect() to 192.168.7.126 port 80 (#0)
* Trying 192.168.7.126... connected
* Connected to 192.168.7.126 (192.168.7.126) port 80 (#0)
* Server auth using Basic with user 'fredtest'
>PUT /cpu/myron%22Ecr1 HTTP/1.1
>Authorization: Basic ZGF2ZW1lZWs6d29vZnk5NTU1
>User-Agent: curl/7.21.1 (i386-pc-win32) libcurl/7.21.1
OpenSSL/0.9.8o zlib/1.2.5 libidn/1.18 libssh2/1.2.6
>Host: 192.168.7.126
>Accept:*/*
>Content-Length: 301
>Expect: 100-continue
>
*Done waiting for 100-continue
<HTTP/1.1 200 OK
<Date: Fri, 2 Dec 2011 05:31:50
<Server: CR1000.Std.25
<Content-Length: 0
<
* Connection #0 to host 192.168.7.126 left intact
* Closing connection #0
When a file with extension .OBJ is uploaded to the CR1000 CPU: drive, the
CR1000 sees the file as a new operating system (OS) and does not actually upload
it to CPU:. Rather, it captures it. When capture is complete, the CR1000 reboots
and compiles the new OS in the same manner as if it was sent via a
datalogger
support software
(p. 95)
Connect
screen.
Other files sent to a CR1000 drive work just as they would in
datalogger support
software
(p. 95)
File Control
. The exception is that CRBasic program run settings
cannot be set. To get a program file to run, use the web API
FileControl
command. Curl.exe can be used to perform both operations, as the following
demonstrates:
Upload the program to the CR1000 CPU: drive (must have
/cpu/
on end of the
URL):
curl -XPUT -v -S -T "program.CR1" --user username:password
"http://192.168.24.106/cpu/"
Compile and run the program and mark it as the program to be run on power up.
-
XGET
is not needed as it is the default command for Curl.exe.
443
Summary of Contents for CR1000
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 40: ......
Page 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Page 96: ......
Page 98: ...98 ...
Page 302: ......
Page 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Page 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Page 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Page 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Page 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Page 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Page 478: ......
Page 506: ......
Page 536: ......
Page 636: ......
Page 642: ......
Page 644: ......
Page 676: ......
Page 677: ......