Thanks!
I feel that one question wasn't answered fully.
So if I for example have 2 TCP connections one for each application.
1st application, has its own TCP connection:
Motion program which sends jog commands, status commands etc.
2nd application, has its own TCP connection:
Poll for changes in the position capture register.
I want to use VR_PMAC_GETRESPONSE, from what I understand this actually polls the device. I cite the User manual "This packet causes the Ethernet connection to send a string to Turbo PMAC, then to return any available strings that may be residing in the Turbo PMAC."
Use case:
1st application, on its own TCP connection, sends ethernet command: VR_PMAC_GETRESPONSE.
Concurrent to this:
2nd application, on its own TCP connection, send ethernet command VR_PMAC_GETRESPONSE.
This seems like a racing condition to me. So depending on which TCP connection that performs the second part of VR_PMAC_GETRESPONSE, meaning "return any available strings that may be residing in the Turbo PMAC", first. This action may read the response meant for the other TCP connection. Essentially making the other connection timeout and fail to receive the response.
Please read carefully! Is this assumption correct?
Many thanks!