LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Try to Use Self Addressed Message to Create Synchronous Message VI

So I made a VI, it looks like this:

send synch.png

...which makes a response Q, packs it into a message as a Self Addressed Msg, Sends it to the Actor, and Waits for a Response on the Q.

 

 

On the Actor side I have my Do VI, which does some stuff and sends the results back via the self addressed message, or at least that's what I thought it would do.

do.png

The problem is, the priority queue DVR ref deep down in the message is Null upon entering this Do VI so my Send Synchronous Msg VI hangs waiting for a response which is never sent while the Actor shuts down per the default error handler.

 

Why is this reference going Null?  The VI that created it is still running waiting for a response so it shouldn't be an issue with it leaving memory I wouldn't think.

 



I saw my father do some work on a car once as a kid and I asked him "How did you know how to do that?" He responded "I didn't, I had to figure it out."
0 Kudos
Message 1 of 2
(2,401 Views)

You should ask this on the Actor Framework group, rather than on the LabVIEW board, as it will be seen by more AF experts.

0 Kudos
Message 2 of 2
(2,362 Views)