I finally found a time window to schedule a SCADA outage to perform the upgrade to use graphicalViews Version 3.5.2. After the upgrade I changed the value of a binary point, and then consulted the pop-up historical table by a performing a mouseover of the respective graphical object. When I hovered my mouse over the icon_chart of the graphical object, the table showed the point value and the time it was logged. However, it still did not show the login name that set the logged value, as it did in earlier graphicalViews. Hopefully you can fix this so that the table will once again show the login name associated with the value change. If you can also make it show usernames for values logged before the last Mango restart, that would be even better.
The issue in the title of this thread still persists. I could not find an old screenshot that shows the pop-up, but basically every graphical view object would display at least three icons on mouseover:
- The grey brick icon Upon a mouse click it would link to
/data_point_details.shtmfor the respective point. This icon and link no longer appears in the mouseover pop-up, so users cannot click on it to go directly to the
/data_point_details.shtmof the respective point.
- The information icon still appears in the pop-up. A mouseover shows the point timestamp and value, but cliking on the icon has no effect, as expected.
- The chart icon still appears on the mouseover of a graphical object. Upon mouseover of the icon, it shows a pop-up graph, table, or statistics, depending on the respective point configuration, as expected.
Can you fix the mouseover so that it once again links to the point details of the respective graphical object? Thanks.
- The grey brick icon Upon a mouse click it would link to
I have a Scripting data source script that includes the following line:
LOG.info('Setting PIDs for primary mode ' + primary.value); // more important code below
The log output prints below the edit window when I click on the "Validate" button next to the script edit window:
INFO 2019-01-03 14:07:57,658 - Setting PIDs for primary mode 1 Setting point PID Function Enable A071 (0,1) to 1 @03/01/2019 14:07:57
I have an Event alarm level Urgent set for all error types on this source, including script error and log error.
Each day at midnight, I receive the following event:
** Urgent ** 00:00:00 - 'Poseidon VFD rules': ReferenceError: "LOG" is not defined in <eval> at line number 14 Note: This event requires a manual acknowledgement for it to become inactive
This is on core 3.5.5 as I did not want to risk an upgrade during the holidays. How can I fix this?
Thanks. Happy New Year!
@phildunlap I see that the graphicalViews Version 3.5.2 Release Notes states "Bugfix for sessionUser not being available for JSP processing." Will that show the username next to the point value on a graphical view table pop-up even if Mango has been restarted? Last time this feature was working, it seemed that it would not report the username if there had been a Mango restart since the point value was changed.
@phildunlap A year or two ago the newer
point_detailswas installed during a 2.x upgrade, and a graph icon appeared on the 2.x icon bar. I would use the newer
point_detailspage only when I wanted a live cursor to report the values on the graph. Usually I would use the older
data_point_detailspage for a non-rolled-up detailed historical graph.
Then a few months ago, after an upgrade, the grey lego
data_point_detailsicon disappeared from the icon bar (it used to be the first icon). At that time my users complained that it was gone, and just started using the newer interactive
point_detailspage. They also complained that they could no longer jump from a graphical view point pop-up to the point details page, because the grey lego icon was missing from the pop-ups on the graphical view. The newer
point_detailsicon was still on the icon bar, but nothing linked to it on the graphical page. I had thought that if Mango eliminated the graphical view objects links to the old
data_points_detailspage, they would update the links to point to the new
point_detailspage. My point is that the pop-up links, the old
data_point_detailspage, and the first icon (grey lego brick) all disappeared during an upgrade. I mentioned this because I thought it may help you track down the cause and the fix.
During a recent upgrade I manually installed
dataPointDetailsView, and the grey lego icon reappeared on the icon bar, but the point links in the graphical component pop-ups on the graphical view page did not reappear. So we can now once again view point details on either the new or the old page depending on which icon we click on on the icon bar, but users must memorize the point name in the graphical view, and type it in after loading the point details page.
Note that I had to reinstall data_point_details manually because it disappeared after an earlier upgrade. Perhaps the links to it from the graphical view pop-ups were removed at that time. I am eager to fix this with the upgrade you posted, but I dare not upgrade on a Friday afternoon. Thanks.
I am using the old ver 2.0 graphical views because every graphical object shows a pop-up on mouseover() that displays the point value, update time, a pop-up historical graph, and an option to change the point value. As far as I know, the dashboard graphical objects have no pop-ups.
The pop-up also used to display a grey Lego brick icon linking to the respective data_point_details.shtm page for that point, but now (in graphicalViews Version 3.5.1, core 3.5.5) it does not link to
data_point_details.shtm, nor does it link to the newer
point_details.shtmpage. I usually use the older
data_point_details.shtmbecause it is better at showing a large number of points. The newer interface hides peak values when the data must be averaged to fit a rollup.
Also, graphical view pop-up value table pop-ups used to display the username that set the point, alongside the value and time; now it does not show the username. How can I restore these useful features? Thanks.
Thank you both. This time the error was mine. I thought the point was multistate, but I now realize it was numeric rendered as a range. So I exported its historic values, changed the point type, then imported the values back in. It works now.
Thank you for adding the get() function back into the statistics object. I can get it to work for binary data types, but I can't get it to work for multistate data.
var bulk = 1; var stagePastDay = stage.past(DAY); var bulkHours = stagePastDay.data.get(bulk).runtime / (1000*60*60); return bulkHours;
Script error: TypeError: Cannot read property "get" from undefined in <eval> at line number 3 in <eval> at line number 3
If I replace "stage" with a boolean datapoint, it works fine.
I also tried using .getStartsAndRuntime(), but that also did not work. Even the .getStartsAndRuntime() example from the "Mango Java Script" help page did not work.
How can I obtain the runtime of a given state in a multistate datapoint?
Have all the examples in the "Mango Java Script" been verified to still work after the changes?