write_digital
Set a digital output line high or low on NI DAQ hardware. Confirms the line's state after the write by reading from the device.
Instructions
Set a digital output line high or low.
Requires DAQ_MCP_ALLOW_WRITE=1. Returns the line's state after the write (read back from hardware, not echoed) so the model can confirm the effect.
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": {
"channel": "<channel>",
"value": "<value>"
},
"name": "write_digital"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| channel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||