Sign Up

Async Methods Actor by LS Instruments AG - Toolkit for LabVIEW Download

A library that extends the Actor Framework to allow for async method execution

D Discussion Watch * 0 ↓264
 logo
Version1.0.0.5
ReleasedOct 24, 2025
Publisher LS Instruments AG
License BSD License 2.0
LabVIEW VersionLabVIEW>=20.0
Operating System Windows, Mac, and Linux
Dependencies vipm_lib_labview_collection_extensions  
Used By ls_instruments_ag_lib_iterator_actor   ls_instruments_ag_lib_mvc_actors   ls_instruments_ag_lib_lsi_actor_framework_message_maker  
Project links Homepage   Discussion

Description

An Actor-based library that implements an infrastructure for launching async methods. By making actors inherit from the "Async Mathods Actor", it is possible to launch any method without waiting for its conclusion, by sending messages child of the abstract message "Async Message.lvclass". This framework is especially useful for tasks that take a long time to execute which implemented as Actor methods would lock the actor until completion. The official way to implement those tasks in the Actor Framework is to code them as helper loops within the "Actor Core.vi". This however brings along the overhead of setting up a communication mechanism between Actor methods and the helper loop, thus voiding the advantage of OOP encapsulation. Using this framework you continue to benefit from OOP encapsulation of the Actor Framework for long execution tasks without having to implement ad-hoc data transfer methods between methods and helper loops.

Release Notes

1.0.0.5 (Oct 24, 2025)

- Removed unused Async Message property write methods
- Added a "Async Message Settings" to be used by the LS AF Message Maker to create send methods for the concrete Async Messages
- Removed dependency on OpenG error and variant libraries
- Minimum LabVIEW version requirement moves from 2023 to 2020
- All the Async Message within the example were regenerated by means of the LSI AF Message Maker. The calling example code was updated accordingly

andreav-lsi was a contributor to this release


Download Package

Versions
All Contributors

  Post an Idea   Post a Resource

Recent Posts