With TypeResolving

The folder With TypeResolving contains blocks that integrate reading and writing via ADS with TypeResolver and, accordingly, further simplify programming in LabVIEW™.

Read TypeResolved

The Read TypeResolved block is a polymorphic block that integrates reading via ADS with TypeResolver. The block offers synchronous and asynchronous reading via ADS.

Read Sync Single TypeResolved

The Read Sync Single TypeResolved block calls the block ADS-Read to receive the ADS data packet (as raw ADS data), synchronously from the ADS server, and then convert it to a LabVIEW™ data type using the block TypeResolver.

With TypeResolving 1:

Input/output

Meaning

[0] Handle

Handle to the ADS client

[5] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[4] Handle

Handle to the ADS client

[8] Read Status?

Read status

[10] RData

TypeResolved ADS raw data as Variant

Read Async Single TypeResolved

The Read Async Single TypeResolved block calls the block ADS-Read to receive the ADS data packet (as raw ADS data) asynchronously from the ADS server and then convert it to a LabVIEW™ data type using the block TypeResolver.

With TypeResolving 2:

Input/output

Meaning

[0] Handle

Handle to the ADS client

[1] Wait?

TRUE = wait for server response (sync)
FALSE (default) = do not wait for server response (async)

[5] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[4] Handle

Handle to the ADS client

[6] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[8] Read Status?

Read status

[10] RData

TypeResolved ADS raw data as Variant

[14] ReadHdl

Handle to the ADS reader

Write TypeResolved

The Write TypeResolved block is a polymorphic block that integrates writing via ADS with TypeResolver. The block offers synchronous and asynchronous writing via ADS.

Write Sync Single TypeResolved

The Write Sync Single TypeResolved block calls the block TypeResolver to convert the LabVIEW™ data type to a TC3 data type and then synchronously send the converted data packet to the ADS server with the call of block ADS-Write.

With TypeResolving 3:

Input/output

Meaning

[0] Handle

Handle to the ADS client

[5] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[9] WData

ADS data package as raw data

[4] Handle

Handle to the ADS client

[8] Write Status?

Write status

[10] Has Matched?

Flag indicating whether conversion and comparison between LabVIEW™ and TC3 data type was successful

Write Async Single TypeResolved

The Write Async Single TypeResolved block calls the block TypeResolver to convert the LabVIEW™ data type to a TC3 data type and then send the converted data packet to the ADS server asynchronously with the call of block ADS-Write.

With TypeResolving 4:

Input/output

Meaning

[0] Handle

Handle to the ADS client

[1] Wait?

TRUE = wait for server response (sync)
FALSE (default) = do not wait for server response (async)

[5] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[9] WData

ADS data package as raw data

[4] Handle

Handle to the ADS client

[6] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[8] Write Status?

Write status

[10] Has Matched?

Flag indicating whether conversion and comparison between LabVIEW™ and TC3 data type was successful

[14] WriteHandle

Handle to the ADS Writer