NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Deploy - Timed Loop Error -826

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?

0 Kudos
Message 1 of 4
(1,019 Views)

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.

0 Kudos
Message 2 of 4
(968 Views)

Ended up replacing the Timed loop with a while loop to fix the issue.

0 Kudos
Message 3 of 4
(936 Views)

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.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 4 of 4
(932 Views)