NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Localization - Accessing Language Property

Hello,

Is there a function (preferably in LabWindows/CVI) that will allow me to get (read) or set (write) the language property setting (i.e. "English", "Spanish", etc.) of TestStand. I would like access to this property so that I can compare it to the language setting of the PC and verify that they are the same. If these settings are different, I would like to be able to set the TestStand language property to the same setting as the PC.

Thank you in advance for your time and assistance.

Thank you,
Jim
0 Kudos
Message 1 of 2
(2,924 Views)
Jim -
You need to access the StationOptions.Language property of the TestStand engine. The wrappers for CVI will have this property as TS_StationOptionsGetLanguage and TS_StationOptionsSetLanguage. Changes to this property do not take effect until the next time you start the engine or call Engine.ReloadStringResourceFiles.
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(2,913 Views)