Specifications

542 Chapter 18
COM Interface Reference
SCPI object
Enter method
Explanation Reads the returned value of an E4991A GPIB command executed by Query using the
Output method.
VB syntax Application.SCPI.Enter(Res,[fmt])
or
SCPI.Enter(Res,[fmt])
Parameter fmt: Specifies option parameters.
The method of reading data can be specified by the following option parameters.
These option parameters can be used in combination, and also it is not necessary to specify
one. For details on using option parameters, refer to
“How to read array data” on page 544.
Response Res: Sends back the response to Query command.
Data type should be specified as variant. When specifying a data type other than variant,
refer to the description of Query response of applicable GPIB commands in
Chapter 17,
“GPIB Command Reference,” on page 275.
Examples The following is a program example of using the Enter method.
Example 18-17 Example of using Enter method
Dim Trace_data As Variant
Application.SingleMeasure
Application.SCPI.Output "FORM:DATA ASC"
Application.SCPI.Output "CALC1:DATA? FDATA"
Application.SCPI.Enter Trace_data, "#"
# Receives data divided by comma (,).
* Skips data and clears one data item in the queue.