scope_connect
Establish a connection to a LeCroy oscilloscope using a VISA resource address. Returns the instrument identification string to confirm successful communication.
Instructions
Connect to the LeCroy oscilloscope at the given VISA resource address.
Args: resource_string: VISA address, e.g. 'TCPIP0::192.168.1.111::inst0::INSTR'
Returns the IDN string on success.
Transport: local (opens VISA session, then queries *IDN? via SCPI)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource_string": "<resource_string>"
},
"name": "scope_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_string | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |