:INSTrument:CONNected?

Flex Apps:
FlexOTO
FlexOTO Instance:
Hardware Diagram

Query Syntax

:INSTrument{1:8}:CONNected?

Where {1:8} specifies one of eight Instrument blocks that can be created on the User Instruments palette.

Query Response

{1 | 0}

Description

Returns a 1 if the selected instrument driver is connected (running) which indicates that the Instrument block is available on the User Instruments palette or 0 if the instrument driver is not connected. To connect the instrument driver, use the :INSTrument:RDRiver command.

Example

state = hwdiagram.query(':INSTrument4:CONNected?')