-
Notifications
You must be signed in to change notification settings - Fork 5
sdmsh : Commands and Parameters
komar edited this page May 9, 2021
·
3 revisions
value | description | usage |
config | Config SDM command | config <threshold> <gain> <source level> [<preamp_gain>] |
usbl_config | Config SDM USBL command | usbl_config <delay> <samples> <gain> <sample_rate> |
stop | Stop SDM command | stop |
ref | Update reference signal | ref [<number of samples>] [<driver>:]<params> |
tx | Send signal | tx [<number of samples>] [<driver>:]<parameter> |
rx | Receive signal [0 is inf] | rx <number of samples> [<driver>:]<params> [[<driver>:]<params>] |
rx_janus | Receive signal [0 is inf] | rx_janus <number of samples> [<driver>:]<params> [[<driver>:]<params>] |
usbl_rx | Receive signal from USBL channel | usbl_rx <channel> <number of samples> [<driver>:]<params> |
systime | Request systime | systime |
waitsyncin | Wait SYNCIN message | waitsyncin |
usleep | Delay in usec | usleep <usec> |
source | Run commands from file | source <source-file> |
help | This help | help |
history | Display history. Optional [number-lines] by default is 10 | history [number-lines] |
value | description |
0 | normal |
1 | low, -20 dB |
value | description |
0 | max |
1 | 75%, -6 dB |
2 | 50%, -12 dB |
3 | min, -20 dB |
value | description |
0 | auto |
1 | 0 dB |
2 | +6 dB |
3 | +12 dB |
4 | +18 dB |
5 | +24 dB |
6 | +30 dB |
7 | +36 dB |
8 | +42 dB |
9 | +48 dB |
10 | +54 dB |
11 | +60 dB |
12 | +66 dB |
13 | +72 dB |
value | description |
0 | 250 kHz, default |
1 | 1000 kHz |
2 | 500 kHz |
3 | 250 kHz |
4 | 125 kHz |
5 | 62.5 kHz |
6 | 31.25 kHz |
ascii | ascii:<filename> or file extension ".dat" or ".txt" | This is default driver File format: float (-1.0 .. 1.0) or short integer (-32768 .. 32767) as text line, one value per line. Empty lines and '#' or '//' comments is allowed. |
raw | raw:<filename> or file extension ".raw", ".bin", ".dmp" or ".fifo" | Binary format: int16_t per value |
tcp | tcp:<connect|listen>:<ip>:<port> | Opens TCP socket to send or receive data, int16_t per value |
popen | popen:"command-line" | Call external program to send or receive data, int16_t per value |