From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically get windows version (XP or Win 7)

Can't seem to find this one.  Need to know what version Windows is running within my LabView 13 program and behave differently if Win7 vs. XP.  I tried fishing in the .net classes and there are so many - couldn't find OS version there.  This must be easy - anybody?  Thanks

0 Kudos
Message 1 of 3
(2,570 Views)

This should do it:

OS.png

 

(The property node class is /VI Server/Application)

Message 2 of 3
(2,565 Views)

 On the off chance you need more information, this also works:

 

sysinfo.png

Message 3 of 3
(2,548 Views)