pmokeDOCS
Installation & Setup

Hardware Transports

Connection URI syntax, timeout behavior, and platform boundaries.

URI forms

TransportURI
Direct TCP/IPtcp://192.0.2.10:55255
Direct GPIBgpib://0/11
Prologix Ethernetprologix-tcp://192.0.2.20:1234?addr=11
Prologix serialprologix-serial:///dev/cu.usbserial-XXXX?addr=11
Windows VISAvisa: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.

On this page