07-09-2021 08:54 AM
I have Ethernet module with four ports installed in my NI PXIe Computer. I want to send data from one port to another port of the same Ethernet module. How to do it using UDP or TCP/IP?
07-09-2021 09:14 AM
How is the module configured? If each port has an IP assigned just use that. No cables needed.
(You probably need to provide significantly more detail about what you are trying to achieve with all this.)
07-09-2021 11:17 AM
We are using this PXIe computer with addon Ethernet module in an ATE. Customer is asking to do ATE loopback self test for Ethernet ports (external loopback with cable connected externally). When loopback cable connected between two ports, data transfer should happen. When loopback cable is removed, data transfer should fail. How to achieve this requirement using labVIEW?
07-09-2021 11:25 AM
I made a simple UDP sender & receiver coding and tested between two different computers connected via Ethernet cable. But when I try do it between two ports of same computer it is not working.
07-09-2021 11:42 AM
LabVIEW by itself won't allow you to do this. It doesn't have direct control over networking, it just sends the desired destination address of a packet to the OS and it's handled there. If you try to send a message to address X, and it sees that one of its IP addresses is X, it doesn't bother looking to see if it should be sending it out on a network card or whatever, it just immediately sends it to localhost.
If you want LabVIEW to do this you'd need to make a way to make the OS do this, and then LabVIEW follows. You can't just start in LabVIEW.
07-09-2021 01:19 PM - edited 07-09-2021 01:24 PM
@phoenix-karthik wrote:
I have Ethernet module with four ports installed in my NI PXIe Computer. I want to send data from one port to another port of the same Ethernet module. How to do it using UDP or TCP/IP?
I have never used a NI Ethernet module but in general...
07-10-2021 12:50 AM
Kindly share your Iperf LabVIEW coding
07-10-2021 01:08 PM
@phoenix-karthik wrote:
Kindly share your Iperf LabVIEW coding
Here you go...
Gperf relies on the external programs Iperf and Mtee.