LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the send msg and wait for response in actor framework LV2018

 

I've had someone show me how to use this previously where it involved overriding Do Core.vi, but now I can't remember how to do all the steps.

 

https://zone.ni.com/reference/en-XX/help/371361R-01/lvcomm/af_send_and_wait/

 

I found a flash video with google but it seems to be outdated. 

 

I also previously used it by placing it into the "Send <msg name>.vi" replacing the typical "Enqueue.vi" that's scripted into place when you create a message, but when I go to do that again I get a class conflict and I'm thinking I'm forgetting a step here...

 

are there instructions for this?

 

thanks

 

edit1: looking at this now https://github.com/CS-GSI/LabVIEW-AF-Synchronous-Message-Example

from this thread https://forums.ni.com/t5/Actor-Framework-Discussions/Synchrounous-Reply-Message-Example/td-p/3734716

 

edit2: I was forgetting to change inheritance of the message class to a reply message.  I also realize this somewhat breaks the point of actor messaging making it synchronous...  as stated in the thread i linked.  shame on me.

0 Kudos
Message 1 of 1
(1,404 Views)