LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet and Labview V5.01

OK, I have Labview V5.01 and want to write an application that can test a
unit with an Ethernet Interface.
The VXI embedded PC has an RJ45 Ethernet connection, but I have yet to
investiagate how I can get this up an running using Labview.

Any help with this would be appreciated.
0 Kudos
Message 1 of 12
(3,946 Views)
Hi Scott,

This is just to get you started.

First, do you know what protocol is being used by the device?
If so, start looking for support of that protocol. There is already canned VI taht support UDP, TCP/IP and others.

Reply for other ideas if this gizmo doesn't play fair.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 12
(3,946 Views)
Not really sure at the moment, all I know is that it needs to comply with
IEEE 802.3, but TCP/IP does ring a bell.

Ethernet is just one of those things, that I know is there, but have not yet
had any experience with it's workings....

Ben wrote in message
<506500000005000000F86F0000-1017707437000@exchange.ni.com>...
>Hi Scott,
>
>This is just to get you started.
>
>First, do you know what protocol is being used by the device?
>If so, start looking for support of that protocol. There is already
>canned VI taht support UDP, TCP/IP and others.
>
>Reply for other ideas if this gizmo doesn't play fair.
>
>Ben
0 Kudos
Message 3 of 12
(3,946 Views)
Hi Scott & Ben,
I have similar application to develop. I know that the protocol I have to support is TCP/IP. Where are you on this subject. I appreciate your help.
0 Kudos
Message 4 of 12
(3,946 Views)
What are your test specifications? You can do things like a ping or telnet to check to see if a port is functioning. For more extensive testing, you might want to use hardware such as the Smartbits from NetCom Systems.
0 Kudos
Message 5 of 12
(3,946 Views)
Hi Y'all,

As denis suggested, if you just want to verify that the device talks TCP/IP then ping should work fine.

TCP/IP is just the definition of how data is moved from one place to another. If you want to interpret or manipulate the data that is being moved around, you have to know how the data is represented etc.

So,

Where do you guys stand on all of this anyway?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 12
(3,946 Views)
Hi All,
My application is to test Thru put, BER,... of a TCP/IP device. One of the test scenarios is to have a Device Under Test inserted between two computers via Ethernet port. The source computer using LabView (or LabWindows CVI) generates test data (utilizing TCP/IP protocol) and send it to the DUT via its Ethernet port and at the other side the destination computer will receive the packet and analyze the data. Is there any document from NI so that I can read as a starting point.
I really appreciate your help.
Trang
0 Kudos
Message 7 of 12
(3,946 Views)
If you need to measure throughput, then I think your best bet is to use a Smartbits instrument (or another manufacturer's instrument) which is designed for the task. There is nothing in LabVIEW or CVI for network performance measurements.
0 Kudos
Message 8 of 12
(3,946 Views)
Hi Trang,

Go with Dennis's suggestion here.

To do BER you have to get at the hardware level (or close to it).

By the time the packets ripple up through the OSI-7 level model, all signs of errors are long gone.

Agilent also may be a good source for hardware in this area.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 12
(3,946 Views)
I have the same kind of problem (scott's)
i have to communicate with a machine thru an ethernet network. My problem is : what function in labview do i have to use : visa, tcp, ...
any help would be appreciated...
Ryo
0 Kudos
Message 10 of 12
(3,946 Views)