Understanding the Shared Variable Engine (DSC Module)
- Updated2023-02-21
- 1 minute(s) read
The Shared Variable Engine (SVE) is a data processing engine that manages the use and connectivity of shared variables. The SVE runs independently from LabVIEW as a separate process. Whereas LabVIEW follows a dataflow model to run VIs, the SVE is event-driven.
After you configure shared variables in a LabVIEW project, you deploy the shared variables to the SVE. When you use shared variables in a VI, you therefore must ensure that the SVE has enough CPU time to process shared variable updates and read requests. For example, running a VI that writes to or reads from shared variables continuously without a Wait (ms) function can cause instability and prevent the SVE from updating or returning the most recent value of a shared variable.