Open a VISA instrument
open_instrumentEstablish a VISA connection to a SCPI instrument over LAN, USB, GPIB, or serial; optionally query *IDN? to identify it.
Instructions
Open an instrument and optionally query *IDN?.
Bare IPs become TCPIP::::INSTR. host:port becomes a raw TCP SOCKET, which is what many LAN scopes want on port 5025 (Rigol DS1000Z: 5555).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identify | No | ||
| resource | Yes | VISA name, IPv4, hostname, or host:port. Example: TCPIP::192.168.1.10::INSTR or 192.168.1.10 or 192.168.1.10:5025 | |
| baud_rate | No | ||
| timeout_ms | No | ||
| read_termination | No | ||
| write_termination | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| notes | No | ||
| serial | No | ||
| dialect | No | ||
| firmware | No | ||
| identity | No | ||
| resource | Yes | ||
| interface | No | ||
| timeout_ms | No | ||
| manufacturer | No | ||
| instrument_class | No |