Dashboard Chart

Forum Home Forums Uncategorized Issues Dashboard Chart

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2723
    peter_f
    Participant

    Hi
    I installed Dashboard and Chart Pro Trial. I created Dashboards with 3 items (1 Chart, 1Table and 1 URL) it worked fine. After some testing i bought the bought the key. I’m not really shure but my impression is that sinc I installed the key something runs wrong.

    Application Error
    An application error occurred. If it repeats often, please contact the support.
    Details:
    Error getting view with ID=3 from the cache or from the server: Value cannot be null.
    Parameter name: viewType

    I don’t know what View ID means. I tried different values for view ID, there was no difference. The Dashboard worked well and there is no other change I made but changing from Trial key to licensed key. Have I to adjust somewhere that I use an other key. (In the configuration tab i receive the message Registration key is valid

    Peter

    #2730
    Mikhail
    Moderator

    Hi Peter,

    I don’t think that the error relates to a new key. Anyway we need to solve it.

    View is a scheme or a table which is specified in the Interface table in Administrator.

    What is the URL of the page with the error?
    Copy here the errors from the logs of SCADA-Server and Webstation.
    Post here a link to a screenshot of the Interface table.
    Post here the dashboard configuration, please.

    #2733
    peter_f
    Participant

    Hi Mikhail,

    I think it is helpful to say that table & chart work if they are startet from the Menu. In the dashboard table works fine, but there is no chart.

    you should see the page on this URL this will be better than any explanation:

    fischerp.selfhost.eu:8888/scada
    (The Link is just temporary working)

    This is the dashboard configuration

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <DashboardConfig>
    <DashboardOptions>
    <Name>Temperaturen</Name>
    <ColumnCount>2</ColumnCount>
    <AspectRatio>1.33</AspectRatio>
    </DashboardOptions>
    <Widgets>
    <Widget type=”Chart” cnlNums=”601,602,603,604,605″ viewIDs=”2,2,2,2,2″ period=”1″ />
    <Widget type=”Chart” cnlNums=”601,602,603,604,605″ viewIDs=”2,2,2,2,2″ period=”7″ />
    <Widget type=”CurData” cnlNums=”601,602,603,604,605″ viewIDs=”2,2,2,2,2″ />
    <Widget type=”CustomUrl” url=”http://sankey-diagram-generator.acquireprocure.com/&#8221; />
    </Widgets>
    </DashboardConfig>

    I hope this is the relevant part of the logfile

    2017-10-31 21:51:26 <LENOVOSFF><DefaultAppPool><ACT> Initialize common web application data
    2017-10-31 21:51:26 <LENOVOSFF><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
    2017-10-31 21:51:26 <LENOVOSFF><DefaultAppPool><ACT> Refresh the tables of the configuration database
    2017-10-31 21:51:27 <LENOVOSFF><DefaultAppPool><ACT> Fill input channels properties
    2017-10-31 21:51:27 <LENOVOSFF><DefaultAppPool><ACT> Fill output channels properties
    2017-10-31 21:51:27 <LENOVOSFF><DefaultAppPool><ACT> Fill input channel statuses properties
    2017-10-31 21:51:27 <LENOVOSFF><DefaultAppPool><ACT> User information has been added. IP address: 192.168.2.128. Session: fqykwmnz3cnft4tdpqyljyde
    2017-10-31 21:51:35 <LENOVOSFF><DefaultAppPool><ACT> Login: admin (Administrator). IP address: 192.168.2.128
    2017-10-31 21:51:35 <LENOVOSFF><DefaultAppPool><ACT> User information has been updated. IP address: 192.168.2.128. Session: fqykwmnz3cnft4tdpqyljyde
    2017-10-31 21:52:21 <LENOVOSFF><DefaultAppPool><ACT> Check “Dashboard” registration:
    Registration key is valid
    2017-10-31 21:52:30 <LENOVOSFF><DefaultAppPool><ACT> Check “Chart Pro” registration:
    Registration key is valid
    2017-10-31 21:52:31 <LENOVOSFF><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: Value cannot be null.
    Parameter name: viewType:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: viewType
    at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
    2017-10-31 21:52:32 <LENOVOSFF><DefaultAppPool><EXC> Application error:
    Scada.ScadaException: Error getting view with ID=2 from the cache or from the server: Value cannot be null.
    Parameter name: viewType
    at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
    at Scada.Web.Plugins.ChartPro.WFrmChartPro.Page_Load(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Page: http://192.168.2.21/Scada/plugins/ChartPro/ChartPro.aspx?cnlNums=601,602,603,604,605&viewIDs=2,2,2,2,2&&period=-7
    User: admin
    2017-10-31 21:52:33 <LENOVOSFF><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: Value cannot be null.
    Parameter name: viewType:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: viewType
    at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
    2017-10-31 21:52:33 <LENOVOSFF><DefaultAppPool><EXC> Application error:
    Scada.ScadaException: Error getting view with ID=2 from the cache or from the server: Value cannot be null.
    Parameter name: viewType
    at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
    at Scada.Web.Plugins.ChartPro.WFrmChartPro.Page_Load(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Page: http://192.168.2.21/Scada/plugins/ChartPro/ChartPro.aspx?cnlNums=601,602,603,604,605&viewIDs=2,2,2,2,2&&period=-1
    User: admin
    2017-10-31 21:52:44 <LENOVOSFF><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: Value cannot be null.
    Parameter name: viewType:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: viewType
    at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
    2017-10-31 21:52:44 <LENOVOSFF><DefaultAppPool><EXC> Application error:
    Scada.ScadaException: Error getting view with ID=2 from the cache or from the
    server: Value cannot be null.

    Parameter name: viewType
    at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
    at Scada.Web.Plugins.ChartPro.WFrmChartPro.Page_Load(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Page: http://192.168.2.21/Scada/plugins/ChartPro/ChartPro.aspx?cnlNums=601,602&viewIDs=2,2&&period=-2
    User: admin

    Here you can find the screenshots.
    http://www.mediafire.com/?2sr31bh2kkk6d

    Peter

    #2735
    Mikhail
    Moderator

    Hi,

    Thank you for the link. It’s better than a screenshot.
    Try http://fischerp.selfhost.eu:8888/Scada/View.aspx?viewID=2
    You will get “The requested view does not exist or you have insufficient rights to access it.”

    You specified
    Widget type=”Chart” cnlNums=”601,602,603,604,605″ viewIDs=”2,2,2,2,2″
    in the dashboard settings.
    But you have to specify the existing view that really contains the channels 601…605
    May be viewIDs=”64,64,64,64,64″

    #2737
    peter_f
    Participant

    Hi Mikhail,
    apparently it is my mistake that i payed attention to this. In the table it works with the wrong ID. Now it works and I have to thank you.
    Peter

    #2740
    Mikhail
    Moderator

    OK 🙂

    #7629
    dinop
    Participant

    Hello,

    I want to ask if is it possible to use a variable for period inside XML document for Dashboard. For example in default example for Dashboard period is set to 2.

    Can I use instead of number 2, a variable named xy that can be changed somewhere and then just called inside XML document for Dashboard.

    EXAMPLE:
    <?xml version=”1.0″ encoding=”utf-8″?>
    <DashboardConfig>
    <DashboardOptions>
    <Name>Dashboard Example 1</Name>
    <ColumnCount>1</ColumnCount>
    <AspectRatio>3</AspectRatio>
    </DashboardOptions>
    <Widgets>
    <Widget type=”Chart” cnlNums=”101,102,103,104,105″ viewIDs=”2,2,2,2,2″ mode=”rolling” PERIOD=”2″ (CAN HERE BE A VARIABLE?????) title=”Sample Chart” RefreshRate=”10000″ config=”PlgChartPro.xml” />
    </Widgets>
    </DashboardConfig>

    #7636
    Mikhail
    Moderator

    Hello,

    The initial widget period is a constant. However, a user can change period in Chart Pro menu. After reopen, the period is set to initial value.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.