01-09-2007 04:34 PM
You enabled NetBios correctly if you're not using DHCP to dynamically assign IP addresses.
What did the new version say about LANA numbers? I didn't expect you to get the same errors. I expected either an error on NCBENUM or a message saying "No adapters found.\n". Are you sure you rebuilt the project and ran the new version?
I'm using WinXP Pro with Client for Microsoft Networking, TCP/IP with NetBios setting from the DHCP server.
01-09-2007 05:39 PM
01-10-2007 04:39 PM
OK, try this one. It uses Simple (hah!) Network Management Protocol (SNMP) to get the MAC address.
I found so many copies of this on the web with so many different people claiming to have authored it that I can't give anyone credit. I sure didn't write it and don't understand most of it. I just hacked it up to get it to work with CVI.
01-11-2007 03:12 PM - edited 01-11-2007 03:12 PM
Al S,
This is a very good one.
It's really the perfect solution for the application I'm working on. Works on any PC I've tried ( I did not try it on Win9x - it's outdated in most cases).
Very simple and easy to implement, regardles that I almost don't understand the way it works. I guess that I need to read deeply in this library function
I would like to thank you so much for your time you spent with this problem. The way you delivere these samples is an example of huge knolledge. I can use your code almost untouched. I am sure many people who made an attempt to find a solution for this problem will be happy to see your code. Thank you again
P.S.
Just as alternative in a totally different way of obtaining MAC, Volume & uP ID's. It is a VBS script - the most interesting is the processor solution. I really do not know how to implement such a code into CVI but just for information. I found it a week ago surfing the web.
Message Edited by DVD_Boost on 01-11-2007 03:22 PM
01-11-2007 03:42 PM
01-14-2007 07:37 AM - edited 01-14-2007 07:37 AM
Message Edited by DVD_Boost on 01-14-2007 07:39 AM
02-13-2007 05:37 AM - edited 02-13-2007 05:37 AM
Thanks to Al for these very useful samples!
I added this discussion to my bookmarks!
Message Edited by Roberto Bozzolo on 02-13-2007 12:39 PM
03-27-2008 12:01 PM - edited 03-27-2008 12:07 PM
09-06-2010 08:28 AM