Synchronisation Queries

:SYNC:STATe?

Syntax

:SYNC:STATe?

Description

Query the current synchronization hardware state

Parameter

None

Explanation

Returns synchronization hardware state

  • IN_SYNC: hardware is synced (corresponds to the green sync symbol)

  • SYNCING: hardware is syncing (corresponds to the yellow sync symbol)

  • OUT_OF_SYNC: current state is not synced (corresponds to the red sync symbol)

  • SYNC_UNAVAILABLE: internal sync source is used (corresponds to the grey sync symbol)

  • ERROR: sync validation error or no valid sync hardware found (corresponds to the red sync symbol)

Return Format

Literal

Example

-> :SYNC:STATe?
<- :SYNC:STATe IN_SYNC

:SYNC:ENCLOSURES[:LIST]?

Syntax

:SYNC:ENCLOSURES[:LIST]?

Description

Returns the most important information about all enclosures in the system.

Parameter

None

Explanation

Returns Name, Serial number and Nodename for all enclosures.

Return Format

(<String>,<String>,<String>)[, …]

Example

-> :SYNC:ENCLOSURES?
<- :SYNC:ENCLOSURES ("DEWE3-A4","8008098",""),("DEWE3-A4","12323","shienar")

:SYNC:ENClosure[<ENR>]:NAME?

Syntax

:SYNC:ENClosure[<ENR>]:NAME?

Description

Returns the name of the selected enclosure

Parameter

Name

Type

Range

Default

<ENR>

NR1

Enclosure number in the range [1, enclosure_count]

1

Explanation

Returns the name.

Return Format

<String>

Example

-> :SYNC:ENC1:NAME?
<- :SYNC:ENC1:NAME "DEWE3-A4"

:SYNC:ENClosure[<ENR>]:SERIal?

Syntax

:SYNC:ENClosure[<ENR>]:SERIal?

Description

Returns the serial number of the selected enclosure

Parameter

Name

Type

Range

Default

<ENR>

NR1

Enclosure number in the range [1, enclosure_count]

1

Explanation

Returns the string representation of the serial number

Return Format

<String>

Example

-> :SYNC:ENC1:SERI?
<- :SYNC:ENC1:SERI "1234123"

:SYNC:ENClosure[<ENR>]:NODEName?

Syntax

:SYNC:ENClosure[<ENR>]:NODEName?

Description

Returns the name of the parent node of the selected enclosure

Parameter

Name

Type

Range

Default

<ENR>

NR1

Enclosure number in the range [1, enclosure_count]

1

Explanation

Returns the name of the parent node, or an empty string if the enclosure is owned by the local node.

Return Format

<String>

Example

-> :SYNC:ENC1:NODEN?
<- :SYNC:ENC1:NODEN "shienar"

:SYNC:ENClosure[<GRP>]:IN[<INR>]:MODE?

Syntax

:SYNC:ENClosure[<GRP>]:IN[<INR>]:MODE?

Description

Returns the current mode of the synchronization input

Parameter

Name

Type

Range

Default

<ENR>

NR1

Enclosure number in the range [1, enclosure_count]

1

<INR>

NR1

The only supported value is 1

1

Explanation

Returns the currently selected sync mode for the enclosure

Return Format

<String>

Example

-> :SYNC:ENC1:IN:MODE?
<- :SYNC:ENC1:IN:MODE "GPS"

:SYNC:ENClosure[<GRP>]:OUTPUTS[:LIST]?

Syntax

:SYNC:ENClosure[<GRP>]:OUTPUTS[:LIST]?

Description

Returns information about the sync output connectors of the selected enclosure

Parameter

Name

Type

Range

Default

<ENR>

NR1

Enclosure number in the range [1, enclosure_count]

1

Explanation

Returns the name, connector name and selected mode of the sync output

Return Format

(<String>,<String>,<String>)[, …] or NONE if there is no sync connector.

Example

-> :SYNC:ENC:OUTPUTS:LIST?
<- :SYNC:ENC1:OUTPUTS ("SyncOut2","SYNC","TRION/DEWE2SyncOut"),("SyncOutAux","AUX","None"),("SyncOutPtp","PTP","None")

-> :SYNC:ENC2:OUTPUTS?
<- :SYNC:ENC2:OUTPUTS NONE

:SYNC:ENClosure[<GRP>]:OUT[<ONR>]:NAME?

Syntax

:SYNC:ENClosure[<GRP>]:OUT[<ONR>]:NAME?

Description

Returns the name of the specified synchronization output

Parameter

Name

Type

Range

Default

<ENR>

NR1

Enclosure number in the range [1, enclosure_count]

1

<ONR>

NR1

Index of the sync output port

1

Explanation

Returns the name of the sync output

Return Format

<String>

Example

-> :SYNC:ENC1:OUT3:NAME?
<- :SYNC:ENC1:OUT3:NAME "SyncOutPtp"

:SYNC:ENClosure[<GRP>]:OUT[<ONR>]:CONNector?

Syntax

:SYNC:ENClosure[<GRP>]:OUT[<ONR>]:CONNector?

Description

Returns the connector name of the specified synchronization output

Parameter

Name

Type

Range

Default

<ENR>

NR1

Enclosure number in the range [1, enclosure_count]

1

<ONR>

NR1

Index of the sync output port

1

Explanation

Returns the name of the sync output connector

Return Format

<String>

Example

-> :SYNC:ENC1:OUT3:CONN?
<- :SYNC:ENC1:OUT3:CONN "PTP"

:SYNC:ENClosure[<GRP>]:OUT[<ONR>]:MODE?

Syntax

:SYNC:ENClosure[<GRP>]:OUT[<ONR>]:MODE?

Description

Returns the current mode of the specified synchronization output connector

Parameter

Name

Type

Range

Default

<ENR>

NR1

Enclosure number in the range [1, enclosure_count]

1

<ONR>

NR1

Index of the sync output port

1

Explanation

Returns the currently selected sync mode for the connector

Return Format

<String>

Example

-> :SYNC:ENC1:OUT2:MODE?
<- :SYNC:ENC1:OUT2:MODE "None"