LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Security "Lock" in need

It may work. Unfortunately, it's the requirement.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 11 of 19
(1,519 Views)
Ian,

There is sample code kicking around the NI site to allow you to read the serial number of a data acquisition board. Stems from the NI-DAQ function Get_DAQ_Device_Info and was introduced back at NI-DAQ 5.0 (I believe it was this version).

The following web link takes you to a page with some sample code on it:

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&F788C480A804061B8625683A000B5315&cat=B646D80C4726BFF5862567AC00645037

As an alternative for a more generic solution, it may be that you can read a board's serial number from the registry - certainly most of the NI numbers are stored in various keys. Can't point to specifics as it depends on the board (and my PC currently has no hardware) but this could possibly offer a solution for
a non-NI board.

Jeremy
Message 12 of 19
(1,379 Views)
hi Jeremy

I went to the link that you have provided but have not gone through the examples yet.

It looks promising 🙂 I will look into them later.

Thank you very much for taking the time to input.

Best regards
ian.f
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 13 of 19
(1,379 Views)
Hi Ian,
Sorry, I do not know much about the DAQ cards. As far as general programming goes, A constant would be the most straightforward solution, however you could do any number of possible schemes. You could come up with some sort of slick key encryption that would allow them to change hardware simply by emailing you. But that is rather advanced and may not be useful.

Aaron K.
Application Engineer
National Instruments
0 Kudos
Message 14 of 19
(1,519 Views)
How can you get to the serial number of the CPU or hard drive?
0 Kudos
Message 15 of 19
(1,379 Views)
Here is a library with some handy VI's for use in Windows. Among them there is a VI for reading the hard drive serial number (GetVolumeInformation.vi).

Good luck!
/Mikael
0 Kudos
Message 16 of 19
(1,379 Views)
hi Mikael

Thanks for your input. I will look into this, for sure 🙂

And, I believe it will benefits many others too.

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 17 of 19
(1,379 Views)
I cant open this library in labview 9.0. Can anyone convert it so I can read it in 9.0?
0 Kudos
Message 18 of 19
(982 Views)

@Joe_John wrote:
I cant open this library in labview 9.0. Can anyone convert it so I can read it in 9.0?

I'm sure you aren't still looking for thiw Windows_API 1.0 to be resaved but I was and I had to do it myself.  So here it is saved in 7.1 (which can be opened in 2009).  There are still some functions not native to LabVIEW since this was made 12+ years ago.

0 Kudos
Message 19 of 19
(625 Views)