Forum Replies Created
-
AuthorPosts
-
MikhailModeratorThe idea is create a class derived from Server (include writeVQT) and add “public override write(IOsyncIO:write)” to the new class. Right?
The idea to override a method is right. Details depend on you.
How can i debugg librarys in visual studio?
1. Build a library in Debug configuration.
2. Copy DLL to Communicator and Run Communicator as usual.
3. In VS go to Debug – Attach to Process and choose ScadaCommSvc.exe
MikhailModeratorHi,
At the moment, can you successfully compile KpOpc? First of all, you need to fix build errors if they still exist. Possible cause is broken references.
MikhailModeratorHi,
The all t are showing -40 degree.
Because of the formulas applied to the appropriate input channels. You can see the formulas if open the Input channels table in Administrator.
How can I include my own sub-webpage in this. (like an 2nd about)
You can place a new html file in C:\SCADA\ScadaWeb\plugins\
and specify it in the Interface table in the Path column.Other way, is using Dashboard plugin.
Your story is exciting ))
MikhailModeratorHi,
How can this override writeVQT methods?
Create a new class that is derived from the Server class and override Write method.
Can you try this?
MikhailModeratorSo, to use IOPCSyncIO.Write in KpOpclogic, the goal is to create a class that is derived from server and add IOPCSyncIO.Write to this new class. Am I right?
Probably. There is the link to the source code of the OPC driver in the beginning of this topic. Can you play with it? It’s not hard to compile the driver by yourself. I can help you to understand where to change the driver.
MikhailModeratorthat’s success, but i didn’t see that element which i design in ScadaSchemeEditor.exe. I wonder maybe lack of step in my implement. Can you assist me?
I can connect to you remotely and fix the issue together with you. This is a commercial service.
Anyway, you should see log file of Scheme Editor.
MikhailModeratoryes, but i didn’t fix this issue.
You can try downloading the project by GIT tools like GitHub desktop.
MikhailModeratorHi,
“21 protected object m_group;”
So if you create a new class that is derived from Subscription, you can add your own write method of Subscription and use needed m_group.Write.
How do we find another overloaded m_group.Write?
Open the Group class and find all Write method in it. Or just scroll down the tree shown in the last screenshot.
MikhailModeratorHi,
It’s seems these files are blocked by Windows because they were downloaded from the internet. Did you already goole this issue?
MikhailModeratorI suppose, m_group field is not public. Am I right? Is it protected or private?
We should use other overloaded m_group.Write
MikhailModeratorHi,
Do you know a software that open and debug dll files? with visual studio does not show the code.
VS can show the code if a DLL is complied in debug configuration.
Good screenshots. Thank you.
The 3rd screenshots shows that WriteVQT is used.
What about m_group variable? May be it contains other method for writing in addition to WriteVQT?
I see that m_group uses m_subsription.Write and m_subsription executes m_group.WriteVQT-
This reply was modified 7 years, 2 months ago by
Mikhail.
MikhailModeratorWhen debug is in progress please you do the following:
1. Stop on a breakpoint on line 393 shown here2. Step into the Write method and watch what particular Write method is executed in line 393?
MikhailModeratorThank you.
We can see that m_subscription has ISubscription type that is an interface.
We need to find out which class implements ISubscription and what is inside Write method.Do you able to attach to this library by a debugger in runtime?
MikhailModeratorIt would be good, if you describe pricing options.
MikhailModerator434 is the source channel that have to be full as received from a device.
-
This reply was modified 7 years, 2 months ago by
-
AuthorPosts