Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 559 Bytes

EXAMPLES-VXI11.md

File metadata and controls

24 lines (18 loc) · 559 Bytes

VXI examples

Set

H="Content-Type: application/json"
URL=http://localhost:9009/

and use it this way

curl -H "$H" -d "$D" -X POST $URL --noproxy "*"

SRG VM212

D='{"TaskName": "vxi-test", "Action":"VXI11", "Device":"gpib0,26", "Host":"e75465", "Value":"", "Wait":30000, "PostScript":"vm212.read-out", "PostScriptInput":{"Type":"srg"}, "Repeat":5}'

QBS Ruska 7017

D='{"TaskName": "vxi-test", "Action":"VXI11", "Device":"gpib0,4", "Host":"e75416", "Value":"MEAS:PRES?\n", "Wait":1000, "Repeat":5}'