Solution
The UDP plugin in the VeriStand Data Sharing Framework Custom Device only accepts UDP packets from the source port defined in the System Definition File (SDF). Each received packet is checked against the configured source port, and packets with a different source port are discarded.
Use one of the following approaches:
- Update the source port defined in the SDF to match the sender’s source port after the sender application starts. This requires modifying the SDF each time the sender restarts.
- Modify the UDP plugin source code to allow reception of UDP datagrams from any source port.
- Modify the UDP plugin source code to make the UDP sender port a VeriStand channel that could be written to at run time.