Section 2. programming the datalogger – Campbell Scientific VSP3 Vosponder Voice Radio Interface User Manual

Page 13

Advertising
background image

2-1

Section 2. Programming the Datalogger

1.

Hardware connections to the datalogger and radio (Section 1)

► 2. Programming the datalogger to output the data values to the

Vosponder (Section 2)

3.

Developing a voice image file for the Vosponder (Section 3)

4.

Setup and testing of the Vosponder (Section 4)

The datalogger should now be connected to the Vosponder via the SDI-12
interface cable and the Voponder should be connected to the radio via the radio
interface cable.

The second step is to develop or modify an existing datalogger program so that
it includes the instructions that will output the desired data values to the
Vosponder. There are three commands that will be described in this section,
each has a different purpose and all can be used in a datalogger program to
maximize the benefits of the Vosponder. These three commands are:

Send Data Command (XD); transfers the current data values to the

Vosponder so that they can be associated with specified text strings and
then broadcast.

Speak Text Command (XT); sends text strings to the Vosponder to be

broadcast. This command is useful for creating customized alarm
messages.

Speak Now Command (XS); causes the most recent data values and their

associated text strings that are stored on the Vosponder to be broadcast
immediately. This command is useful for causing voice alarms to be
issued based on events or conditions.

This manual assumes that the user is familiar with writing programs for
Campbell Scientific dataloggers. This manual in no way covers all of the
possible programming instructions and program configurations that could be
used to initiate a voice message broadcast from a datalogger.

Several examples are provided to give the user the basic programming
concepts and program structure necessary to send data, text, or commands from
the datalogger through the Vosponder and over the radio link. If you just want
to get a quick idea of how the Vosponder works, then create a program in
EDLOG that is exactly like the one shown in Example 2-1 and then move on to
Section 3. Otherwise, develop your own datalogger program using any or all
of the instructions demonstrated in this section and then move on to Section 3.

IMPORTANT: The data values that you want the Vosponder to verbalize
must be located in consecutive input locations in the datalogger program.

Advertising