File: test.sh

package info (click to toggle)
lxi-tools 2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,956 kB
  • sloc: ansic: 6,110; xml: 146; sh: 24; python: 12; makefile: 5
file content (20 lines) | stat: -rwxr-xr-x 382 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
IP=$1
SCPI="lxi scpi --address $IP"

$SCPI "*IDN?"
$SCPI ":autoscale"
$SCPI ":stop"
$SCPI ":run"
$SCPI ":clear"
$SCPI ":tforce"
$SCPI ":single"

$SCPI ":CHANnel1:DISPlay on"
$SCPI ":CHANnel2:DISPlay on"
$SCPI ":CHANnel3:DISPlay on"
$SCPI ":CHANnel4:DISPlay on"

$SCPI ":CHANnel1:DISPlay off"
$SCPI ":CHANnel2:DISPlay off"
$SCPI ":CHANnel3:DISPlay off"
$SCPI ":CHANnel4:DISPlay off"