Why queue does not update?

I use a queue to pass data between two state machines that operate two tabs on a tabbed dialog. The tab configuration data are supposed to be placed in the queue in a state machine and retrieved by the second state machine.

When running, the queue always returns the original data that I used to create the queue.

I worked from the basic vi queue, change the data type and the length of the queue.

I went back to this example and made the same changes and it worked well. So, the only difference is the use of the State machinery rather than simple loops while.

I have attached a picture of the two machines State bound by the queue.

Thanks for the ideas guys. I was invited to try out things that could not make a difference, and did.

I changed the way that the queue is initiated to use a set by a name that was launched with constants, rather than to use a Constant.Interestingly Bundle, the prototype for the Bundle by name, which is required, is a constant of the bundle.

Pathology seems to be that if the queue is initialized with a constant Bundle, it then passes a Constant beam. The attempt to change the beam constant fields using a beam of name fails without generating an error and the queue going on Constant beam.

I have attached a picture for those who can tell what a program written in a graphic language by looking at.

See you soon;

Peter.

Tags: NI Software

Similar Questions

Maybe you are looking for