jorgewong

Get stream plot values - Bug?

Discussion created by jorgewong on Nov 24, 2014
Latest reply on Nov 25, 2014 by jorgewong

Hello,

 

 

 

I'm not sure if this is a bug or I'm putting something in wrong but I'm trying to return some values for a "stream" and it appears to always duplicate the last value of the set.  See my example below.  Has anybody else encounteredt his?

 

 

 

URL: https://myserver.com/piwebapi/streams/P0WvDSaT8pY0uGA4is91RAcQrFkDAAQ0dZTVNBUFNDMDA1RFxKRjFfQTMwMDBfV0FDX1BPTF9DX0hBUkRORVNT/plot?startTime=2014-11-06T00:00:00-07:00&endTime=2014-11-13T23:59:59-07:00

 

Results:

 
{
  "UnitsAbbreviation": "",
  "Links": {},
  "Items": [
    {
      "Timestamp": "2014-11-06T07:00:00Z",
      "Value": 0.17,
      "Good": true,
      "Questionable": false,
      "Substituted": false
    },
    {
      "Timestamp": "2014-11-13T14:30:00Z",
      "Value": 7.33,
      "Good": true,
      "Questionable": false,
      "Substituted": false
    },
    {
      "Timestamp": "2014-11-13T18:30:00Z",
      "Value": 11.17,
      "Good": true,
      "Questionable": false,
      "Substituted": false
    },
    {
      "Timestamp": "2014-11-13T22:30:00Z",
      "Value": 15.17,
      "Good": true,
      "Questionable": false,
      "Substituted": false
    },
    {
      "Timestamp": "2014-11-14T02:30:00Z",
      "Value": 19.17,
      "Good": true,
      "Questionable": false,
      "Substituted": false
    },
    {
      "Timestamp": "2014-11-14T06:30:00Z",
      "Value": 23.17,
      "Good": true,
      "Questionable": false,
      "Substituted": false
    },
    {
      "Timestamp": "2014-11-14T06:59:59Z",
      "Value": 23.17,
      "Good": true,
      "Questionable": false,
      "Substituted": false
    }
  ]
}

Outcomes