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 block Read Sync Single TypeResolved 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 Get TypeResolver.

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 block Read Async Single TypeResolved calls the block Async Single 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 Get TypeResolver.

Input/output | Meaning |
---|---|
[0] Handle | Handle to the ADS client |
[1] Wait? | TRUE = wait for server response (sync) |
[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 block Write Sync Single TypeResolved calls the block Set TypeResolver to convert the LabVIEW™ data type to a TwinCAT 3 data type and then synchronously send the converted data packet to the ADS server with the call of block Sync Single.

Input/output | Meaning |
---|---|
[0] Handle | Handle to the ADS client |
[5] SymbolName | ADS symbol consisting of AMSNetId and symbol name |
[9] WData | ADS data packet 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 TwinCAT 3 data type was successful. |
Write Async Single TypeResolved
The block Write Async Single TypeResolved calls the block Set TypeResolver to convert the LabVIEW™ data type to a TwinCAT 3 data type and then send the converted data packet to the ADS server asynchronously with the call of block Sync Single.

Input/output | Meaning |
---|---|
[0] Handle | Handle to the ADS client |
[1] Wait? | TRUE = wait for server response (sync) |
[5] SymbolName | ADS symbol consisting of AMSNetId and symbol name |
[9] WData | ADS data packet 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 TwinCAT 3 data type was successful. |
[14] WriteHandle | Handle to the ADS Writer |