add pty-gpib-emulator from github
This commit is contained in:
14
pty-gpib-emulator/python/test.sh
Executable file
14
pty-gpib-emulator/python/test.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat < $1 &
|
||||
|
||||
echo "++ver" > $1
|
||||
echo "++addr" > $1
|
||||
echo "++addr 12" > $1
|
||||
echo "++addr" > $1
|
||||
|
||||
while true
|
||||
do
|
||||
read CMD
|
||||
echo $CMD > $1
|
||||
done
|
||||
Reference in New Issue
Block a user