length limitation in text gauge?

Discuss issues and ideas you have to configuring displays with PowerVision
mkeller
Posts: 8
Joined: Tue Oct 08, 2013 9:29 am

length limitation in text gauge?

Post by mkeller » Fri May 09, 2014 4:02 pm

Hi,

i'am am using PV 2.6 with an HV700HB.

At the moment i am trying to bring up large DTC "corrective action" strings to an pop-up, which can be make visiable by the user to get a better description of the actual diagnostic code.
I enabled "word wrap" and disabled "clip" to get the full text to the widget, but unfortunately the text is cutted after the second line.

Is there any limitation for the text shown on the screen? Do I have to cut the strings to smaler ones by script? This would be very ugly....

Thx
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: length limitation in text gauge?

Post by jpratt » Fri May 09, 2014 4:04 pm

The Reserved Strings determine how much text you will see. If you are connecting the widget to a reserved string, check the string in Programming and see how many characters it has. I believe the default is 128 for these strings
Jake Pratt
Software Development Manager
mkeller
Posts: 8
Joined: Tue Oct 08, 2013 9:29 am

Re: length limitation in text gauge?

Post by mkeller » Mon May 12, 2014 6:13 am

Thank you for your help.
It works. :)

The default length is 128 and the maximum string length seems to be 512, any longer number was changed to 512.


Is there a way to get longer strings from the DTC Database, like splitting it to more then one reserved strings?
I think not, because the maximum length of a reserved string is 512.
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: length limitation in text gauge?

Post by jpratt » Mon May 12, 2014 6:19 am

There isn't an easy work around i can think of. I will have to investigate if the limit is anything required or just an arbitrary limit. How big are you needing. Would 2048 be enough on a color display?
Jake Pratt
Software Development Manager
mkeller
Posts: 8
Joined: Tue Oct 08, 2013 9:29 am

Re: length limitation in text gauge?

Post by mkeller » Mon May 12, 2014 6:28 am

I think 2048 is enough.

Most strings are smaler than 100 chars in my configuration, only a few of the strings are longer than 512.

Thank you for your engagement.
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: length limitation in text gauge?

Post by jpratt » Tue May 13, 2014 11:43 am

We are going to get this change incorporated into the 2.7 Patch we are working on now. I expect we will be able to release a public beta for the patch if not the final version in the next week or so.
Jake Pratt
Software Development Manager
verschuren
Posts: 79
Joined: Wed Oct 28, 2015 8:40 am

Re: length limitation in text gauge?

Post by verschuren » Thu Jan 28, 2016 3:41 pm

Was this issue fixed? I seem to have my DTC string being cut off at 129 characters on the display, not in powerVision. The box is big enough and could fit a lot more.
Mario Verschuren
Controls Integration
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: length limitation in text gauge?

Post by stalley » Fri Jan 29, 2016 9:04 am

Look at the Length value in Programming for the Reserved String being displayed.
You might also look to see if other processing is being done to the string that could affect the length of the string.
You might look to see if the text widget Display Text properties are set to Wrap or Clip.
Sara Talley
Software Engineer
Enovation Controls
verschuren
Posts: 79
Joined: Wed Oct 28, 2015 8:40 am

Re: length limitation in text gauge?

Post by verschuren » Mon Feb 01, 2016 9:32 am

That worked. I had a text string limitation.
Mario Verschuren
Controls Integration