Adding strings to string list

Discuss issues and ideas you have to configuring displays with PowerVision
mbowdich
Posts: 209
Joined: Tue Oct 05, 2010 10:54 am

Adding strings to string list

Post by mbowdich » Wed Jul 20, 2011 5:22 pm

Is there a way to add strings to the string list that are not actually found anywhere else in the system (DM1, text gauge, etc.)? I see that the indirect text widget uses the strings from the list in numerical order and would like to use this to recall text, but the text I want to recall does not exist anywhere else.
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: Adding strings to string list

Post by jpratt » Fri Jul 22, 2011 7:59 am

In 2.2 there is not an easy way to do this. The only solution in 2.2 is to use the SetWidgetText script method. However, 2.3 will introduce a new programming item for storing and interacting a string. These strings can be managed in scripts (via new scripting methods) as well as allow you to bind strings directly to Text Widgets and Keyboard Widgets. This new functionality effectively replaces both SetWidgetText and Indirect Text although both are still available for backward compatability
Jake Pratt
Software Development Manager