Exemple #1
0
class SweepSequeTriggerController(SweepSequeStimulusController):
    """ DAQStampTrigger for SweepSeque stimulus
    """
    def __init__(self,*args,**kwargs):
        SweepSequeStimulusController.__init__(self,*args,**kwargs)
        self.stamp_trigger = DAQStampTrigger()
    def post_stamp(self, postval):
        self.stamp_trigger.post_stamp(postval)
Exemple #2
0
class RemoteStartController(VisionEgg.FlowControl.Controller):
    """ Sending a START event
    """
    def __init__(self):
        VisionEgg.FlowControl.Controller.__init__(self,
                                           return_type=ve_types.NoneType,
                                           eval_frequency=ONCE|TRANSITIONS|NOT_BETWEEN_GO)
        self.stamp_trigger = DAQStampTrigger()
    def during_go_eval(self):
        #print 'set bits: %d' %RSTART_EVT
        self.stamp_trigger.post_stamp(RSTART_EVT, 'start')
    def between_go_eval(self):
        pass
Exemple #3
0
 def __init__(self):
     VisionEgg.FlowControl.Controller.__init__(self,
                                        return_type=ve_types.NoneType,
                                        eval_frequency=ONCE|TRANSITIONS|NOT_BETWEEN_GO)
     self.stamp_trigger = DAQStampTrigger()
Exemple #4
0
 def __init__(self,*args,**kwargs):
     SweepSequeStimulusController.__init__(self,*args,**kwargs)
     self.stamp_trigger = DAQStampTrigger()