Differences between revisions 3 and 4
Revision 3 as of 2007-03-03 10:49:48
Size: 821
Comment:
Revision 4 as of 2007-03-10 12:29:17
Size: 993
Comment:
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
  #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)

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

  • attachment:timewindow.jpg

* Press Exit

* Wait a moment ... there it is

Herschel: PACS/FM_ILT_Procedures/PCSSILTTools (last edited 2009-07-15 14:32:37 by localhost)