Channellist access

:CHANNELlist:NAMes?

Syntax

:CHANNELlist:NAMes?

Description

Queries the long name and ids of all oxygenchannels

Parameter

None

Explanation

Returns a list of elements alternating the numeric channel-id and the channel-name

Return Format

(<String >, <String>)[,(< String >, <String>),…) | NONE

Example

-> :CHANNEL:NAMes?
<- ("5770799963931934732","AI 2/1 Sim"),("5770799963931934733","AI 2/2 Sim")

:CHANNELlist:IDs?

Syntax

:CHANNELlist:IDs? [<channelname>[,<channelname>[,…]]]

Description

Queries the ids of all or selected channels. For selection use the channels long name as parameter.

Parameter

Name

Type

Range

Default

<ChannelName>

ASCII string

None

Explanation

Returns a list of channel-ids.

Return Format

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

Example

-> :CHANNEL:IDs?
<- "5770799963931934732","5770799963931934733"
...
-> :CHANNEL:ID? "AI 2/6 Sim"
<- :CHANNEL:ID "9310347796068433946"
...
-> :CHANNEL:IDs? "AI 2/1 Sim","AI 2/2 Sim"
<- :CHANNEL:ID "7565484415439077397", "7565484415439077398"

:CHANNELlist:ITEM<ChannelID>:ATTR

The following channel config items (properties) should be possible to access (if available for channel type):

Key

Explanation

Type

Neon/Active

Indicates that the selected channel is enabled

Boolean

Neon/LongName

Channel name and device

String

Neon/Name

Channel name

String

Neon/PhysicalScaleFactor

Scale factor for the selected channel

Floating Point

Neon/PhysicalScaleOffset

Scale offset for the selected channel

Floating Point

Neon/Stored

Indicates whether the channel data will be recorded to the datafile

ENUM

Range

Physical measurement range

RANGE

SampleRate

Sample rate (sample frequency) of an oxygen channel

SCALAR

Unit

Physical measurement unit

String

Used

Indicates that the selected channel is enabled

Boolean

You can obtain all possible config items with the query “:CHANNELlist:ITEM<ChannelID>:ATTR:NAMes?” described below.

Since a single config items describes a different aspect of an oxygen channels, they can have different types. This can be a single value of a fundamental type (Boolean) or a compound of values with different types (SCALAR). See the next table to evaluate oxygen config item types:

Config Item Type

SCPI parameter type

Example

Boolean

<Boolean>

ON or TRUE

OFF or FALSE

Signed Integer

Numeric <Nr1> or <Nr2> or <Nr3>

1, -5

Unsigned Integer

Numeric <Nr1> or <Nr2> or <Nr3>

1, 1.0E-5

Floating point

Numeric <Nrf>

3.14, 0.001, 1.0E-5, -5E3

String

<String>

“AI 2/1 Sim”

ENUM

<String>

Literal,<String>,<String>

ENUM,”ChannelStored”,”Auto”

SCALAR

Extended Numeric <Nrf>

<Nrf,>String>

Literal,<Numeric>,<String>

0.01Hz

0.01,”Hz”

SCALAR,0.0,”ms”

RANGE

Extended Numeric <Nrf>,<Nrf>

Literal,<Numeric>,<String>,<Numeric>,<String>

0V,10.0V

RANGE,-10.0,”V”,10.0,”V”

RATIO

(RationalScalar)

<Nr1>,<Nr1>,<String>

Literal,<Numeric>,<Numeric>,<String>,

RATIO,1,3,”V”

For receiving the value of a single item use queries :CHANNELlist:ITEM<ChannelID>:ATTR:VAL? or :CHANNELlist:PROPerty?.

Please note that the spectrum of config items can vary with different channel types. Some of the config items are read only and cannot be changed.

:: test: “:CHANNELlist:ITEM<ChannelID>:ATTR:NAMes?”

:CHANNELlist:ITEM<ChannelID>:ATTR:NAMes?

Syntax

:CHANNELlist:ITEM<ChannelID>:ATTR:NAMes?

Description

Queries the names (keys) of properties (config-items) of a given channel

Parameter

None

Explanation

Returns a list of available attribute names

Return Format

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

Example

-> :CHANNEL:ITEM8316741119689883648:ATTR:NAMes?
<- "ChannelType","DefaultName","Neon/Name","Neon/Stored"

