NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LV queue in TestStand

Solved!
Go to solution

Hi all,

 

How can write from teststand on LV queue ?

I've done a very LV simple project where I've :

 1) Listner: is a while (1) main loop on GetQueue.vi

      GetQueue.vi is made of "Obtain Queue" and "Dequeue Element" LV APIs

2) TestStandEngine : is a while(1) loop which prepare the data to send, it calls TsSender which

     packing the data into the message cluster (Typedef Message.ctl) and pass the cluster to final VI     

     (SetQueue) to write the cluster in the queue.

 

The Listner and TestStandEngine  doesn't share any queueu reference, but working on the same queue indentified by name.

 

The LV project working well, now I would use the same schema in testStand. I keep the Listner and use SetQueue into TS for loop and increasing only the numeric filed in message (TS side), but the Listner seems not able to receive the message.

 

Any suggestion?

 

I'm using LV2018 and TS2017

 

Thanks

 

 

 

 

 

 

 

0 Kudos
Message 1 of 2
(182 Views)
Solution
Accepted by topic author zundap1970

Found !!!!!😂😂

Is the "context", what I mean...I mean that the queue is "reachable" by name from the VIs only if the VI run into a same context where the context is the LV project or the same TS sequence.

So my TS sequence should be include a main trunk where I call the "TsSender.vi" in the TS for loop and in TS SetUp step insert a  "Call Status Monitor" where I start the Listner.vi.

 

0 Kudos
Message 2 of 2
(140 Views)