You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting all sorts of seemingly random values trying to use the streaming feature of this client.
I reviewed the MTConnect spec documents to better understand the "sample" request as I have never used it before. https://www.mtconnect.org/standard-download20181#Current%20Release - Section 8.3 of Part 1.
When using the "sample" request, the valid parameters are "from" and "count" not "at"
(When requesting data from an MTConnect agent the "Current" request can use "at" to request values at a specific sequenceID time.)
First I added a var to track the _nextSequence private long _nextSequence;
Inside ParseStream we need to update _nextSequence from the response header
I was getting all sorts of seemingly random values trying to use the streaming feature of this client.
I reviewed the MTConnect spec documents to better understand the "sample" request as I have never used it before.
https://www.mtconnect.org/standard-download20181#Current%20Release - Section 8.3 of Part 1.
When using the "sample" request, the valid parameters are "from" and "count" not "at"
(When requesting data from an MTConnect agent the "Current" request can use "at" to request values at a specific sequenceID time.)
First I added a var to track the _nextSequence
private long _nextSequence;
Inside ParseStream we need to update _nextSequence from the response header
Finally in the StreamingTimerElapsed the request for samples should look like
`
The text was updated successfully, but these errors were encountered: