Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
samplestream:lc_amount [2024/04/25 23:42]
optrix
samplestream:lc_amount [2024/04/25 23:43] (current)
optrix
Line 35: Line 35:
 <code python> <code python>
     srv = ardiapi.Server('demo.optrix.com.au/s/pl')     srv = ardiapi.Server('demo.optrix.com.au/s/pl')
-    query = "'Paint Line' ASSET 'Distance' PROPERTY VALUES"+
     lc = samplestream.LagCorrection()     lc = samplestream.LagCorrection()
-    diff = lc.Amount(srv,query,25)+    diff = lc.Amount(srv,"'Paint Line' ASSET 'Distance' PROPERTY VALUES",25) 
     print("Roller 2 Lag Correction - " + str(dt))     print("Roller 2 Lag Correction - " + str(dt))
  </code>  </code>