LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

thread safe queues

Hi

Lab windows support thread safe queues. I would like to get a sample in MSVC for omplementing thread safe queus. is there anybody can help me on this?

Thanks

0 Kudos
Message 1 of 2
(2,882 Views)

There are many examples about Mutlithreading in the Example Finder (Help >> Find exmaples). The example BuffNoDataLoss in the Optimizing Applications >> Multithreading directory demonstrates how to use a thread safe queue to pass data between a data acquisition and user inerface thread.

 

There is also some sample code online in the following document: http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/programmerref/threadsafequeue/

 

Hope this helps!

Regards,

Anjelica W.
National Instruments
Product Marketing Manager
FlexLogger and TestStand
0 Kudos
Message 2 of 2
(2,854 Views)