LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Obtain Queue" function using LV 8.2 run time engine

Hi,
 
I recently upgraded from LabVIEW 8.0.1 to 8.20. I am using the "Obtain Queue" function in my code and it works fine with LabVIEW 8.2 development system. However, it does not work with LabVIEW 8.2 RTE (all the required SupportVIs were included).
 
It worked without any problems with LabVIEW 8.0.1 (development and RTE).
 
Any comments/suggestions are greatly appreaciated. Thanks.
0 Kudos
Message 1 of 4
(2,710 Views)

Is the Obtain Queue returning an error or does the Queue just not seem to be created?

How exactly is it not working?

Ed



Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 4
(2,700 Views)

Hello,

I use TestStand to call a VI that opens a message queue (Obtain Queue is used there). Few steps later in TestStand, another VI is called (through TestStand) to push few characters in the message queue (Obtain queue is used here as well).

When I configure the LabVIEW adapter in TestStand to use LabVIEW 8.2 "run time engine", it gets stuck at the step where I try to push few characters in queue. I tried to put a breakpoint and debug using LabVIEW while the sequence was running in TestStand, but never observed the VI running.

When I configure LabVIEW adapter in TestStand to use LabVIEW 8.2 "development system", it works without any problems.

I found the following in LabVIEW 8.2 release notes and was wondering if it's related:
"In LabVIEW 8.2, you cannot use the Obtain Queue, Obtain Notifier, Create User Event, Create Semaphore, and Create Rendezvous functions to
communicate between LabVIEW application instances. If you obtain or create a queue, notifier, user event, semaphore, or rendezvous reference in
one application instance, you cannot use that reference in another application instance."

But, in that case it should not have worked with the Development system?

Response is appreciated. Thanks.


 

0 Kudos
Message 3 of 4
(2,690 Views)
Hi Troy12,

Could you please let me know what version of TestStand you are using? Thanks!

Best regards,

Steven
0 Kudos
Message 4 of 4
(2,671 Views)