This project demonstrates use of TCP Transforms as a server and client. In the sample, the server echoes messages back to the client.
Click here to download the project: https://github.com/DanlawMxTeam/Samples/raw/master/IPNetwork.rar
•MxSuite 3.38 or later
The Harness consists of a Delay Transform, and two TCP Transforms, one configured as an IP Server and the other configured as an IP Client. The Delay Transform is used to connect the Read and Write ports on the IP Server in a loop.
IP Network Harness
To run the test, run TestScenario. The Scenario should pass.
In the Loopback TestCase, you can observe:
•The Client Data Write Signal transmits messages to the port of the same name on the IP Client. These messages are read back from the Client Data Read port. You can use the Transition List to see the contents of the messages.
•Commands are transmitted to the IP Client by the Client Command Signal. You can observe the resulting changes to the Client Status Signal. The sample does not perform pass/fail checking on the status.
•The Server Command Signal transmits command to the IP Server. You can observe the resulting changes to the Server Status Signal. The sample does not perform pass/fail checking on the status.
•The project uses the RT Clock.