11-13-2026 04:08 AM
Hello everyone,
I am building a custom test sequencer in LabVIEW (no TestStand) and would like advice on the architecture.
Setup
test_cases sub-folder next to it and lists all .vi files found.Problem
test_cases folder.Questions
Thank you!
11-13-2026 07:30 AM
@luisdclopes2 wrote:Questions
- What is the recommended architecture for dynamically loaded test cases that depend on shared project sub-VIs?
- Would packed project libraries (.lvlibp) or a source distribution still allow adding new test cases without rebuilding the .exe?
- Is there a better pattern than Open VI Reference and Call By Reference?
- How can I reliably share data between the main program and the test cases instead of using globals?
1. You might want to look into using Actor Framework, Workers, or DQMH. I don't use them as I think they have more overhead than my systems require. But these will cover your other issues as well.
2. I use PPLs for my test framework. I don't use them for test cases, but for instrument drivers.
3. I like using Asynchronous Call By Reference to dynamically call VIs. This allows me to pass in parameters such as (see 4).
4. Queues and User Events. You can create the queues as needed and pass references into the dynamically called VI if you follow #3.