LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NET Display Having Random (?) Error

Solved!
Go to solution

I've been working on a .NET Random Line display, but when I execute it long enough, it start displaying an random error that force me to stop it. The thing is that I need it to work for a pretty long time but the error occur about 30 seconds after the beginning of the execution.

Here's the code... If you achieve to make it error proof, I'll greet you quite a lot !

Only the non-disable part need to works, the other part will probably be deleted if ever the script works correctly.

0 Kudos
Message 1 of 4
(1,993 Views)
Solution
Accepted by topic author tret280

You are not closing the references after you used them. After drawing the image you have to close the constructors or property nodes via close reference.

0 Kudos
Message 2 of 4
(1,964 Views)

Where should I close it?

0 Kudos
Message 3 of 4
(1,954 Views)

snippet.png

It is not a complete solution. You should wire as well the error clusters and further optimization may can be spent by putting the code from the outermost loop to the next and deleting the outermost loop.

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