Linechart problems with node configuration

I use LineChart widget with node binding. Node is setted up with EU limits, I change it from PLC. My goal is to make autozoom history chart, but Linechart stops working and doesn’t show array content. Also it stops change chart limits. Could you help me with the problem?
image

I think we need more information from you. Please provide screenshots of how it was configured before when it worked, what changes you have made, and what the current behavior is. I would also recommend checking the logger to see if there are any errors from the OPCUA subscription

Before

(but later I understood I need real values, not scaled ones)
After


pChartData1[0…999] is reference binded to chartData[1…64,0…999] array
highChartLimits and lowChartLimits - array used for defining chart scale.

I have 4 chart panel: one with one chart, others with two charts, four charts and eight charts. Problem arises when I switch this page content by content loading… This charts is all binded to array [1…8,0…999] respectively, first chart to 1,0…999, second to 2,0…999 and so on by using reference [0…999]. Charts stop working and changing node limits and chart buffer content doesn’t affect on chart behavior, I see line with zero values and old node limits.

tbh I have no time for that this week. So lets hope that someone else can help you, otherwise I return to you next week.

Log gives following warnigs:
$visu:EventID -2134830200 (WARNING, 193, 5000), lpBin=0x15756370, “mapp View Server”, “”
$visu:EventID -2134830200 (WARNING, 193, 5000), lpBin=0x15756288, “mapp View Server”, “”
$visu:EventID -2134830200 (WARNING, 193, 5000), lpBin=0x15756288, “mapp View Server”, “”
$visu:EventID -2134830200 (WARNING, 193, 5000), lpBin=0x15755d18, “mapp View Server”, “”
And after this warning widget stops working

This is what AS help says:

-2134830200

Cause and solution

When converting units, note that the unit system is only active if the text configuration exists.

At the moment I think the only way how to move forward is to provide project to first level support in local B&R office and ask them for help.

It’s look like, I found the problem: I fill chart buffer with NaN values for cleaning up purposes, when I stoped do this and replace NaN to zero problem was eliminated.

1 Like