You can execute a Functional Mock-up Unit (FMU) continuously on an NI Linux Real-Time target using the LabVIEW Model Interface Toolkit™ while preserving model state between iterations. This architecture is intended for applications that require deterministic, high-speed real-time execution inside a Timed Loop.
To avoid initialization errors such as -383202 or -383200, you must load and initialize the FMU only once before loop execution and unload it only after execution completes. Repeated loading or unloading within the loop can reset model state and lead to execution failures.
Requirements
- LabVIEW Model Interface Toolkit™
- FMI 3.0 Functional Mock-up Unit (FMU)
- NI Linux Real-Time target (for example, PXI controllers)
- Timed Loop architecture