Forum Replies Created
-
AuthorPosts
-
kcks66
ParticipantHi Mikhail,
I have question to ask; how I am going to change the Subtitle as below to desired name?
2. Elastic report –> Other name 1
3. Elastic report –> Other name 2My configuration:
Thank you.
kcks66
ParticipantHi Mikhail,
Noted with thx.
kcks66
ParticipantHi Mikhail,
I am now working on yearly report. Is the Elastic Report able to generate something like this example?
Date Total Usage (kWh)
01/01/2017 123456789
01/01/2018 123456789
01/01/2019 123456789
01/01/2020 123456789
01/01/2021 123456789Thank you.
kcks66
ParticipantHi Mikhail,
I restarted the service Instance status but still cannot get computer code. And I have no idea where to find the communication line log.
By the way, I found this error log:
2021-02-09 10:26:29 <MAC-WIN10><SYSTEM><ACT> ScadaCommService 5.2.1.2 is started
2021-02-09 10:26:29 <MAC-WIN10><SYSTEM><ACT> Load device library: KpModbus.dll
2021-02-09 10:26:29 <MAC-WIN10><SYSTEM><ACT> Load device library: KpTelegram.dll
2021-02-09 10:26:29 <MAC-WIN10><SYSTEM><EXC> Error creating communication line 4:
Scada.ScadaException: Error getting device logic type from the library KpTelegram.dll: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information. —> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Scada.Comm.Devices.KPFactory.GetKPLogic(String kpDir, String dllName, Int32 kpNum)
— End of inner exception stack trace —
at Scada.Comm.Devices.KPFactory.GetKPLogic(String kpDir, String dllName, Int32 kpNum)
at Scada.Comm.Engine.CommLine.CreateKPLogic(Int32 kpNum, String dllName, AppDirs appDirs, Dictionary`2 kpTypes, Log appLog)
at Scada.Comm.Engine.CommLine.Create(CommLine commLineSett, CommonParams commonParams, AppDirs appDirs, PassCmdDelegate passCmd, Dictionary`2 kpTypes, Log appLog)
at Scada.Comm.Engine.Manager.CreateCommLine(CommLine commLineSett)
2021-02-09 10:26:30 <MAC-WIN10><SYSTEM><ACT> Connect to SCADA-Server “localhost”
2021-02-09 10:26:31 <MAC-WIN10><SYSTEM><ACT> Start communication lines
2021-02-09 10:26:31 <MAC-WIN10><SYSTEM><ACT> Start receiving commandsTelegram driver:
https://ibb.co/CVD9Cg7kcks66
ParticipantHi Mikhail,
Noted with thanks.
kcks66
ParticipantHi Mikhail,
I changed to 12 and it worked.
Thank you.kcks66
ParticipantHi Mikhail,
I set it to 1, but I still having the same error.
kcks66
ParticipantHi Mikhail,
The error was the same if I selected Excel or PDF. The error information from the log:
2021-01-31 21:11:45 <MAC-WIN10><DefaultAppPool><ACT> Generate “Elastic report” report by the user admin
2021-01-31 21:11:45 <MAC-WIN10><DefaultAppPool><EXC> Application error:
System.ArgumentOutOfRangeException: Hour, Minute, and Second parameters describe an un-representable DateTime.
at System.DateTime.TimeToTicks(Int32 hour, Int32 minute, Int32 second)
at Scada.Web.Plugins.ElasticReport.Model.Builder.DocContext.InitWorkPeriod(DateTime startDate, DateTime endDate, Boolean prependDay, Boolean appendDay)
at Scada.Web.Plugins.ElasticReport.Model.Builder.DocBuilder.GenerateDocument(ElasticRepConfig config, DateTime startDate, DateTime endDate, BuildOptions buildOptions)
at Scada.Web.Plugins.ElasticReport.ElasticRepHtmlBuilder.GenerateHtml(ElasticRepConfig config, DateTime startDate, DateTime endDate, String& title)
at Scada.Web.Plugins.ElasticReport.WFrmElasticRepHtmlOut.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://localhost/Scada/plugins/ElasticReport/ElasticRepHtmlOut.aspx?reportID=50&startDate=2021-01-01&endDate=2021-01-01
User: adminkcks66
ParticipantHi Mikhail,
Yes. Thank you.
kcks66
ParticipantHi Mikhail & Manjey73,
I have no knowledge on the “Integration with Rapid SCADA” parts. However, I managed to manual generate value in new Achieve files.
The setting is from the Saving Parameters. I increased the default 365 days to more, then it worked.
-
This reply was modified 4 years, 7 months ago by
kcks66.
kcks66
ParticipantHi Manjey73,
Can you explain more about the API.
Thank you.kcks66
ParticipantHi Mikhail,
I retry many times by using the Server Generator. But no new file is created. Pls advice and thank you.
-
This reply was modified 4 years, 7 months ago by
kcks66.
kcks66
ParticipantHi Mikhail,
I have new question to ask; can I generate value into new DAT file with date earlier than recorded?
I want to generate value into channels for date 2018 Jan 1 as example.
Thank you.kcks66
ParticipantHi Mikhail,
It is worked after I changed the ChartGap to 4,000 sec.
https://ibb.co/R2LZXkBThank you.
kcks66
ParticipantHi Mikhail & manjey73,
I succeed generated value and show on Chart after Status wrote 2.
There were one value generated at 00:00 and another value generated at 01:00. Is there any possibility to join the line in between them?
Thank you.
-
This reply was modified 4 years, 7 months ago by
-
AuthorPosts