Installation & Setup
Hardware Transports
Connection URI syntax, timeout behavior, and platform boundaries.
URI forms
| Transport | URI |
|---|---|
| Direct TCP/IP | tcp://192.0.2.10:55255 |
| Direct GPIB | gpib://0/11 |
| Prologix Ethernet | prologix-tcp://192.0.2.20:1234?addr=11 |
| Prologix serial | prologix-serial:///dev/cu.usbserial-XXXX?addr=11 |
| Windows VISA | visa:RESOURCE |
addr is the target instrument's GPIB primary address, not the Prologix
controller address. read_timeout_ms defaults to 3000. Serial connections also
accept baud_rate, with a default of 115200 and a strictly positive value.
Connection check
pmoke instruments query \
--connection 'prologix-tcp://192.0.2.20:1234?addr=17' \
'*IDN?'Addresses above use documentation-only TEST-NET space. Replace them with the laboratory network assignment.