• P
    posztos

    Hi,

    has anyone seen something like in the attached wireshark trace?
    Mango is querying a modbus-TCP slave, but somehow loses pace with closing and reopening connections (used with simple TCP, without keep-alive). This slave can only accept one connection at a time, thus the connection will be broken...

    Thanks,
    Greg

    posted in Development general discussion read more
  • P
    posztos

    Hi,

    I wanted to change the way modbus master polls the slaves, but as I see, it is implemented in seroutils...

    Now if all slaves are online, they are queried one after the other. If a slave goes offline, it is queried "retries" times in one round, then it is qualified offline.
    My version would always query each slave only one time in a round, and qualify a slave offline only if "retries" number of rounds has elapsed without a proper answer.
    It's not a big difference, but gives more time for the network to recover from a transient failure.
    I don't know, if this algorithm was suitable for other modbus users/uses, or could be implemented only as an option.

    Thanks,
    Greg

    posted in Development general discussion read more
  • P
    posztos

    Hi,

    Is there a way to be able to give the right top coordinates of a Simpe point component instead of the left top coordinates?
    I'm displaying some informations in a table, where the first column consists of static labels (on background image), and the current values are displayed in the second column. The values differ in length, this is why they should be right aligned (or centered, like on Watch list).

    Thanks,
    Greg

    posted in User help read more
  • P
    posztos

    Hi,
    Creating and editing custom components would greatly enhance and fasten view editing.
    A component could be edited the same way a view can be edited, except that point mapping would be with "component virtual points", and when adding the component to a view, these virtual points could be mapped to real points.
    Is it implementable? Am I missing something with which it can already be done?
    Thanks,
    Greg

    posted in Wishlist read more
  • P
    posztos

    Hi,

    has anyone seen something like in the attached wireshark trace?
    Mango is querying a modbus-TCP slave, but somehow loses pace with closing and reopening connections (used with simple TCP, without keep-alive). This slave can only accept one connection at a time, thus the connection will be broken...

    Thanks,
    Greg

    Attachment: download link

    posted in Development general discussion read more
  • P
    posztos

    it prints out like this "Temperature: 21.375°C = 21,4°C"

    Are these variables supposed to be used like this?
    yes. A server side script can access only one point, its value, and properties.

    I have been thinking to make a small alarm panel on a graphical view, with selected events related to the view
    As I know, it is currently not possible. "events" lists the pending event objects of the server side script's point.

    Regards,
    Greg

    posted in User help read more
  • P
    posztos

    Create a Server-side script, select the point on which displaying the button depends. This script should give you the idea:
    return value == 0 ? "" : "button";

    With the code above, if the selected point is 0 nothing is displayed, otherwise a button text is displayed.

    Regards,
    Greg

    posted in User help read more
  • P
    posztos

    Hi,

    I wanted to change the way modbus master polls the slaves, but as I see, it is implemented in seroutils...

    Now if all slaves are online, they are queried one after the other. If a slave goes offline, it is queried "retries" times in one round, then it is qualified offline.
    My version would always query each slave only one time in a round, and qualify a slave offline only if "retries" number of rounds has elapsed without a proper answer.
    It's not a big difference, but gives more time for the network to recover from a transient failure.
    I don't know, if this algorithm was suitable for other modbus users/uses, or could be implemented only as an option.

    Thanks,
    Greg

    posted in Development general discussion read more
  • P
    posztos

    Great, thank you!

    Regards,
    Greg

    posted in User help read more
  • P
    posztos

    Hi,

    Thank you for the answer.

    But as I know, using a Server-side script, I can not use the different text renderers, that are used when displaying values with Simple point components. (rendering can be also coded inside the script, but it will be redundant)

    Regards,
    Greg

    posted in User help read more
  • P
    posztos

    Hi,

    Is there a way to be able to give the right top coordinates of a Simpe point component instead of the left top coordinates?
    I'm displaying some informations in a table, where the first column consists of static labels (on background image), and the current values are displayed in the second column. The values differ in length, this is why they should be right aligned (or centered, like on Watch list).

    Thanks,
    Greg

    posted in User help read more
  • P
    posztos

    Hi,
    Creating and editing custom components would greatly enhance and fasten view editing.
    A component could be edited the same way a view can be edited, except that point mapping would be with "component virtual points", and when adding the component to a view, these virtual points could be mapped to real points.
    Is it implementable? Am I missing something with which it can already be done?
    Thanks,
    Greg

    posted in Wishlist read more