02-09-2009 11:20 PM
That looks like a bug, one that I have never encountered, which version of LabVIEW are you using?
Ton
02-09-2009 11:48 PM
Hi Ton.
Yeah, it probably is. The example uses a Double Constant to initialise the Queue, so a Bundle Constant should have worked.
I'm using 7.1.
Peter.
02-16-2009 09:15 PM
Just to follow up, I changed the single item Queue to a Notifier, and got a double win. It ran fine, and it initialised properly with a Bundle Constant. I do feel that the Queue behaviour is a bug. Though the workaround I used was acceptable, any variation in the initialisation sequence for similar data types allows a space for errors to creep in.
Cheers;
Peter
02-16-2009 09:26 PM
02-16-2009 10:18 PM
Hi Ravens Fan.
The Queue is used to synchronise two State Machines in my application. One collects data from a setup page containing several distinct functions, the other uses that data to make calculations on data acquired in measurements, and display the results.
State Machines are essentially While Loops, and data collected in a While Loop is not normally visible outside it until it ends. Queues (and Notifiers) allow me to pass data from one to the other without stopping either.
Cheers;
Peter.