03-02-2015 07:41 AM
Yes, I think creating the temporary queue is probably the way to go. I'll give that a shot. Thanks for your input.
Yamaeda, I think this would probably work too. But for my use case I think passing the reference back to the caller is what I'm looking for.
05-30-2015 08:10 PM
Instead of using a queue, could you have the subpanel VI (the dynamic dispatch VI, i.e. Viewer.vi) post it's own reference to the private data of the class and simply check for a valid reference from that data (a looping VI with a timeout) in the main VI prior to inserting into the subpanel? I think in the long run, it's essentially the same thing.
05-30-2015 09:20 PM
While trying my suggestion, I realized that class private data is still ByVal and not ByRef . . . This means that my suggestion won't work. That would also explain why I've seen classes have just a single element queue that stored all of the class's data.