connect
Establishes a link to a UNI-T UTS spectrum analyzer over auto, VXI-11, or raw SCPI/TCP, returning identification and transport; use auto to discover one analyzer on the local network.
Instructions
Connect to a UNI-T UTS series spectrum analyzer over auto (default: VXI-11 when the instrument offers it, else raw SCPI/TCP), VXI-11 or raw SCPI/TCP. Returns the instrument identification and the transport in use. Use host "auto" (or UTS_IP=auto) to find the analyzer on the local network when exactly one answers. Using the analyzer puts it in remote mode and locks its front panel until Esc is pressed on the analyzer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP address of the analyzer (defaults to the UTS_IP env var); "auto" discovers it on the local network (see discover_instruments) | |
| name | No | Instrument name (1-32 letters, digits, '_' or '-'). Default: the `default` instrument, or the only one configured. See list_instruments. connect creates the name when it is new (host and port then come from the arguments or UTS_INSTRUMENTS) | |
| port | No | TCP port of the raw transport (defaults to the UTS_PORT env var, then 5025); VXI-11 finds its own port through the portmapper on port 111 | |
| transport | No | raw, vxi11 or auto (defaults to the UTS_TRANSPORT env var, then auto; raw when only a port is given). The VXI-11 device name comes from UTS_VXI11_DEVICE (default inst0) |