Вы здесь

Handling Events

All DLN-series adapters, except of DLN-1 device, support event-driven interface, which can be also used within LabView environment.

Use Register Callback Event for registering events from .NET library reference. Registers a VI to be called when an event occurs. This function is used to register and handle .NET events. LabView uses the type of the input reference wired to each item to determine the events for which you can register.

register-event-callback.png

To get Register Callback Event function, right-click on Block Diagram and navigate to Connectivity > .NET palette. More detailed information on how to use events can be found at DeviceRemovedEvent example section or NI LabView help.

Rating: 
No votes yet

Языки

Вход на сайт