Show/Hide Toolbars

Irinos Measurement System

Navigation: MscDll Reference Guide > Opcodes and parameters > Opcodes: Initialization

opcRCA: Read channel assignment

Scroll Prev Top Next More

This opcode allows reading the current assignment of the measurement channels to the physical measurement inputs. Most applications do not need this opcode.

 

Overview


Opcode:              0x10

Name:                opcRCA

Function:            Read channel assignment

Parameter type:        String

 

DLL-Function


MSC_WriteCommand

 

Request string to the Irinos-System


#{Segmentindex}#

e.g. #1#

Segmentindex

See description of the segments.

 

Response string from the Irinos-System


List        See example

#-1#        Invalid Segment-Index

#-99#        General syntax error of the request string

 

Example response (list)


#1;1;
T1,1,0,1,1;
T2,2,0,1,2;
T3,3,0,1,3;
T4,4,0,1,4;
T5,5,1,1,1;
T6,6,1,1,2;
T7,7,1,1,3;
T8,8,1,1,4;
T9,9,1,1,5;
T10,10,1,1,6;
T11,11,1,1,7;
T12,12,1,1,8
#

The first block is #{Segment};{NumberOfSegments}#

e.g. 1;2

Each additional block defines a logic measurement channel. The meanings of the values are:

T1,1,0,1,1

[a] Channel name (ASCII string, max. 4 characters)

T1,1,0,1,1

[b] Logic channel number in ascending order

T1,1,0,1,1

[c] Number of the Irinos-Box (Box address)

T1,1,0,1,1

[d] Modul-ID. Always 1. For backward compatibility with older systems.

T1,1,0,1,1

[e] Physical channel number within the Irinos-Box [c]. Starts with 1.

 

Segments


For Irinos-Systems with many measurement channels, the complete list cannot be transferred in a single data frame to the PC. Hence it is split up into segments.

If the first segment is requested using the segment-index #1#, the response starts with the same segment-index followed by the total number of segments (e.g. #1;2;). To get the full channel assignment list, this request must be resent with an increasing segment-index, until the total number of segments has been reached.
In case the list is for example split up into 2 segments, the first part must be requested using the segment index #1# and the second part must be requested using the segment index #2#.

By definition the maximum segment size is 32 measurement channels.

 

Comments


During startup of the Irinos-System, the channel assignment list is created automatically. This list is dynamic, it adapts automatically to the available Irinos components.

The channel assignment list corresponds to the channel list 0, which can be requested via the opcode opcRCL. It can even be used as a channel list for a dynamic measurement. However, this is not recommended. Use a separate channel list.