LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed Sequence Error -818 in LabVIEW 2016

I am trying to diagnose an odd bug in LabVIEW 2016.

 

Some old code (that has been running fine for a long time) has started generating error -818 from a Timed Sequence structure. The error text is:

  "LabVIEW: An illegal period, priority, deadline, offset, or start has been specified for the following timed structure."

 

We have tracked this down to using the Source Name input on the Timed Sequence structure. If we leave the timing source as default (1kHz), the code executes fine. If we use the Create Timing Source VI and connect a named 1kHz source to the Timed Sequence, we generate the error. Please see the attached code.

 

We have tried this in LabVIEW 2015 and LabVIEW 2019, and the code works fine in both of those versions. We have also confirmed the code generates an error on two different computers.

 

Even weirder, the code was generating an error yesterday from about 1PM to 5PM. At around 5PM, the code was able to execute without error at least 3 times, on both computers. By 5:30, the error was reappearing consistently. We set up the attached code on a loop overnight, and the error was consistent for ~15 hours. So this code just started generating this error, and is now generating it but not always consistently.

 

Can anyone advise anything I can try? Can you please try the attached code and see if we can confirm an issue with LV2016? Any advice?

 

Thanks!

-Jeremy

0 Kudos
Message 1 of 1
(187 Views)