Campbell RWIS STATIONS Instruction Manual - page 11
RWIS Stations
7
Collecting the image as data
When FTP cannot be used for image removal from the logger, cora_cmd can
be. In this case the image is treated just like data in that it is downloaded
during a task for routine data removal or by itself in a task. The following
batch files are used. The files in the images below have different names, but
do the same thing. If you’re going to get data and a picture during the same
call, the following set up can be used in the Loggernet tasks.
User may or may not be needed for the function.
All files need to be placed in the programs\campbellsci\loggernet directory
1. connect with rasconnect
2. connect to the station and collect the data
3. execute pictask.bat which in turn calls getpic.txt to retrieve the image
4. disconnect with rasdisconnect
Rasconnect.bat
RASDIAL rwis1 user
Rasdisconnect.bat
RASDIAL rwis1 /DISCONNECT
Getpic.txt
connect localhost;
get-file rwispbadr1 CRD:netcam.jpg.tmp --save-as=c:\campbellsci\loggernet3\netcam.jpg;
exit;
pictask.bat
c:\"program files\campbellsci\loggernet3\cora_cmd.exe"