LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I retrieve Windows OS version from Labwindows?

Hi,
I need to create an application on CVI (Labview is also an option) that will run on either NT, 2000 or XP to retrieve the OS information. I tried this in CVI 8.1 (GetWinOSVersion) but this will only run on 2000 and XP systems. I have CVI from 5.1 to 8.5 available.
Any suggestions are welcome. Thanks.
0 Kudos
Message 1 of 4
(3,596 Views)
Hi Lupita,
 
Exactly what information about the OS are you trying to retreive? Just what operating system you are running?
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 2 of 4
(3,578 Views)
you can use the GetVersion() function which is part of the Windows SDK. contrary to what is specified on the web page, the platform sdk for windows 2003 tells that it is supported as far back as windows 95. eventually, the GetVersionEx() or VerifyVersionInfo() functions might also suit your needs.
0 Kudos
Message 3 of 4
(3,562 Views)
Hello Lupita,

There is an example c:\....\cvi85\samples\verinfo\verinfo.cws, hope that
helps.

Greetings from Bremerhaven, Germany

Norbert Rieper
ISITEC GmbH



"Lupita" <x@no.email> schrieb im Newsbeitrag
news:1204069210291-661314@exchange.ni.com...
> Hi,
> I need to create an application on&nbsp;CVI (Labview is also an option)
> that will run on&nbsp;either NT, 2000 or&nbsp;XP to retrieve the OS
> information. I tried this in&nbsp;CVI 8.1 (GetWinOSVersion) but&nbsp;this
> will only run on 2000 and XP systems. I have CVI from 5.1 to 8.5
> available.
> Any suggestions are welcome. Thanks.


0 Kudos
Message 4 of 4
(3,546 Views)