01-16-2008 09:44 AM
01-16-2008 09:59 AM
01-16-2008 10:21 AM
01-16-2008 10:37 AM
Phil,
Thanks for the reply.
The instrument is actually a board that we manufacture. It's default configuration is DHCP, and that's they way it has to go out to our customer.
The IT gods don't want it on their network, or us testing it over their network. So they only way to talk to it would be to have something like a router (Netgear, etc) assign it an I.P. address and connect the router to the fixed I.P. NIC, and route the commands through the router (jump table) to the target board.
I guess what I was trying to do was eliminate the router, and just have Labview assign the address.
Also, I wish I was using Linux.
Mike
01-16-2008 10:47 AM
Routers are a lot cheaper than your time and trouble digging through all the internals of Windows to figure out how to make that happen. Though if you do, I think it would still be easier to do it as a Windows service than trying to figure out how Labview could do it programmatically.
For that matter, Linux would be an even bigger hassle to make it work. Have you read the threads on Linux for people to just try to get Labview to run on it and all of the various flavors? Getting Labview to install and run on Windows is very easy compared to the problems those people are having just trying to get the software and drivers to work on Linux.
01-16-2008 11:06 AM
I'm guessing you would like to connect multiple DUTs to a private (test) LAN, have each DUT retrieve a distinct IP address from the DHCP server, then test the DUTs from LabVIEW.
The shareware/freeware I mentioned should allow you to serve IP addresses to each of the DUTs, but the problem is identifying DUTs that are present and active. You might be able to use a short lease time and ping each DHCP address and build a list of IP addresses that responded. There are various 'ping' solutions on the forums (just search on 'ping')
Otherwise you might need a commercial DHCP server implementation that has an API to query and manage the IP address leases. If IT won't let you load a DHCP server on the LabVIEW computer, you could use an old PC with Linux on it as the DHCP server on your private LAN. You would use the same technique of a short lease time and using ping to find the DUTs.