LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OS version and language display in LabVIEW

Hello
 
I'd like to check my OS name, version, and language in LabVIEW.
I used Open Application Reference and property node but Only
got
 
OS name: Windows NT, OS.version 5.1
 
Also I cannot find any property that can show language of my
windows (Chinese version), only a property show my LabVIEW
language.
 
I post my simple block diagram below.  Is there any properties
I can use, or do I need to call any Window DLLs and functions?
 
Thank you
 
LV version 8.2.1
OS: Win XP SP2, Traditional Chinese
 
 
 
 
 
0 Kudos
Message 1 of 3
(3,126 Views)
the function is GetSystemDefaultUILanguage in kernel32.  I copied the locale identifier enumeration from MSDN (link in code) and parse out the locale information.  Attached is a vi that should do the trick.  LV 8.2.1

Message Edited by Stradis on 09-27-2007 01:19 AM


Paul
Message 2 of 3
(3,113 Views)
Thank you
 
That's what I need.
 
Kirika
0 Kudos
Message 3 of 3
(3,089 Views)