Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Q: Network Endpoint Actors Connection/Disconnection Notification

I am working on migrating from LNA's to NEA's.   Basically, I am connecting a network of cRIO's to a PC in a control network.   All devices need to know when they are connected and if their host or remote disconnects (i.e. software stops, cable is pulled, reboot, etc).  They need to try to reconnect.  The NEA's send an abstract message when they connect, so this is detectable as a connect.  However, I have not been able to find a disconnect detection mechanism, other than LAST ACK.   

 

Is there a message associated with the NEA's like the connect message?

0 Kudos
Message 1 of 3
(2,489 Views)

When a nested endpoint disconnects, the actor stops.  The caller will get a Last Ack message from the endpoint, which is your indication that it has disconnected.

0 Kudos
Message 2 of 3
(2,469 Views)

On my target I use this Lack Ack and the Actor held therein to restart the NEA since when I want the target to return a 'wait for connection' state.

 

On my host I do the actions that I need to do there. Currently, throw an error and graciously shut down.

CLA - Kudos is how we show our appreciation for comments that helped us!
0 Kudos
Message 3 of 3
(2,427 Views)