PLUS+1 User Forum

PLUS+1™ Software => Displays => Topic started by: williamk on October 17, 2019, 11:29:49 PM

Title: DM430 Convert String to Text
Post by: williamk on October 17, 2019, 11:29:49 PM
I'm trying to have some dynamic text on my display, generated outside of the screen and then fed in as a variable.  I can't seem to find a way to convert my strings to text attach to my object's TextDefinition.Signal value in the Screen Editor.

Is this something that's possible or am going down the wrong path here?
Title: Re: DM430 Convert String to Text
Post by: williamk on October 18, 2019, 04:19:32 PM
I finally figured it out.  In the Screen Editor on the right side of the screen you double click on your text object in the Project Library.  Then in the Edit Text menu you add a Text Format and use a format specifier like: %1$.

Finally, in the Screen Manager on the left side of the screen you add your string as a signal to the "Data Value 1" field that was attached to your Text object.


This is all explained in the "Screen Editors" section of the User Manual in the "Edit Text Window" sub-section.