2.5.224 RTDOper

The RTDOper structure specifies the variant data returned from an RTD server for real-time data (RTD).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

grbit

rtdVt (variable)

...

grbit (4 bytes): An unsigned integer that specifies the type of the variant data stored in rtdVt. MUST be a value from the following table:

Value

rtdVt Data Type

Meaning

0x00000001

Xnum

The returned variant is an Xnum (section 2.5.342).

0x00000002

RTDOperStr

The returned variant is a RTDOperStr. MUST be less than 256 characters long.

0x00000004

Boolean

The returned variant is a 4-byte Boolean (section 2.5.14) value.

0x00000010

Signed integer

The returned variant is a 4-byte signed integer indicating an error code.

0x00000800

Signed integer

The returned variant is a 4-byte signed integer used for purposes other than an error code.

0x00001000

RTDOperStr

The returned variant is a RTDOperStr. MUST be greater than or equal to 256 characters long.

rtdVt (variable): A structure that contains the variant data. The meaning of the data depends on the specific RTD server. The type of the variant data is specified by grbit.