![Campbell ST21 Скачать руководство пользователя страница 11](http://html1.mh-extra.com/html/campbell/st21/st21_user-manual_3791992011.webp)
User Manual
3
1.5 One
Argos
ID Number
The ArgosDataRepeat() function is most useful when only one Argos ID number
is used. It does not matter how many data buffers use the same ID.
ArgosDataRepeat() allows the selection of which data buffers will be transmitted,
and at what repetition period. When ArgosDataRepeat() is used to start data
transmission, the ST-21 will wait one repetition period between each transmission.
One buffer is transmitted each transmission, regardless of how many buffers have
been enabled. The maximum number of transmissions that can be scheduled with
ArgosDataRepeat() is 255.
2. Datalogger
Programming
There are 5 programming instructions available for use with the ST-21 Argos
PTT: ArgosSetup, ArgosData, ArgosDataRepeat, ArgosTransmit, and ArgosError.
The use of ArgosSetup is optional. ArgosData and ArgosDataRepeat are used to
enable transmission of data. More advanced applications can use ArgosTransmit.
If the setup parameters of the PTT need to be changed, use ArgosSetup first. The
setups are maintained in memory until the PTT resets. Once the setup parameters
are set, use ArgosData followed by ArgosAutoRepeat. Data in a buffer is saved
until the PTT resets or is overwritten by another occurrence of ArgosData. If
either the ArgosDataRepeat or ArgosTransmit instruction tries to use a data buffer
that has not been setup, the instruction will fail.
2.1 Argos
Setup
ArgosSetup (Result Code, Buffer Number, Decimal ID, Hexadecimal ID,
Frequency)
2.1.1 Result
Code
Result Code used to determine if command executed successfully. The Result
Code is set true on success, and false on failure.
2.1.2 Buffer
Number
Buffer Number is the ST-21 buffer to setup. Valid entries are 0 through 6.
2.1.3 Decimal ID Number
The Decimal ID number, and Hexadecimal ID are assigned to the Buffer Number.
Entries must be valid ID numbers or ArgosSetup will return False. The decimal
ID is not a different representation of the same number as the Hexadecimal ID.
The two ID numbers are different.
2.1.4 Frequency
Frequency to be assigned to the Buffer Number. Frequency is in Hertz. Valid
entries: 401630000 to 401656000 in steps of 2000 Hz and 401676000,
401678000, and 401680000 Hz.
2.2 ArgosData
ArgosData (ResultCode, ST21Buffer, DataTable, NumRecords, DataFormat)