Size: 993
Comment:
|
← Revision 5 as of 2009-07-15 14:32:37 ⇥
Size: 997
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 33: | Line 33: |
attachment:timewindow.jpg | {{attachment:timewindow.jpg}} |
Plot HK Parameter in Near Real Time
Example : Make a Near Real Time Plot of BB1_Readings , the window shall have the XAxis for 2000 entries.
from common import * s=plotHkNrt("BB1_Readings",routerHost="pacs-sv", routerPort=9877,range=2000)
Extract HK Parameter from Database
Example : Extract BB parameter between period : 01-Mar-2007 and 02-Mar-2007 from pacs_fm_ilt_3@pac5
* Inform Ekki (3845) or Erich (3326)
* Edit .pcss/props file and set :
var.database.devel = pacs_fm_ilt_3@pacs5
* start Jide and do :
from common import * m = readHkDb(["BB1_Reading", "BB1_SetPoint", "BB2_Reading", "BB2_SetPoint"]) #if you only want every 5th value in the result use the stepSize parameter : m = readHkDb(["BB1_Reading", "BB1_SetPoint", "BB2_Reading", "BB2_SetPoint"], stepSize=5)
* Select the time range in the Time window
* Press Exit
* Wait a moment ... there it is