Package VisionEgg :: Module DaqLPT :: Class LPTTriggerOutController
[frames] | no frames]

Class LPTTriggerOutController

source code

            object --+    
                     |    
FlowControl.Controller --+
                         |
                        LPTTriggerOutController

Use 8 bits of digital output for triggering and frame timing verification.

Bit 0 (pin 2) goes high when the go loop begins and low when the
loop ends.  Bits 1-7 (pins 3-9) count the frame_number (modulo
2^7) in binary.  Looking at any one of these pins therefore
provides verification that your stimulus is not skipping
frames.



Instance Methods
 
__init__(self, lpt_device=None)
Create instance of Controller.
source code
 
during_go_eval(self)
Called by Presentation.
source code
 
between_go_eval(self)
Called by Presentation.
source code

Inherited from FlowControl.Controller: evaluate_now, returns_type, set_eval_frequency

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables

Inherited from FlowControl.Controller: EVERY_FRAME, FRAMES_ABSOLUTE, FRAMES_SINCE_GO, NEVER, NOT_BETWEEN_GO, NOT_DURING_GO, ONCE, TIME_INDEPENDENT, TIME_SEC_ABSOLUTE, TIME_SEC_SINCE_GO, TRANSITIONS, flag_dictionary

Properties

Inherited from object: __class__

Method Details

__init__(self, lpt_device=None)
(Constructor)

source code 
Create instance of Controller.

Arguments:

eval_frequency -- Int, bitwise "or" of flags
temporal_variables -- Int, bitwise "or" of flags
return_type -- Set to type() of the parameter under control

Overrides: FlowControl.Controller.__init__
(inherited documentation)

during_go_eval(self)

source code 
Called by Presentation. Evaluate during the main 'go' loop.

Override this method in subclasses.

Overrides: FlowControl.Controller.during_go_eval
(inherited documentation)

between_go_eval(self)

source code 
Called by Presentation. Evaluate between runs of the main 'go' loop.

Override this method in subclasses.

Overrides: FlowControl.Controller.between_go_eval
(inherited documentation)