OpenTAP 9.25
API Reference
|
Represents a connection to talk to any SCPI-enabled instrument. More...
Public Member Functions | |
void | ScpiCommand (string command) |
Sends a SCPI command to the instrument. More... | |
string | ScpiQuery (string query, bool isSilent=false) |
Sends a SCPI query to the instrument and waits for a response. More... | |
void | ScpiIEEEBlockCommand (string command, byte[] data) |
Sends a IEEE Block SCPI command to the instrument. | |
byte[] | ScpiQueryBlock (string query) |
Sends a IEEE Block SCPI query to the instrument and waits for a response. The response is assumed to be IEEE block data. More... | |
Public Member Functions inherited from OpenTap.IResource | |
void | Open () |
When overridden in a derived class, opens a connection to the resource represented by this class. | |
void | Close () |
When overridden in a derived class, closes the connection made to the resource represented by this class. | |
Properties | |
IScpiIO | IO [get] |
Get access to the low-level primitives of the connection. | |
Properties inherited from OpenTap.IResource | |
string | Name [getset] |
A short name to display in the user interface in areas with limited space. | |
bool | IsConnected [get] |
Indicates whether this DUT is currently connected. This value should be set by Open() and Close(). | |
Represents a connection to talk to any SCPI-enabled instrument.
void OpenTap.IScpiInstrument.ScpiCommand | ( | string | command | ) |
Sends a SCPI command to the instrument.
command | The command to send. |
Non-blocking.
Implemented in OpenTap.ScpiInstrument.
string OpenTap.IScpiInstrument.ScpiQuery | ( | string | query, |
bool | isSilent = false |
||
) |
Sends a SCPI query to the instrument and waits for a response.
query | The SCPI query to send. |
isSilent | True to suppress log messages. |
Implemented in OpenTap.ScpiInstrument.
byte[] OpenTap.IScpiInstrument.ScpiQueryBlock | ( | string | query | ) |
Sends a IEEE Block SCPI query to the instrument and waits for a response. The response is assumed to be IEEE block data.
query | The SCPI query to send. |
Implemented in OpenTap.ScpiInstrument.
OpenTAP 9.25 API built Tue Aug 6 2024 07:49:24