Ad Widget

Collapse

Problem with update interval of user parameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Osmin
    Junior Member
    • Jul 2013
    • 2

    #1

    Problem with update interval of user parameter

    Code:
    Hello!
    I have user parameter with update interval 10s. However, parameter gets value only in first 30s and than 40s without any value. Here is the part of result of "SELECT * FROM history_uint WHERE itemid=<item's id>":
    +--------+------------+-------+-----------+
    | itemid | clock      | value | ns        |
    +--------+------------+-------+-----------+
    |  24508 | 1385132308 |     1 | 501703659 |
    |  24508 | 1385132318 |     1 | 557163614 |
    |  24508 | 1385132328 |     1 | 585836100 |
    |  24508 | 1385132368 |     1 | 663620088 |
    |  24508 | 1385132378 |     1 | 766838548 |
    |  24508 | 1385132388 |     1 | 792028950 |
    |  24508 | 1385132428 |     1 | 845896754 |
    |  24508 | 1385132438 |     1 | 875779594 |
    |  24508 | 1385132448 |     1 | 901243126 |
    |  24508 | 1385132488 |     1 | 961729157 |
    |  24508 | 1385132498 |     1 | 987380750 |
    |  24508 | 1385132508 |     1 |  28496965 |
    |  24508 | 1385132548 |     1 | 189683975 |
    |  24508 | 1385132558 |     1 |  12494928 |
    |  24508 | 1385132568 |     1 | 119294305 |
    |  24508 | 1385132608 |     1 |  12647788 |
    |  24508 | 1385132618 |     1 |  66611858 |
    |  24508 | 1385132628 |     1 | 122049875 |
    |  24508 | 1385132668 |     1 | 251228182 |
    |  24508 | 1385132678 |     1 | 302756669 |
    |  24508 | 1385132688 |     1 | 326561592 |
    |  24508 | 1385132728 |     1 | 378154554 |
    |  24508 | 1385132738 |     1 | 408877327 |
    |  24508 | 1385132748 |     1 | 441399627 |
    |  24508 | 1385132788 |     1 | 495876727 |
    |  24508 | 1385132798 |     1 | 525345200 |
    |  24508 | 1385132808 |     1 | 567241456 |
    |  24508 | 1385132848 |     1 | 628288686 |
    |  24508 | 1385132858 |     1 | 653099762 |
    |  24508 | 1385132868 |     1 | 678694126 |
    +--------+------------+-------+-----------+
    As you can see there is three values one by one and than 40s-pause. What can cause such behavior?
Working...