As per the title, is it possible to disable trend interpolation and simply make the trend draw stepped flat lines? I'm trending a lot of booleans and linking 0/1 values with straight lines going at an angle don't really work.
Also, is there a way to change the line style of the dotted line which appears right after a value stops changing? I'm guessing it appears to indicate that a value isn't changing and stayed at the same level, but it can be confusing to some operators.
Regards,
Tom
Trends - how to disable interpolation?
- dbindernagel
- Posts:161
- Joined: Mon Feb 23, 2015 1:34 pm
Re: Trends - how to disable interpolation?
1.
In the trend editor window under the tab page "Style" you have the option to select the "Curve type". Select "Steps" instead of "Linear" for Boolean values.
2.
I don't know of any way to change the style of the dotted line.
In the trend editor window under the tab page "Style" you have the option to select the "Curve type". Select "Steps" instead of "Linear" for Boolean values.
2.
I don't know of any way to change the style of the dotted line.
- tpjctrl
- Posts:145
- Joined: Tue May 08, 2018 10:30 am
Re: Trends - how to disable interpolation?
Huge thanks dbindernagel, I'm adding and removing curves using a script, so haven't got any curves set up in the trend editor window, thus wasn't able to see the "Style" setting.
Cheers,
Tom
Cheers,
Tom
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Trends - how to disable interpolation?
With the trend attribute "curveType" you can define the type.
The possible values are
POINTS = 0
STEPS = 1
LINEAR = 2
EVENT = 4
For details please have a look at the WinCC OA Documentation.
Best Regards
Leopold Knipp
Senior Support Specialist
The possible values are
POINTS = 0
STEPS = 1
LINEAR = 2
EVENT = 4
For details please have a look at the WinCC OA Documentation.
Best Regards
Leopold Knipp
Senior Support Specialist
- tpjctrl
- Posts:145
- Joined: Tue May 08, 2018 10:30 am
Re: Trends - how to disable interpolation?
Thanks Leopold, this is how I've handled it.
I'm guessing there's nothing that can be done (look wise) about the dotted line which is drawn at the last known value?
Regards,
Tom
I'm guessing there's nothing that can be done (look wise) about the dotted line which is drawn at the last known value?
Regards,
Tom
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Trends - how to disable interpolation?
With the config entries trendPseudoLineStyleLikeCurve and trendStatusPattern you can define how curves shall be shown in the trend.
For details please have a look at the WinCC OA Documentation.
Best Regards
Leopold Knipp
Senior Support Specialist
For details please have a look at the WinCC OA Documentation.
Best Regards
Leopold Knipp
Senior Support Specialist
- tpjctrl
- Posts:145
- Joined: Tue May 08, 2018 10:30 am
Re: Trends - how to disable interpolation?
Yet again Leopold, thank you kindly for your help!
Regards,
Tom
Regards,
Tom