09-06-2022 01:54 PM
Hello,
Traditionally I have avoided Reply messages and the "Send and Wait for Response.vi" function in the Actor Framework. However I have a LabVIEW application where we will be using a webserver to respond to external code that connects to this webserver (likely written in python or another language). We want the webserver code to forward the request to a lower level actor and then wait in place for the response and send it back. The customer is pretty adamant about wanting a synchronous message here in place as they like to see the response coming back in place.
Due to the nature of the lower level actors and the fact they are part of submodules and need to stay separate from the higher level code, is there a way to do what is essentially an Abstract Reply Message. When I've tried to put this together I run into the problem of the output of the interface method not being able to go to a more generic "Actor" class since interfaces of course cannot inherit from a class.
Any help is much appreciated.
Also I am using LabVIEW 2021 SP1 in case that is relevant. Thanks
Solved! Go to Solution.
09-06-2022 04:18 PM
I figured it out. You have to use the new node "Casting Utility for Actors.vim". This works: