Mikhail

Forum Replies Created

Viewing 15 posts - 4,471 through 4,485 (of 6,219 total)
  • Author
    Posts
  • 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, 5 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.

    in reply to: Reading bits #4522
    Mikhail
    Moderator

    You need to apply #4508

    I did not understand, why I dont need formula for channel 434

    Because if you get only 1 bit in the channel 434, you can’t reference 434 to calculate bits for other channels.

    in reply to: Events trigger and colors #4520
    Mikhail
    Moderator

    Thanks!

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

    In the above screenshot the method Group.Write is shown. It uses the Wrive method of a subscription. Can you navigate to Subscription.Write and check what is going there?

    in reply to: Events trigger and colors #4513
    Mikhail
    Moderator

    Cool!

    May I ask you about the forum, do you receive notifications when I answer in the topic? Do they work well?

    in reply to: Reading bits #4511
    Mikhail
    Moderator

    in Calculate Discrete – GetBit(Val(434),x)

    Yes. This is very important.

    in reply to: Reading bits #4510
    Mikhail
    Moderator

    Fix channel 434:
    – No formula needed.
    – Type is Real, because the channel contains a bit mask, not just one bit.

    Fix other channels:
    – No Signal field needed.

    in reply to: Events trigger and colors #4509
    Mikhail
    Moderator

    Thank you for the images.
    You need to open the Units table in Administrator. And create a new row with a new unit. Do at as written above. Then set the new unit for your input channel.

Viewing 15 posts - 4,471 through 4,485 (of 6,219 total)