LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TSQ callback not called

Solved!
Go to solution

I am currently migrating a project to CVI 9.0 which worked fine with the last version (was it 8.5?)

Now i am facing some trouble with thread safe queues.

 

I am (according to the return code, successfully) installing a TSQ callback with CmtInstallTSQCallback, where I pass the name of my CVICALLBACK callback function. The callback was intended to read items from the tsq, while data is written asynchronously to it. This writing happens at quite a low frequency, and there is a processSystemEvents() in the main function of the same thread, which is actually called.

Now the problem is that the callback is never executed, so the TSQ runs into an overflow quickly. I don't know if I am missing something, are there any major changes to thread-safe queues in the new CVI version?

 

If it helps - I am working on a PXI 8196 RT target with LV RT 8.6 and the CVI runtime engine and CVI network variable engine or RT 9.0 installed.

 

Any help is greatly appreciated!

0 Kudos
Message 1 of 2
(3,131 Views)
Solution
Accepted by topic author cholulteca
I think I might have found the answer myself, there is a bug in CVI 9.0 which has to be fixed manually - see http://digital.ni.com/public.nsf/allkb/44C0C08DAE15E4FD8625756300564305 for further information.
0 Kudos
Message 2 of 2
(3,122 Views)