torekp Posted June 24, 2011 Report Share Posted June 24, 2011 (edited) Here's a trick I've used to tell which computer my Labview exe is running on: Most of the computers at my workplace have two ethernet connections, local and network. All network addresses around here begin with "172" so I use that to distinguish the two. This works as long as the connection of interest (Local, preferably, since that connection is not so intermittent ) is maintained. Alternatively - on SOME computers but not all - I've found that using the network address works, even when IP number 0 is fed to the IP to String function. That function knows, on some computers, the computer's name (e.g. "Paulsdesktop") even when fed a 0. But I'm sure somebody out there has a better way to tell which computer you're running on. What is it? Edited June 24, 2011 by torekp Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.