NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

saving bounds information

I'm customizing the LabVIEW version of the TS4.0 Operator Interface.  I added a couple of Expression Edit controls to display some specific Sequence/SequenceFile information in the SequenceView.  Anyway, I'm looking at the file Full UI - Load Control Sizes.vi (attached), and I'm trying to understand the call to TestStand-Load Sizes.vi - In particular, I'm wondering about the Configuration Property Name input.  The Context Help for TestStand-Load Sizes.vi (and the Save Sizes VI) mentions that the height and width of the controls are stored in aTestStand Application Configuration File, but it doesn't say where the default file is stored (or what it's called).  There is an input "Configuration Property Name" that I could specify, but I'd like to look at the existing one first. 
Message 1 of 4
(3,358 Views)

The file will be located at %UserProfile%\Local Settings\Application Data\National Instruments\TestStand %TSVer%\UserInterface.xml.  If the UserProfile environment variable is not defined, the pathname defaults to UserInterface.xml in the directory containing the application executable. 

This information can be found in the TestStand help files.  In this particular case I pulled up the information by right clicking on the config file invoke node within your vi and selecting "help for configfile".  Looking through the information I then followed the link "configfilepath" under remarks in the help window.  This is a quick and easy way to access the TestStand help while in LabVIEW.

Good luck with your project.

Message Edited by Dillon G on 08-29-2007 04:43 PM

0 Kudos
Message 2 of 4
(3,343 Views)
Is it only during runtime that this file exists.  I can't seem to find anything resembling this file/name
0 Kudos
Message 3 of 4
(3,319 Views)
mrbean,

This file is not only available at runtime.  Just to make sure, when the help document references %UserProfile%, it's referring to the path that is most likely C:\Documents and Settings\<user name>.  Note that "Local Settings" is a hidden folder.  You can select Tools>>Folder Options>>View tab>>"Show Hidden Files and Folders" to enable hidden folders.  Additionally, if you still can't find it, search your C: drive (or whatever drive Windows is installed on) for UserInterface.xml.
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 4 of 4
(3,308 Views)