REB Functional Tests  1.0
Testing suite for the WREB, GREB, and VST readout boards
VSTTest.ParameterLogging Class Reference

Periodically records specified values over the course of the testing sequence. More...

Inheritance diagram for VSTTest.ParameterLogging:

Public Member Functions

def __init__ (self, valuesToRead, delay=5, fnTest=None, backup=0)
 Initializes the test. More...
 
def runTest (self)
 Starts the logging in a separate thread, moves to the next test. More...
 
def stopTest (self)
 Sets the recording option to false, allowing the test to stop. More...
 
def recordContinuously (self)
 Continuously records the requested parameters while self.recording is set to true. More...
 
def passFail (self)
 Determine if the value logging passed - this is done in a separate function, unlike other tests. More...
 
def report (self, pdf, reportPath)
 generate this test's page in the PDF report. More...
 

Detailed Description

Periodically records specified values over the course of the testing sequence.

Constructor & Destructor Documentation

def VSTTest.ParameterLogging.__init__ (   self,
  valuesToRead,
  delay = 5,
  fnTest = None,
  backup = 0 
)

Initializes the test.

Parameters
valuesToReadA list of ("subsystem", "value to read") tuples
delayTime to sleep between periodic queries
fnTestThe FunctionalTest() object, allowing this test to track progress/terminate
backupBackup data every n cycles. If zero, do not back up.

Member Function Documentation

def VSTTest.ParameterLogging.passFail (   self)

Determine if the value logging passed - this is done in a separate function, unlike other tests.

def VSTTest.ParameterLogging.recordContinuously (   self)

Continuously records the requested parameters while self.recording is set to true.

def VSTTest.ParameterLogging.report (   self,
  pdf,
  reportPath 
)

generate this test's page in the PDF report.

Parameters
pdfpyfpdf-compatible PDF object.
reportPathPath of directory containing the pdf report
def VSTTest.ParameterLogging.runTest (   self)

Starts the logging in a separate thread, moves to the next test.

def VSTTest.ParameterLogging.stopTest (   self)

Sets the recording option to false, allowing the test to stop.


The documentation for this class was generated from the following file: