# :INSTrument:CONNection:SELection

:INSTrument Connection Commands

- :INSTrument:CONNection:ADDRess
- :INSTrument:CONNection:CMEThod?
- :INSTrument:CONNection:CONNect
- :INSTrument:CONNection:DISConnect
- :INSTrument:CONNection:SELection
- :INSTrument:CONNection:STATe?

## Command Syntax

    :INSTrument:CONNectionN:SELection {VFCHannel | VECHannel | EMPTy}

Where N identifies a specific instrument by connection number and must be selected from {1:8}. For example, `:CONNection2`.

## Query Syntax

    :INSTrument:CONNectionN:SELection?

## Query Response

    {XR8 | VFCH | VECH | EMPT}

## Description

Queries instrument connections or assigns simulated oscilloscopes to connections.

When Infiniium is running on an oscilloscope:

- The oscilloscope always occupies connection 1, and it cannot be removed or moved to another connection. For example, with an Infiniium XR8 oscilloscope, the `:INSTrument:CONNection1:SELection?` query returns `XR8`.
- You can use the `:INSTrument:CONNection{2:8}:SELection` commands to assign a virtual 4-channel oscilloscope `VFCHannel` or virtual 8-channel oscilloscope `VECHannel` to the specified connection. Or, you can clear the specified connection using the `EMPTy` parameter.

When Infiniium is running on a PC:

- A virtual 4-channel oscilloscope is assigned to connection 1 by default.
- You can use the `:INSTrument:CONNection{1:8}:SELection` commands to assign a virtual 4-channel oscilloscope `VFCHannel` or virtual 8-channel oscilloscope `VECHannel` to the specified connection. Or, you can clear the specified connection using the `EMPTy` parameter.

Use the commands in the `:SOURce Subsystem` subsystem to configure a virtual oscilloscope's waveforms.

## Example Command Sequence

    :INSTrument:CONNection2:SELection EMPTy /* Remove instrument at connection 2 */
    :INSTrument:CONNection2:SELection VFCHannel /* Assign virtual 4-channel real-time oscilloscope to connection 2 */