SCPI.PROGram.QUERy_Q cmd, ret

Object Type

Property (Read Only)

Syntax

Value = SCPI.PROGram.QUERy_Q cmd, ret

Description

This command gets query to VBA.

Variable

Parameter

   cmd

Description

Query to VBA

Data Type

Character string type (String)

Range

254 chars

Preset Value

-

Unit

-

Resolution

-

Preset Effect

No

Save-Recall Effect

No

Error

92, "Program not running"

 

Parameter

   ret

Description

Query to VBA

Data Type

Character string type (String)

Range

-

Preset Value

-

Unit

-

Resolution

-

Preset Effect

No

Save-Recall Effect

No

Error

93, "Program command error"

Examples

Dim Var as Variant
Var = SCPI.PROGram.QUERy_Q cmd, ret

Equivalent Key

No equivalent key is available on the front panel.

Equivalent SCPI Command

Syntax

:PROGram:QUERy?

Query Response

{254 chars -} <newline><^END>

Example of use

10 OUTPUT 717;":PROGram:QUERy ?"
20 ENTER 717;A$