The Vector Ethernet Transform enables you to connect with Vector Ethernet Interface devices.
Demo using Vector VN5610
This demo tests communication between two Ethernet Channels using RJ45 connectors.
Connect the VN5610 device to a PC and interlink the Ethernet Channels 1 and 2 as shown below.
Open MxSuite, create a new project, and use the Toolbox to add a Vector Ethernet Transform:
In the Transform's properties box, set the Ethernet Bus Configuration property and select the channel using the Select Device properties:
As VN5610 has 2 channels, add another Transform and select Channel 2 and the same bus configuration as the Channel 1 Transform above.
Rename the ports to create unique names for the Signals:
Export the Ethernet Tx and Ethernet Rx ports on both Transforms.
Save the Harness and open MxVDev.
Create a new TestCase and add all Ethernet Signals that were exported:
Create a transition on the Ethernet Tx Signal and add data to be transmitted:
Fill Message fields or Raw data:
As there is no specific MAC address to be addressed, enter any address.
Select Ethernet Type IPv4.
Enter any Payload data.
Similarly add a transition to the Ethernet Tx2 Signal selecting PTP instead of IPv4.
Run the test case.
Data transmitted over Tx should be seen on Rx2 and data sent over Tx2 should be seen on Rx as shown below:
Note: Export the Error Frame Signals to check for error frames.
Check the contents of the outputs and compare with Payloads sent:
You can observe the Source and Destination addresses with payload in the message data.