LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get hardware information using LabWindows

Hi,

I'm trying to identify a computer based on its windows version, memory and processor id, and so on.

How can I get this kind of information using LabWindowsCVI 8.5?

 

Regards,

 

Daniel Coelho

 

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 1 of 6
(4,692 Views)

Hi Daniel, a quick search in the forum returned these threads that may be of help in your problem:

Detecting platform

How can I retrieve Windows OS version from Labwindows?

Obtaining MAC address (this thread also discusses how to get volume ID)

 

There were other threads, but in my opinion the ones that I linked can be a good starting point for your needs.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 6
(4,679 Views)

Hi Roberto,

Thank you for your quick reply.

I've searched through other posts but I found nothing about getting Hardware information, cpu and memory and so on.

I've looked on MSDN and I couldn't find functions to return this kind of information.

Do you have any more links?

I apreciate all the help.

 

Daniel Coelho

 

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 3 of 6
(4,674 Views)

Hi Daniel,

 

Thanks for posting on National Instruments Forum.

 

I think this example can be useful for you.

    Benjamin R.


Senior LabVIEW Developer @Neosoft


0 Kudos
Message 4 of 6
(4,666 Views)

Hi Benjamin,

that example is really great, but I think that I didn't explain myself very well.

I want hardware information that doesn't change, like serial numbers, because I want to lock my program to a specified computer in order to garantee that my program is only used on that computer with that processor and that disk and so on....

So, disk space and memory space doesn't do the trick.

The Programmers Toolbox doesn't do what I want ( I think... )

The operating system doesn't serve my porpose, except if I can get it's serial key.

I need to get the disk/processor/memory serial number and so on, because these kind of information are unique.

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 5 of 6
(4,660 Views)

Using Windows Management Information ( WMI ) may do the trick.

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 6 of 6
(4,484 Views)