Strrd [string number, Exit, 4 advanced commands – Campbell Scientific SDM-SIO4 4-Channel Serial I/O Interface User Manual

Page 29: Version, Reset, Ramtest, Changeport [port, Portset

Advertising
background image

Section 4. Programming the SDM-SIO4

4-3

strrd [string number]

This command outputs the stored string or definition 0..255 to the command
line.

1. When string definitions are stored, all control characters are

converted and so the string may not be identical to the one
you typed in.

2. Formatter and filter strings cannot be read by this command

because they are compiled.

exit

This command exits the command line and returns port 1 of the SDM-SIO4 to
normal operation.

4.4 Advanced Commands

version

This returns the internal EPROM part number, signature and the string
signature if good or 0 if bad. This will give the same signature as Campbell
Scientific’s SIG.COM PC program.

portset

[port#] [baud#] [data length] [stop bits] [parity] [handshake

mode] [delay]

This sets up the port 1..4 to the communication format you require.

‘port #’ means the port number (1..4) to set up. For details of the other
parameters (baud #...delay) see Appendix B.

reset

The SDM-SIO4 is set to a known default state. All strings, filters and
formatters are erased, ports are set to 9600 baud, 1 stop bit, no parity and no
handshake. All transmit and receive buffers are flushed. All error counts are
zeroed.

ramtest

The system RAM is tested and the SDM-SIO4 is then reset. The string ‘

Ram

test pass

’ is returned if the RAM is OK or ‘

Ram test fail

’ if some part

of the memory failed.

changeport [port #]

This command changes the port for which the command line is available. This
command line port setting will stay in effect for further sessions until a new

NOTE

Advertising