Notification

The Notification folder contains additional blocks that can be used with ADS notifications when reading. The folder contains the following VIs:

ADS To LabVIEW Timestamp

The ADS To LabVIEW Timestamp block is a polymorpohic VI and supports single and multiple ADS timestamps (as array). The block converts ADS timestamps, as transmitted by an ADS notification from TwinCAT, into LabVIEW™ timestamps.

Notification Timestamp Single

The Notification Timestamp Single block converts single ADS timestamps to LabVIEW™ timestamps.

Notification 1:

Input/output

Meaning

[1] ADS Timestamp

Single ADS timestamp

[0] LabVIEW Timestamp

Single converted LabVIEW™ timestamp

Notification Timestamp Buffered

The Notification Timestamp Buffered block converts multiple ADS timestamps to LabVIEW™ timestamps.

Notification 2:

Input/output

Meaning

[1] ADS Timestamp

Array of ADS timestamps

[0] LabVIEW Timestamp

Array of converted LabVIEW™ timestamps

Notification Data To Variant Array

The Notification Data To Variant Array block converts ADS raw data that has been read with ADS notification into a suitable LabVIEW™ Variant.

Notification 3:

Input/output

Meaning

[11] Notification Data

ADS raw data

[10] Samples

Number of samples

[3] Notification Data

Converted raw data in LabVIEW™ variant

Stop Notification

The Stop Notification block stops receiving ADS notifications.

Notification 4:

Input/output

Meaning

[5] Notification/Reader handle

Handle to the ADS Notification/Reader

[2] Notification/Reader handle

Handle to the ADS notification/ADS reader

[1] Has stopped?

Boolean flag (TRUE if notification is stopped, FALSE otherwise)

Start Notification

The Start Notification block starts the registered notification.

Notification 5:

Input/output

Meaning

[5] Reader Handle

Handle to the ADS reader

[2] Reader Handle

Handle to the ADS reader

[1] Has started?

Boolean flag (TRUE if notification is started, FALSE otherwise)

Unregister Notification

The Unregister Notification block unregisters the notification on the ADS server.

Notification 6:

Input/output

Meaning

[0] Handle

The handle to the client (can also be left blank)

[5] Reader Handle

The handle to the ADS reader

[4] Handle

The handle to the client

[6] Reader Handle

The handle to the ADS reader

[8] Has unregistered?

Boolean flag (TRUE if notification is registered, FALSE otherwise)