usbtmc_send
Send SCPI SET commands to a connected USBTMC device to configure its settings, without waiting for a response.
Instructions
Send a SCPI command to a specific USBTMC device.
Use for SET commands (without '?') that configure device settings. For QUERY commands (with '?'), use usbtmc_query() instead.
This function only sends data; use usbtmc_receive() to read responses, or use usbtmc_query() for send+receive in one operation.
Args: params (SendInput): Input containing: - device_id (int): The unique identifier returned by usbtmc_connect() - command (str): SCPI command string to send
Returns: dict: Result containing: - success (bool): Whether the send was successful - device_id (int): The target device_id - command (str): The command that was sent - message (str): Success or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||