TypeResolver

The TypeResolver block is a polymorphic VI and supports the following operation modes to convert data types:

To TC

The TypeResolver block in operation mode To TC initializes the TypeResolver, compares the LabVIEW™ data type with the TC3 data type, and converts the LabVIEW™ data to ADS raw data. The block then releases the TypeResolver from the memory.

Further information can be found in the section Resolving ADS data stream for TwinCAT 3.

TypeResolver 1:

Input/output

Meaning

[0] Handle

Handle to the ADS client

[5] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[9] WData

Raw data for ADS-Write

[4] Handle

Handle to the ADS client

[6] bHasMatched

Flag (TRUE if TwinCAT 3 and LabVIEW™ data type are identical, otherwise FALSE)

[10] ADSWData

Type-resolved ADS write value

From TC

The TypeResolver block in operation mode From TC initializes the TypeResolver, parses and converts the ADS data read by TwinCAT using ADS-Read into the LabVIEW™ data type Variant. The Type Release block releases the TypeResolver from memory.

Further information can be found in the section Resolving ADS data stream for TwinCAT 3.

TypeResolver 2:

Input/output

Meaning

[0] Handle

Handle to the ADS client

[5] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[9] ADSRData

Raw data from ADS-Read

[4] Handle

Handle to the ADS client

[8] RDataArray

Type-resolved ADS read array for the LabVIEW™ data type

[10] RData

Type-resolved ADS read value for the LabVIEW™ data type