Table 14-2: Image capture parameters
Parameter
Description
Values
Immediate_pos
Sets the lens position for the image
capture (
(p. 62)). Do not
add numbers together for multiple
lens positions; use only the values
listed in the column to the right.
0
Use the current position
1
Use position #1
2
Use position #2
3
Use position #3
4
Use Position #4
Immediate_af
Select whether or not to preform an
auto focus prior to image capture. This
is recommended.
0
No autofocus
1
Preform autofocus
Immediate_banner
Select whether or not to add the
image banner, containing time and
temperature, to the captured image.
0
Disable
1
Inside top
2
Inside bottom
3
Outside top
4
Outside bottom
An example of the URL set with parameters in
(p. 32) is:
http://1.2.3.4/data.json?immediate_resolution=5&immediate_quality=2&immediate_
af=1&immediate_pos=0. Once the parameters are set, use the image capture URL
http://1.2.3.4/capture.jpg (where 1.2.3.4 is the IP address of the camera) to capture the image
using the parameters set.
Download an example CRBasic program illustrating the use of the
HTTPGet
instruction to set
these parameters and initiate an image capture from
www.campbellsci.com/downloads/ccfc-
.
NOTE:
Once the parameters are set, the camera will save the set parameters for use on the next URL
capture while you remain on the CCFC webpage. The parameters return to default after a
rest/power down.
CCFC Field Camera
33