Generic Trend visualization

2020-09-13
2020-09-15
  • jeromebunel

    jeromebunel - 2020-09-13

    Hello. I wish to realize a generic visualuzation allowing the display of trend curve, according to the call context. I have 99 tanks on my main visualization, and I want to display the level ans tempetature trendlines of the tank I click on un a generic visualisation.
    Is it possible to manipulate the display object of the trend curve and point it to the correct data

    Thanks a lot.
    Jérôme Bunel.

     
  • tvm

    tvm - 2020-09-15

    I'm actually working on something similar right now, trending the amps for 50 motors. My plan, which I haven't completed or tested yet, is to create a generic visualization with an XY graph that references an array, then copy each motor's array of trend data into the generic display.
    The XY chart can be manipulated from the program to set scale, curves, etc.
    You also might find this thread useful. https://forge.codesys.com/forge/talk/Visualization/thread/bcbc83fe88/

     
  • jeromebunel

    jeromebunel - 2020-09-15

    Hello. I have already use the XY chart with Data from an array; it works perfectly.

    The problem is to display the X axis value. Because for trendline, x values are date. So i think that the XY Chart will not understand the date format.

    the better will be to use the Trend display and be able to manipulate the data.

     
  • tvm

    tvm - 2020-09-15

    I created the X axis values manually with a text field. I wish I had access to the trend element, but I'm using Schneider Machine Expert, and they haven't implemented it.

     

Log in to post a comment.