:CHANNELlist:ITEM<ChannelID>:ATTR:VAL?

Syntax

:CHANNELlist:ITEM<ChannelID>:ATTR:VAL? <PropertyName>

Description

Queries a specific property (config-item) of an channel

Parameter

Name

Type

Range

Default

<ChannelID>

Integer

0-18446744073709551615

None

<ParameterName>

ASCII string

None

Explanation

Returns the name of the property as string and the value of the property in the most appropriate format

Return Format

ON | OFF | (<String>,<String>) | (<String>,<NRf>,<String>) | (<String>,<NRf>) | (<String>,<NRf>,<NRf>) | (<String>,<NR1>) | (<String>,<NR1>,<NR1>) | (<String>,<NRf>,<String>,<NRf>,<String>) | NONE

Example

-> :CHANNEL:ITEM5770799963931934732:ATTR:VAL? "Range"
<- (RANGE,-10.0,"V",10.0,"V")

:CHANNELlist:PROPerty?

Syntax

:CHANNELlist:PROPerty? <ChannelID>,<PropertyName>

Description

Queries a specific property (config-item) of an oxygen channel

Parameter

Name

Type

Range

Default

<ChannelID>

ASCII string

Oxygen Id

None

<PropertyName>

ASCII string

None

Explanation

Returns the value(s) of the property in the most appropriate format. For finding possible channel IDs you can use the scpi query :CHANNELlist:NAMes? or :CHANNELlist:IDs? To evaluate all possible property names see query ::CHANNELlist:ITEM<ChannelID>:ATTR:NAMes?

Return Format

ON | OFF | (<String>,<String>) | (<String>,<NRf>,<String>) | (<String>,<NRf>) | (<String>,<NRf>,<NRf>) | (<String>,<NR1>) | (<String>,<NR1>,<NR1>) | (<String>,<NRf>,<String>,<NRf>,<String>) | NONE

Example

-> :CHANNEL:PROPerty? "5770799963931934732","Range"
<- (RANGE,-10.0,"V",10.0,"V")

:CHANNELlist:PROPerty

Syntax

:CHANNELlist:PROPerty <ChannelID>,<PropertyName>,<PARAM>[,<PARAM>[,….]]

Description

Set the value[s] of a specific property (config-item) of a given channel

Parameter

Name

Type

Range

Default

<ChannelID>

ASCII string

Oxygen Id

None

<PropertyName>

ASCII string

None

<PARAM>

Numeric, ASCII string, Mnemonic

None

Explanation

Set the value[s] of a channel specific config item. The number and the type of the value[s] depends from the type of the config item. For finding possible channel IDs you can use the scpi query :CHANNELlist:NAMes? or :CHANNELlist:IDs? To evaluate all possible property names see query ::CHANNELlist:ITEM<ChannelID>:ATTR:Names? Use the CHANNELlist:CONSTRaint query below to see restrictions for the item Please note that some of the attributes are readonly and therefore cannot be set via scpi.

Example

-> :CHANNEL:PROP? "15451287354374881280","Unit"
<- :CHANNEL:PROP "V"
-> :CHANNEL:PROP "15451287354374881280","Unit","A"
-> :CHANNEL:PROP? "15451287354374881280","Unit"
<- :CHANNEL:PROP "A"
...
-> :CHANNEL:PROP? "15451287354374881280","Neon/Stored"
<- :CHANNEL:PROP (ENUM,"ChannelStored","No")
-> :CHANNEL:PROP "15451287354374881280","Neon/Stored","Auto"
-> :CHANNEL:PROP? "15451287354374881280","Neon/Stored”
<- :CHANNEL:PROP (ENUM,"ChannelStored","Auto")
-> :CHANNEL:PROP "15451287354374881280","Neon/Stored",ENUM,"ChannelStored","No"
-> :CHANNEL:PROP? "15451287354374881280","Neon/Stored”
<- :CHANNEL:PROP (ENUM,"ChannelStored","No")

:CHANNELlist:CONSTRaint?

Syntax

:CHANNELlist:CONSTRaint? <ChannelID>,<PropertyName>

Description

Queries the constraints of a specific property (config-item) of a given channel

Parameter

Name

Type

Range

Default

<ChannelID>

ASCII string

0-18446744073709551615

None

<PropertyName>

ASCII string

None

Explanation

