06-16-2010 09:24 AM
I suspect because your initialise state on the case selector is set as "Default" case.
That means anything else that is not covered by your case statements will be handled by this case.
Unfortunately you can't delete the Default case but what you can do is create a new case only for Default which you process as you like (maybe stop VI or display message for error).
06-16-2010 09:29 AM
06-16-2010 09:57 AM
Although it is set as Default case, this default case shouldn't execute although if there is nothing else in the queue as the error out of "Dequeue Element" shouldn't give anything before it has something to dequeue.. it's really strange, and happens only when an error occur.
Maybe the default case is selected by Dequeue Element when there is an error in.. I will try your advice!
About the error in : it doen't work as their is no error in the producer loop, only in the consummer loop. But I did succeed by creating a constant to the error shift register. thanks
06-16-2010 10:03 AM
06-16-2010 10:13 AM - edited 06-16-2010 10:13 AM
Yes I knew it too, just failed 😛
maybe you can explain me the error which happens there :
The error is 1077 (property nodes : invalid property value at arg 3).
I think the problem is plot color. It works, but not every time. Do you know how I could generate random color ? Or maybe random choise between 5 or 6 chosen colors ?
Thanks
06-16-2010 10:17 AM
06-16-2010 10:22 AM - edited 06-16-2010 10:22 AM
Yes Dennis I know this but I didn't know how to choose a random color by another way. And about coercion dot : i've got one on each property node argument, do you know why ?
thanks
06-16-2010 10:26 AM
06-16-2010 10:26 AM
06-16-2010 10:35 AM
Great solution Dimitrios, thanks 🙂
And Dennis, ok, but it is very demanding, a I32 instead of a I16 would create a coercion dot, but works 🙂
thanks too