New Line in Text Widget

Discuss issues and ideas you have to configuring displays with PowerVision
cconner_aie
Posts: 93
Joined: Thu Jun 11, 2015 10:12 am

New Line in Text Widget

Post by cconner_aie » Wed Apr 20, 2016 4:16 pm

Hello,

I'm working on setting up DTC's for a PV480, I'd post in OEM but I think this would apply to all panels.

In particular we have multiple DTC's that share the same SPN and FMI, I'm not sure how the ECU differentiates these and haven't looked much into them but they do have different DTC numbers.

E.G.

DTC 2111, SPN 51, FMI 7 ... Unable to Reach Lower TPS
DTC 2112, SPN 51, FMI 7 ... Unable to Reach Higher TPS

My question is, can I set up the DTC so that the message has a new line break so that the DM1.Header.Description comes out to something like this?

Image

DTC 2111: Unable to Reach Lower TPS
DTC 2112: Unable to Reach Higher TPS

In other syntaxes I can do
"DTC 2111: Unable to Reach Lower TPS\nDTC 2112: Unable to Reach Higher TPS" or
"DTC 2111: Unable to Reach Lower TPS\rDTC 2112: Unable to Reach Higher TPS" or
"DTC 2111: Unable to Reach Lower TPS\r\nDTC 2112: Unable to Reach Higher TPS"

I tried this and it did not work.

Now all of these duplicate DTC's are related so I can write the description to include both, but it'd be nice to reference the OEM DTC number as well and be able to format it so it's not all on one line.

Thanks,
Coleby Conner
Controls Engineer, Anderson Industrial Engines
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: New Line in Text Widget

Post by stalley » Thu Apr 21, 2016 9:05 am

Hello Coleby,

Currently, there is not a way to embed end of line formatting into a text widget/reserved string/DTC message... as you have found.

I can move this to the Request Features forum and put it on our backlog, if you don't mind.
Sara Talley
Software Engineer
Enovation Controls
cconner_aie
Posts: 93
Joined: Thu Jun 11, 2015 10:12 am

Re: New Line in Text Widget

Post by cconner_aie » Thu Apr 21, 2016 9:11 am

Thanks, I went through and re-wrote the DTC list to concatenate the duplicates and that will work for us.

I can see there being other cases where embedded line breaks would be helpful so if it were ever to be added that'd be great but I'm sure there are much higher priorities for your programmers so I can work around it going forward.

Thanks!
Coleby Conner
Controls Engineer, Anderson Industrial Engines