Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] [Q] onDataChangeNotification from Milo Public Demo Server

Shigeru,

I will try to reproduce this issue and let you know what I find.

On Wed, Aug 7, 2019 at 4:36 AM shigeru ishida <s5u.ishida@xxxxxxxxx> wrote:
Hi Kevin,

I have a question about the public demo server.

- publishInterval = 1000 (msec)
- samplingInterval = 500 (msec)

The following [2,Dynamic/RandomInt64] was obtained under the above conditions.
In one notification, 4 pieces of data could be acquired. The order of this JSON format
data is the dataValues list organized for each NodeId.

onDataChangeNotification(UaSubscription subscription,
                                      List<UaMonitoredItem> monitoredItems,
                                      List<DataValue> dataValues,
                                      DateTime publishTime)

t this time, looking at sourceTime, it seems that the order of time is repeated.

      "sourceTime" : "2019-08-07 11:38:08.155",
      "sourceTime" : "2019-08-07 11:38:08.655",
      "sourceTime" : "2019-08-07 11:38:08.155",
      "sourceTime" : "2019-08-07 11:38:08.655",

Is there any problem with the publishing facility of the server?
The time accuracy is msec. It is not 100nsec.
----------------------------------------------------------------------
{
  "deviceID" : "milo.digitalpetri.com:62541/milo",
  "clientID" : "RP3B-01",
  "samplingDate" : "2019-08-07 11:38:08.936",
  "samplingTimeMillis" : 1565174288936,
  "opcua" : {
    "2,Dynamic/RandomInt64" : [ {
      "sourceTimeMillis" : 1565174288155,
      "sourceTime" : "2019-08-07 11:38:08.155",
      "serverTime" : "2019-08-07 11:38:08.155",
      "serverTimeMillis" : 1565174288155,
      "value" : 5990980463499091245
    }, {
      "sourceTimeMillis" : 1565174288655,
      "sourceTime" : "2019-08-07 11:38:08.655",
      "serverTime" : "2019-08-07 11:38:08.655",
      "serverTimeMillis" : 1565174288655,
      "value" : 5420692849057307041
    }, {
      "sourceTimeMillis" : 1565174288155,
      "sourceTime" : "2019-08-07 11:38:08.155",
      "serverTime" : "2019-08-07 11:38:08.155",
      "serverTimeMillis" : 1565174288155,
      "value" : -8881336140964711079
    }, {
      "sourceTimeMillis" : 1565174288655,
      "sourceTime" : "2019-08-07 11:38:08.655",
      "serverTime" : "2019-08-07 11:38:08.655",
      "serverTimeMillis" : 1565174288655,
      "value" : 5863872778695597319
    } ]
...
...
  }
}
----------------------------------------------------------------------

If I misunderstand, I'm sorry.

Regards,

--Shigeru

_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev

Back to the top