20 command 2054: set up receive filter, First command option (parameter 5) – Campbell Scientific SDM-SIO4 4-Channel Serial I/O Interface User Manual
Page 45
Section 5. Programming the Datalogger
5-13
5.2.20 Command 2054: Set Up Receive Filter
This command clears all buffers relevant to the mode number and restarts the
filter.
Values per repetition = 0
With the string filter type the SDM-SIO4 buffers are not cleared.
First Command Option (Parameter 5)
Input mode
| String number or character code
| | | |
x x x x
Input Mode:
0 No filter
1 Convert any ASCII numbers to Campbell Scientific floating point up to the
termination character if set
2 Convert any ASCII hex pair to Campbell Scientific floating point up to the
termination character if set
3 Convert 8-bit binary number to Campbell Scientific floating point up to the
termination character if set
4 Convert 16-bit binary number to Campbell Scientific floating point up to the
termination character if set.
8
Transmit a user-defined string 0-255 or fixed string 256-511
9
String filter type. See Filter Strings in Section 2.3.
String Number or Character Code:
If input mode 9 is chosen, this is the user-defined filter string number 0..255 or
fixed filter string 256..511 used for the filter; if the string is not allocated the
filter will not operate. If input mode 8 is chosen, this number is the defined
string 0-255 or fixed string 256-511. If input modes 1 to 4 are chosen, this is
the termination character as an ASCII code 0..255; 999 means character not
enabled.
Minimum delay = 4 +(characters to Tx)*0.26*ports, in
milliseconds.
5.2.21 Command 2304: Transmit String and/or Data to Device
(Formatter/Filter)
This command transmits a string and/or floating point data and optionally sets
up a filter ready for returned data.
Values per repetition for Command 2304 are:
if transmitting a string = 0
if transmitting data from input locations = number of locations
NOTE
NOTE