Solved

Networking with Windows XPMode

Posted on 2013-12-16
9
330 Views
Last Modified: 2013-12-22
I have a legacy application that is used to communicate with a robot. The application is 32bit and will not run on Windows 7. I have installed Windows XPmode on my Win7 64bit computer and installed the legacy application. My problem is the application is not communicating with the robot. There are 2 NIC's on the host machine, I have tried them both in every combination I could think ok. The only network that this machine is connecting to is directly to the robot. I have tried setting the IP directly on the host, choosing NAT, and leaving the VM set to grab DHCP...I have set the Host to grab DHCP and tried setting the IP on the VM...setting the IP on both the VM and the Host. What would be the proper way to set the IP?

Erik
0
Comment
Question by:FastFord
  • 4
  • 3
  • 2
9 Comments
 
LVL 76

Expert Comment

by:arnold
ID: 39723082
Not sure what the issue you have based on your question.

A suggestion if I might on whether you ran the application in windows xp compatibility mode within windows 7 rather than within a VM?

Was the robot locked in using MAC address from which it will accept communications?
0
 

Author Comment

by:FastFord
ID: 39723097
compatibility mode does not work, application will not install on win7 64bit. The problem is how/where to set the IP address....host vs vm
0
 
LVL 11

Expert Comment

by:Technodweeb
ID: 39723107
The W7 host has to have an IP address if you are communicating via TCP/IP. The VM will need an address as well unless you can bridge the VM to the host adapter in some way. The Robot also needs an IP address. All three should be in the same subnet like 10.0.0.1, 10.0.0.2 and 10.0.0.3 and all should share the same subnet mask of 255.255.255.0. The gateway for the PC host and the VM should be the Robot IP and the Robot gateway address should be the VM.

This would all be simpler if you had all of this connected to a small home type router to give out DHCP...

It has been a while for me and Virtual PC on Windows, I typically do not install it and opt for VirtualBox by Oracle. But you cannot get the free XP license in that way.
0
 

Author Comment

by:FastFord
ID: 39723113
I understand TCP/IP. The host is not doing ANY communication to the robot. The Host is simply the Host. So...if I assign the NIC to the VM...do I leave the IP address blank (dhcp) on the host, then set it correctly on the VM? A router would be great if my PLC would grab a DHCP address. It wont. I have tried setting up the NIC to NAT, and setting the address only on the host...doesn't work. I have tried bridging the NIC and setting the IP locally on the VM and the host...doesn't work...
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 76

Expert Comment

by:arnold
ID: 39723120
Run the application setup using compatibility mode.
Right click and select trouble shoot, or properties, and there is a compatibility tab set to windows XP and see if that works.

You may have tried it.

The difficulty deals with whether the issue is within the VM, or on the network.

Using wireshark or ms network monitor, you can look at the network traffic within the VM, and on the windows 7 to see whether the traffic leaves and whether the robot responds.
If you still have the old system, use it to build the expected network traffic as a reference.
0
 
LVL 11

Expert Comment

by:Technodweeb
ID: 39723123
Regardless of your software being able to load in Win7 or not, TCP is TCP is TCP. Having said that, can you at least ping the robot from the Win7 box? If no, then you need to overcome that issue first before you can look at the VM. If one IP address cannot ping another IP address on the same network, there is a problem.

I read back through your first post and you said the robot is connected directly to the PC. Are you using a straight through cable or a crossover cable? You must have a crossover cable for direct connections unless one of the NICs auto detects, which may not be 100% fool proof. You can also use a switch between the two devices to get the proper signaling.
0
 
LVL 76

Expert Comment

by:arnold
ID: 39723125
Are there two VLANed segments?

Using network monitoring tools, you could troubleshoot the issue to first make sure that there is network traffic originating from your host/guest. Then validating the network .......
0
 

Accepted Solution

by:
FastFord earned 0 total points
ID: 39724520
There were missing communication drivers from the application install. Once I installed them the application ran correctly. Thank you for your help.
0
 

Author Closing Comment

by:FastFord
ID: 39734449
Application was not installed correctly. Once I spoke with the MFR I received the correct steps for install.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now