12-02-2022 08:16 PM
I've got a VI in my TestStand deploy that contains a Timed loop. The code works when I run in Development and Run-Time Environment. When I create a Deploy and attempt to run the sequence from the deploy image the VI with the timed loop throws error -826, "A time-critical VI contains a timed structure. You cannot place a timed structure in a time-critical VI. The priority schemes would conflict and cause the timed structure to operate unreliably."
Does TestStand deploy change the execution priority when deploying. Any suggested workarounds?
12-05-2022 09:45 AM
As an update I did a VI Compare between the Dev VI and the Deploy VI and the only changes are to a control path and the Glyph. I am assuming the Glyph changes is because of the Control path change.
12-11-2022 08:21 PM
Ended up replacing the Timed loop with a while loop to fix the issue.
12-11-2022 10:22 PM
FYI - Timed Loop is a feature intended for applications running on RTOS (yes, it still runs on regular Windows OS for debugging purposes and is not strictly executed as in RTOS) and not for regular Windows OS.
If you're using Timed Loop in regular Windows OS, you need to reconsider your architecture and evaluate if you really need a timed loop.