Returns the constraints(s) of a channel property in the most appropriate format. For finding possible channel IDs you can use the :CHANNELlist:NAMes? or :CHANNELlist:IDs? query To evaluate all possible property names see query :CHANNELlist:ITEM<ChannelID>:ATTR:Names?

Return Format

(<String>,<String>) | (<String>,<NRf>,<String>) | (<String>,<NRf>) | (<String>,<NRf>,<NRf>) | (<String>,<NR1>) | (<String>,<NR1>,<NR1>) | (<String>,<NRf>,<String>,<NRf>,<String>) | NONE

Example

-> :CHANNEL:CONSTR? "3348707789336739861","InputType"
<- :CHANNEL:CONSTR (STRING,"SE"),(STRING,"DIFF")

:CHANNELlist:ITEM<ChannelID>:ACTion:ZERO

Syntax

:CHANNELlist:ITEM<ChannelID>:ACTion:ZERO

Description

Calls the zero action of the given oxygen channel

Parameter

Name

Type

Range

Default

<ChannelID>

Integer

0-18446744073709551615

None

Explanation

The zero action resets the offset of the linear scaling function

Example

-> :CHANNEL:ITEM5770799963931934732:ACTION:ZERO

:CHANNELlist:ACTion:ZERO

Syntax

:CHANNELlist:ACTion:ZERO <channelname_or_id>[,<channelname_or_id>[,…]]

Description

Calls the zero action for a set of channels

Parameter

Name

Type

Range

Default

<channelname_or_id>

ASCII string

Oxygen channel name or Id

None

Explanation

The zero action resets the offset of the linear scaling function for a set of channels.

Example

-> :CHANNELlist:ACTion:ZERO "16823196399452553216","AI 1/2 Sim"

:CHANNELlist:TIMing:HIGHest?

Syntax

:CHANNELlist:TIMing:HIGHest?

Description

Queries the highest timing interval from all used channels

Parameter

None

Explanation

Returns the timing interval of the channel with the lowest sample rate in seconds

Return Format

<NRf>|NONE

Example

-> :CHANNELlist:TIMing:HIGHest?
<- :CHANNEL:TIM:HIGH 1.0E-3

:CHANNELlist:TIMing:LOWest?

Syntax

:CHANNELlist:TIMing:LOWest?

Description

Queries the lowest timing interval from all used channels

Parameter

None

Explanation

Returns the timing interval of the channel with the highest sample rate in seconds

Return Format

<NRf>|NONE

Example

-> :CHANNELlist:TIMing:LOWest?
<- CHANNEL:TIM:LOW 1.0E-4

:CHANNELlist:SATuration:VALue?

Syntax

:CHANNELlist:SATuration:VALue? {ALL | <ChannelID>)

Description

Queries the saturation of all or a selected oxygen scalar channel

Parameter

Name

Type

Range

Default

ALL

Literal

None

<ChannelID>

ASCII string

Oxygen Id

None

Explanation

Returns the saturation in % since acquisition start.

Return Format

<NRf>|NONE

Example

-> :CHANNELlist:IDs? "AI 2/1 Sim"
<- :CHANNEL:ID "17770359696083910677"
...
-> :CHANNELlist:SATuration:VALue? "17770359696083910677"
<- :CHANNEL:SAT:VAL 79.999988079070334
...
-> :CHANNELlist:SATuration:VALue? ALL
<- :CHANNEL:SAT:VAL ("4045076881718902815",1.420911867502358E-2),("4045076881718902816",97.500000002468752),
("4045076881718902819",1.420911867502358E-2),("17770359696083910677",79.999988079070334)

:CHANNELlist:SATuration:RESet

Syntax

:CHANNELlist:SATuration:RESet

Description

Resets the saturation of all oxygen scalar channels

Parameter

None

Explanation

Rejects the saturation value of all oxygen scalar channels and restarts saturation calculation again.

Example

-> :CHANNELlist:IDs? "AI 2/1 Sim"
<- :CHANNEL:ID "17770359696083910677"
...
-> :CHANNELlist:SATuration:VALue? "17770359696083910677"
<- :CHANNEL:SAT:VAL 79.999988079070334
...
-> :CHANNELlist:SATuration:RESet
-> :CHANNELlist:SATuration:VALue? "17770359696083910677"
<- :CHANNEL:SAT:VAL 10.942228000000001