04-18-2007 03:41 PM
04-18-2007 04:49 PM
07-12-2011
01:12 PM
- last edited on
11-12-2024
12:07 PM
by
Content Cleaner
I have very little experience with ethernet communication, but have a project that requires it.
I am trying to connect LabView to one of our product that uses Ethernet/IP. Our product currently uses software from the vendor to communicate, and it is buggy and cumbersome, so my boss has decided that we should test this product with LabView.
I am trying to establish ethernet communication with our product by following the video at
http://zone.ni.com/wv/app/play_doc/p/id/wv-1653/width/800/height/640/autostart/y
I am able to ping the product.
When I create a new device and interface in MAX, choose VISA TCP/IP Resource, both the Manual Entry of LAN instrument adn Manual Entry of Raw Socket require a Port Number. I have entered the port from Wireshark (file included) 546 and also tried 547, but MAX replies with "Could not open a VISA session to "TCPIP0::192.168.0.3::546::SOCKET". Error code 0xBFFF0011.
By looking at the wireshark screen dump, can you tell me if I am trying the wrong port? How can I get this working?
Thanks.
07-12-2011 01:33 PM
What is the instrument that you are trying to connect to? Port 547 is for a DHCP server. ????
07-12-2011 02:28 PM
I am trying to connect to one of my companies products, it's called a High Voltage Controller. The ethernet signal comes into a MCF52235CAL60 Microcontroller made by Freescale.
Port 547 is listed on the wireshark screen that I used to monitor the communcation from our customer's software to the product we designed for them.
What is a DHCP server?
07-12-2011 02:50 PM
DHCP - not the port you are looking for.
07-12-2011 03:01 PM - edited 07-12-2011 03:03 PM
These are v6 DHCP ports, but it is well possible that your software is using these for whatever it wants. Could it be they are conflicting because you also have IPv6 configured? Does it work if you disable all IPv6 in the network properties?
(Sorry, these are just some wild guesses, I haven't played much with IPv6 at all yet. On newer OS version, it is enabled by default, in addition to IPv4).
07-13-2011 09:48 AM
If you want to try guessing, you can browse these rings that have standard port numbers and names.
07-13-2011 02:41 PM
I have disabled IPv6 and stareted the customer's software to communicate with our product. The software still communicates. The included print screen shows the network properties with the product connected and communicating - i don't know if this will help.
Since wireshark reports the port is "User atagram Protocol, Src Port: dhcpv6-client (546), Dst Port: dhcpv6-server (547) (see previous post attachment), wouldn't that be correct? Maybe I am doing something else wrong since I have no experience with Ethernet communication.
07-13-2011 02:44 PM
Pcardinale,
I don't know ho to use the type defs you posted.
Since wireshark reports the port is "User atagram Protocol, Src Port: dhcpv6-client (546), Dst Port: dhcpv6-server (547) (see previous post attachment), wouldn't that be correct? Maybe I am doing something else wrong since I have no experience with Ethernet communication.