Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2007-03-03 10:45:11
Size: 776
Comment:
Revision 5 as of 2009-07-15 14:32:37
Size: 997
Editor: localhost
Comment: converted to 1.6 markup
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)
Line 31: Line 33:
  {{attachment:timewindow.jpg}}

* Press Exit

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

  • 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)