Page 5 of 52
clear the archive memory to keep download times short. The downloaded records are pre-
sorted, so you do not have to determine where the first record is.
4.
You can not reset individual high or low values. Instead there are commands to clear all
the high values or all the low values.
5.
You must make sure that the console is awake before sending commands to it.
III.
Differences from Vantage Pro to Vantage Pro 2
The Vantage Pro2 serial support is almost the same as the Vantage Pro, but there are some
important differences listed below.
1.
Serial commands for Vantage Pro2 must be terminated by a single line feed or a single
carriage return character, but not both. Older code that terminates commands with both a
line feed and a carriage return will not work or will work intermittently.
Beware that
some communciation programs translate a line feed to both a line feed and a carriage
return.
2.
The locations of the graph data has changed in Vantage Pro2.
3.
The transmission packet interval of the Vantage Pro2 ISS is 1/16 of a second longer for
every station ID number. For example, ID 1 transmits at an interval of every 2.5625
seconds rather than 2.5 seconds.
4.
“GAIN” command is supported in Vantage Pro but not in Vantage Pro2.
5.
“STRMON” command returns data packet in different format for Vantage Pro2.
6.
Vantage Pro2 does not support different transmitting period. It only supports the normal
ISS transmit period.
7.
Vantage Pro2 does not support SensorLink station type.
IV.
Waking up the Console
In order to conserve battery power, the console spends as much time “asleep” as possible,
waking up only when required. Receiving a character on the serial port will cause the console to
wake up, but it might not wake up fast enough to read the first character correctly. Because of
this, you should always perform a wakeup procedure before sending commands to the console:
Console Wakeup procedure:
1.
Send a Line Feed character, ‘\n’ (decimal 10, hex 0x0A).
2.
Listen for a returned response of Line Feed and Carriage Return characters, (‘\n\r’).
3.
If there is no response within a reasonable interval (say 1.2 seconds), then try steps 1 and
2 again up to a total of 3 attempts.
4.
If the console has not woken up after 3 attempts, then signal a connection error
After the console has woken up, it will remain awake for 2 minutes. Every time the Vantage
receives another character, the 2 minute timer will be reset.
Please note that this is
NOT TRUE
for the LOOP command. In the LOOP mode, we expect that
the LOOP packets will be sent over time, so the Vantage will go to sleep immediately between
each packet.