03-22-2007 08:15 AM
03-22-2007 08:47 AM
03-22-2007 09:49 AM
Queues are especially good for lossless data transfer to a single reader. If you have a situation where there are multiple readers that only need a recent snapshot, then something like a "functional global" or a Notifier may be more appropriate. Notifiers offer some nifty options regarding timing and synchronization that aren't readily available with functional globals or local variables. You program them just like queues, though you'll tend to interpret the meaning of timeouts differently.
-Kevin P.
03-22-2007 10:15 AM
03-22-2007 12:07 PM
Sounds to me like Notifiers could very well work just fine. The main advantage they offer over a queue for your kind of app is that they allow you to "consume" the same instrument value 2 or more times if that particular instrument updates more slowly than the others.
-Kevin P.
03-22-2007 04:16 PM
03-22-2007 06:19 PM
03-23-2007 08:16 AM
03-23-2007 05:08 PM
Locals run in the UI thread? I thought the big performance hit from using Property Nodes is that PNs run in the UI thread, while locals don't. Locals do make a copy of the data, so they're less memory-efficient than a wire.
DFGray wrote: There is another important difference. Queues and notifiers do not go through the user interface thread. Local variables do.
03-26-2007 08:19 AM - edited 03-26-2007 08:19 AM
Message Edited by DFGray on 03-26-2007 08:20 AM