Description |
Allows the use of COM to send a SCPI command. This method can be used with :SYST:ERR? to convert scpi errors into text. See an example of how to return error information when using the Parse method. Note: The SCPIStringParser Methods can NOT be used with SCPI Status Reporting. However, the *OPC? will work. |
VB Syntax |
Scpi.Execute (SCPI_Command) |
Variable |
(Type) - Description |
scpi |
A ScpiStringParser (Object) |
SCPI_Command |
(String) - Any valid SCPI command |
Return Type |
String |
Default |
Not Applicable |
Examples |
Dim scpi As ScpiStringParser Set scpi = app.ScpiStringParser ErrorString = scpi.Execute("SYST:ERROr?"); |
C++ Syntax |
Execute(BSTR SCPI_Command, BSTR * pQueryResponse); |
Interface |
IScpiStringParser2 |