04-11-2008 09:14 AM
04-11-2008 09:59 AM
Run a full UI example and right click on the step list. Notice that there is a Step List Configurations sub-menu in the context menu. This menu lets you create and select different configurations of all the properties of the step list control, except for the border properties. When you select a configuration, the application saves which selection you made in the application configuration file (see ApplicationMgr.ConfigFile) so that the step list configuration you selected can be used again the next time you run the application.
Because the selected configuration is loaded when the application starts, it will overwrite any changes you make to the same step list properties in the designer, except in the case when the application configuration file hasn't been created or doesn't have a selected step list configuration saved.
If you don't want your application to allow the user configure the step list, set ApplicationMgr.UseStepListConfigurations to False. Then, no configurations will be loaded and your designer settings will alway be used.
04-11-2008 12:18 PM
04-11-2008 01:14 PM
1) In 4.0, it is there in the step list context menu for the Full UI examples and the sequence editor. Run an unmodified Full UI example.
2) The help for ApplicationMgr.ConfigFile has a link to the ApplicationMgr.ConfigFilePath property, which controls the location of the file. You do not need to worry about configuration management for this file unless you want to distribute a UI with some of the settings in the file preset to certain values.
If you are curious, you can find the template for the default configuration file (the one that is automatically created if you don't already have one) in C:\Program Files\National Instruments\TestStand 4.x\Bin\DefaultUIConfigurationFile.xml. Note that 99% of the file is the storage of step list configurations. At the end of the file, some other things are stored, such as the settings for:
Note that a developer of a custom UI can add anything they want to the config file.
04-12-2008 12:02 PM
04-14-2008 09:53 AM
04-16-2008 09:45 AM
04-16-2008 09:54 AM
The sequence list has far fewer options and is not interactively configurable like the step list.
In the C# UI, the line of code that enables the comments column is:
this.axSequenceFileViewMgr.ConnectSequenceList(this.axSequencesList).SetColumnVisible(SeqListConnectionColumns.SeqListConnectionColumn_Comments, true);
So, look for a call to SequenceListConnection.SetColumnVisible
04-16-2008 12:57 PM
04-16-2008 01:36 PM