Sure, you would do the same thing to get pvd, then do var values = pvd.getLatestPointValues(dataPointId, 2);