TrendViewer iX 2.0

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
bjornidar
Posts: 49
Joined: Thu Nov 17, 2011 2:10 am
Location: Norway
Contact:

TrendViewer iX 2.0

Post by bjornidar »

Hi,

I'm having troubles with the trendviewer advanced and it's realt time graphs (trendpens).
Now matter what span I use, I can only view the latest hour in trendviewer unless I enter history mode.

Does anyone else here have the same problem?

PS!
I'm now running on build 463 - a tip from Beijer Norway.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: TrendViewer iX 2.0

Post by mark.monroe »

The time span is in seconds. Have you tried using 3600 seconds as the time span? That should give you a range of 60 minutes; 60 seconds * 60 minutes = 3600 seconds.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

bjornidar
Posts: 49
Joined: Thu Nov 17, 2011 2:10 am
Location: Norway
Contact:

Re: TrendViewer iX 2.0

Post by bjornidar »

Yes, 3600 is my default value.
But I'd also like to view realtime trend with a span of 6 & 12 hours - 21600 & 43200sec.

I know this was possible under iX 1.31 - but as soon as I upgraded my project to iX2.0, the trend stopped working as I wan't to.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: TrendViewer iX 2.0

Post by mark.monroe »

I tested it and it works correctly on my computer. Here are a few screenshot that might help. In this example, Tag1 is used to set the Time Span.
Snap 2013-09-06 at 09.16.03.jpg
Snap 2013-09-06 at 09.16.03.jpg (79.61 KiB) Viewed 14114 times
Snap 2013-09-06 at 09.13.27.jpg
Snap 2013-09-06 at 09.13.27.jpg (25.86 KiB) Viewed 14114 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

bjornidar
Posts: 49
Joined: Thu Nov 17, 2011 2:10 am
Location: Norway
Contact:

Re: TrendViewer iX 2.0

Post by bjornidar »

Yes, I belive I have the same setup but it doesn't seem to work in runtime (not history mode).

Do you have span = 43200 when "play"-button is active?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: TrendViewer iX 2.0

Post by mark.monroe »

What do you mean by the "Play button"? Here is a project that works find on my machine.
Project10.zip
(28.63 KiB) Downloaded 835 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

bjornidar
Posts: 49
Joined: Thu Nov 17, 2011 2:10 am
Location: Norway
Contact:

Re: TrendViewer iX 2.0

Post by bjornidar »

Now I've tested a TrendViewer in my new application, and my timespan is set to 21600 seconds.. No matter what, when history is turned OFF trend does not show more than 3600seconds of data.

Doesn't the trendviewer upload data older than 3600 seconds from the DataLogger unless you enter history mode??


--------------
What I meen is that in my Trend-chart I have several buttons for historic trend, like "Go back"/ "Forward".

This is for adding offset to the history so that you can go back in time..

Image

------

I've opened your project and see that there are some changes since I developed the Trend-standard for my company in iX1.31.

I will give your solution a try, with the Back/ Forward modification.

I'm also setting up a PLC to see if realtime-values are being updated when the timespan is changed. (This is done in my project from the ComboBox).

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: TrendViewer iX 2.0

Post by mark.monroe »

If you converted a project from 1.31 to 2.0, you need to make sure that you associate your trend viewer with the "Log Item" column, not the "Tag" column. The "Log Item" column tells the Trend to pull data from the Datalogger, while the "Tag" column just displays data as it comes in. That might be your problem.
Snap 2013-09-18 at 09.34.44.jpg
Snap 2013-09-18 at 09.34.44.jpg (49.15 KiB) Viewed 14035 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

bjornidar
Posts: 49
Joined: Thu Nov 17, 2011 2:10 am
Location: Norway
Contact:

Re: TrendViewer iX 2.0

Post by bjornidar »

Theese images might illustrate my problems;

Image
6 hours time span (this is the default time span)

Image
24 hours time span

Image
History mode

Post Reply