User Manual
Pearl-2 User Guide                                      Controlling Pearl-2 using HTTP/HTTPScommands
l System variable commands can be issued at a frequency of 5 per second, and up to 6 variables may be 
set in a single command (for example, variables "gpsvar1", "gpsvar2" and "gpsvar3" can be updated in a 
single command, five times per second). After issuing a set command, all channels using the specified 
variable(s) are updated. The frequency of commands issued is not influenced by the number of 
channels on Pearl-2.
l System variables are considered volatile data and are erased when  Pearl-2 reboots.
Set variables – syntax and example
A set command saves a value to a variable, where <address> is the IP address of  Pearl-2, name is the unique 
name for each variable, and value is the text/character content stored in each variable. 
You can set multiple variables at the same time by separating each variable with an "&".
To "set" variables, use the following syntax:
http://<address>/admin/set_variables.cgi?name1=value1[&nameN=valueN]
For values with spaces, encode space as %20. (i.e.: set_variables.cgi?name1=640%20x%20480)
To erase a previously set variable, simply set the variable's name with an empty space.
Example: "http://192.168.0.129/admin/set_
variables.cgi?gpsvar1=N103%2068201%20W765%2029712&gpsvar2=S490%2018731%
20E756%2019890&gpsvar3=N123%2046891%20W345%2065431&gpsvar4=S767%2033410
%20E770%2004513"
sets:
"gpsvar1" to "N103 68201 W765 29712"
"gpsvar2" to "S490 18731 E756 19890"
"gpsvar3" to "N123 46891 W345 65431"
"gpsvar4" to "S767 33410 E770 04513"
Get variables – syntax and example
A get command returns the value of a variable called name. You can return multiple variables at the same time 
by separating each variable with an "&".
To "get" a variable or a list of specific variablesx:
http://<address>/admin/get_variables.cgi?name1[&nameN]
433










