Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Communication Drivers

OPC to ArchestrA Conversions

  • Last UpdatedAug 19, 2024
  • 1 minute read

In the case of the Gateway Communication Driver receiving (write) data from an OPC source and sending it to an ArchestrA client, it converts OPC types to ArchestrA types as follows:

Note: Write failures can occur if the target ArchestrA attribute is a non-coercible type. In this case, the Gateway Communication Driver returns a failed write status to the client.

OPC Variant Type

ArchestrA Type

Comments

VT_EMPTY

Not supported

Reject write.

VT_NULL

Not supported

Reject write.

VT_I2

Integer

VT_I4

Integer

VT_R4

Float

VT_R8

Float

Reject write if outside of valid float range.

VT_CY

String

VT_DATE

String

VT_BSTR

String

Reject write if too large.

VT_DISPATCH

Not supported

Reject write.

VT_ERROR

Integer

VT_BOOL

Boolean

VT_VARIANT

Not supported

Reject write.

VT_DECIMAL

Float

FVT_RECORD

Not supported

Reject write.

VT_UNKNOWN

Not supported

Reject write.

VT_I1

Integer

VT_UI1

Integer

VT_UI2

Integer

VT_UI4

Integer

Reject write if too large.

VT_INT

Integer

VT_UINT

Integer

Reject write if too large.

VT_VOID

Not supported

Reject write.

VT_HRESULT

Integer

VT_PTR

Not supported

VT_SAFEARRAY

Not supported

Reject write.

VT_CARRAY

Not supported

Reject write.

VT_USERDEFINED

Not supported

Reject write.

VT_LPSTR

String

Reject write if too large.

VT_LPWSTR

String

Reject write if too large.

VT_FILETIME

String

VT_BLOB

Not supported

Reject write.

VT_STREAM

Not supported

Reject write.

VT_STORAGE

Not supported

Reject write.

VT_STREAMED_OBJECT

Not supported

Reject write.

VT_STORED_OBJECT

Not supported

Reject write.

VT_BLOB_OBJECT

Not supported

Reject write.

VT_CF

Not supported

Reject write.

VT_CLSID

String

VT_VECTOR

Not supported

Reject write.

VT_ARRAY

Not supported

Reject write.

VT_BYREF

Not supported

Reject write.

VT_RESERVED

Not supported

Reject write.

TitleResults for “How to create a CRG?”Also Available in