Mikhail

Forum Replies Created

Viewing 15 posts - 4,381 through 4,395 (of 6,136 total)
  • Author
    Posts
  • in reply to: OPC write value issue-IBH opc server #4566
    Mikhail
    Moderator

    The 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

    in reply to: OPC write value issue-IBH opc server #4565
    Mikhail
    Moderator

    Hi,

    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.

    in reply to: Server Room Demo #4564
    Mikhail
    Moderator

    Hi,

    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 ))

    in reply to: OPC write value issue-IBH opc server #4557
    Mikhail
    Moderator

    Hi,

    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?

    in reply to: OPC write value issue-IBH opc server #4551
    Mikhail
    Moderator

    So, 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.

    in reply to: Create gauge, bar,… #4550
    Mikhail
    Moderator

    that’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.

    in reply to: Create gauge, bar,… #4549
    Mikhail
    Moderator

    yes, but i didn’t fix this issue.

    You can try downloading the project by GIT tools like GitHub desktop.

    in reply to: OPC write value issue-IBH opc server #4543
    Mikhail
    Moderator

    Hi,

    “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.

    in reply to: Create gauge, bar,… #4542
    Mikhail
    Moderator

    Hi,
    It’s seems these files are blocked by Windows because they were downloaded from the internet. Did you already goole this issue?

    in reply to: OPC write value issue-IBH opc server #4535
    Mikhail
    Moderator

    I suppose, m_group field is not public. Am I right? Is it protected or private?
    We should use other overloaded m_group.Write

    in reply to: OPC write value issue-IBH opc server #4533
    Mikhail
    Moderator

    Hi,

    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.
    in reply to: OPC write value issue-IBH opc server #4530
    Mikhail
    Moderator

    When debug is in progress please you do the following:
    1. Stop on a breakpoint on line 393 shown here

    2. Step into the Write method and watch what particular Write method is executed in line 393?

    in reply to: OPC write value issue-IBH opc server #4525
    Mikhail
    Moderator

    Thank 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?

    in reply to: M-Bus Protocol driver #4524
    Mikhail
    Moderator

    It would be good, if you describe pricing options.

    in reply to: Reading bits #4523
    Mikhail
    Moderator

    434 is the source channel that have to be full as received from a device.

Viewing 15 posts - 4,381 through 4,395 (of 6,136 total)