Notification
Im Ordner Notification befinden sich zusätzliche Blöcke, die beim Lesen mit ADS-Notifications genutzt werden können. Der Ordner enthält die folgenden VIs:
- ADS To LabVIEW Timestamp
- Notification Data To Variant Array
- Stop Notification
- Unregister Notification
ADS To LabVIEW Timestamp
Der Block ADS To LabVIEW Timestamp ist ein polymorpohic VI und unterstützt einzelne und mehrere ADS-Zeitstempel (als array). Der Block konvertiert ADS-Zeitstempel, so wie sie durch eine ADS-Notification von TwinCAT übertragen werden, in LabVIEW™-Zeitstempel.
Notification Timestamp Single
Der Block Notification Timestamp Single konvertiert einzelne ADS-Zeitstempel in LabVIEW™-Zeitstempel.

Eingang/Ausgang | Bedeutung |
---|---|
[1] ADS Timestamp | Einzelner ADS-Zeitstempel |
[0] LabVIEW Timestamp | Einzelner konvertierter LabVIEW™-Zeitstempel |
Notification Timestamp Buffered
Der Block Notification Timestamp Buffered konvertiert mehrere ADS-Zeitstempel in LabVIEW™-Zeitstempel.

Eingang/Ausgang | Bedeutung |
---|---|
[1] ADS Timestamp | Array von ADS-Zeitstempeln |
[0] LabVIEW Timestamp | Array von konvertierten LabVIEW™-Zeitstempeln |
Notification Data To Variant Array
Der Block Notification Data To Variant Array konvertiert ADS-Rohdaten, die mit ADS-Notification gelesen worden sind, in ein passendes LabVIEW™ Variant.

Eingang/Ausgang | Bedeutung |
---|---|
[11] Notification Data | ADS-Rohdaten |
[10] Samples | Anzahl von Samples |
[3] Notification Data | Konvertierte Rohdaten in LabVIEW™-Variant |
Stop Notification
Der Block Stop Notification stoppt das Empfangen von ADS-Notifications.

Eingang/Ausgang | Bedeutung |
---|---|
[5] Notification-/Reader Handle | Handle auf die ADS Notification/Reader |
[2] Notification-/Reader Handle | Handle auf die ADS-Notification/ADS-Reader |
[1] Has stopped? | Boolesche Flag (TRUE, wenn Notification gestoppt ist, sonst FALSE.) |
Start Notification
Der Block Start Notification startet die angemeldete Notification.

Eingang/Ausgang | Bedeutung |
---|---|
[5] Reader Handle | Handle auf den ADS-Reader |
[2] Reader Handle | Handle auf den ADS-Reader |
[1] Has started? | Boolesche Flag (TRUE, wenn Notification gestartet ist, sonst FALSE.) |
Unregister Notification
Der Block Unregister Notification meldet die Notification am ADS-Server ab.

Eingang/Ausgang | Bedeutung |
---|---|
[0] Handle | Das Handle auf den Client (kann auch frei gelassen werden) |
[5] Reader Handle | Das Handle auf den ADS-Reader |
[4] Handle | Das Handle auf den Client |
[6] Reader Handle | Das Handle auf den ADS-Reader |
[8] Has unregistered? | Boolesche Flag (TRUE, wenn Notification registriert ist, sonst FALSE.) |