ASCII line-based instrument control (oscilloscopes, PSUs, DMMs). Baud is configured manually on both sides -- no auto-negotiation -- and commonly must match exactly or the instrument just doesn't respond, with no error reported at all. Chains multiple independent commands onto one physical line via ';', which compoundMessageDelimiter exists specifically for.
Physical UART Transport (9600 bps, 8N1.0)
Send command Identify (ID: *IDN?)
*IDN? System identification query.
Available only on servers:
Accepts the following message:
*IDN? System identification query.
{
"command_id": "*IDN?"
}
Send command Reset (ID: *RST)
*RST System reset command.
Available only on servers:
Accepts the following message:
*RST System reset command.
{
"command_id": "*RST"
}
Send command ClearStatus (ID: *CLS)
*CLS Clear status registers.
Available only on servers:
Accepts the following message:
*CLS Clear status registers.
{
"command_id": "*CLS"
}
Send command MeasureVoltageDC (ID: MEAS:VOLT:DC?)
MEAS:VOLT:DC? Measure DC voltage in Volts.
Available only on servers:
Accepts the following message:
MEAS:VOLT:DC? Measure DC voltage in Volts.
{
"command_id": "MEAS:VOLT:DC?"
}
Send command MeasureCurrentDC (ID: MEAS:CURR:DC?)
MEAS:CURR:DC? Measure DC current in Amperes.
Available only on servers:
Accepts the following message:
MEAS:CURR:DC? Measure DC current in Amperes.
{
"command_id": "MEAS:CURR:DC?"
}
Send command SetVoltageOutput (ID: SOUR:VOLT )
SOUR:VOLT Set programmable power supply output voltage.
Available only on servers:
Accepts the following message:
SOUR:VOLT Set programmable power supply output voltage.
{
"command_id": "SOUR:VOLT ",
"voltage": 0
}
Unsolicited telemetry message IdentifyResult (ID: IdentifyResult)
e.g. 'ACME,MM7,SN12345,FW2.1'
Available only on servers:
Accepts the following message:
e.g. 'ACME,MM7,SN12345,FW2.1'
{
"manufacturer": "string",
"model": "string",
"serial": "string",
"firmware": "string"
}
*IDN? System identification query.
*RST System reset command.
*CLS Clear status registers.
MEAS:VOLT:DC? Measure DC voltage in Volts.
MEAS:CURR:DC? Measure DC current in Amperes.
SOUR:VOLT Set programmable power supply output voltage.
e.g. 'ACME,MM7,SN12345,FW2.1'