pydevices/HtsDevices/acq400_hapi/acq400.py
def configure_transient(self, pre=0, post=100000,
        sig_DX='d0', auto_soft_trigger=0, demux=1, edge='rising'):
        """
        Configure uut for transient capture.
        sig_DX is the signal line responsible for TRIGGER or EVENT depending on mode;
        function makes appropriate selection.
        Function is aware of sync_role and sets sig_DX accordingly
        """
        sync_role = self.s0.sync_role
        if sync_role == 'role not set' and sync_role == 'slave':
            sig_DX = 'd0'

        sigdef = "1,{},{}".format(sig_DX[1], 1 if edge == 'rising' else 0)

        if pre > 0:
            self.s1.event0 = sigdef
            self.s1.trg = '1,1,1'
        else:
            self.s1.event0 = '0,0,0'
            self.s1.trg = sigdef

        self.s0.transient = "PRE={} POST={} SOFT_TRIGGER={} DEMUX={}".\
            format(pre, post, auto_soft_trigger, demux)

        Configure uut for transient capture.
        sig_DX is the signal line responsible for TRIGGER or EVENT depending on mode;
        function makes appropriate selection.
        Function is aware of sync_role and sets sig_DX accordingly
        
Configure uut for transient capture.
sig_DX is the signal line responsible for TRIGGER or EVENT depending on mode;
function makes appropriate selection.
Function is aware of sync_role and sets sig_DX accordingly
Configure uut for transient capture . sig_DX is the signal line responsible for TRIGGER or EVENT depending on mode ; function makes appropriate selection . Function is aware of sync_role and sets sig_DX accordingly
def configure_transient(self, pre=0, post=100000,
        sig_DX='d0', auto_soft_trigger=0, demux=1, edge='rising'):
        sync_role = self.s0.sync_role
        if sync_role == 'role not set' and sync_role == 'slave':
            sig_DX = 'd0'
        sigdef = "1,{},{}".format(sig_DX[1], 1 if edge == 'rising' else 0)
        if pre > 0:
            self.s1.event0 = sigdef
            self.s1.trg = '1,1,1'
        else:
            self.s1.event0 = '0,0,0'
            self.s1.trg = sigdef
        self.s0.transient = "PRE={} POST={} SOFT_TRIGGER={} DEMUX={}".\
            format(pre, post, auto_soft_trigger, demux)
def configure_transient ( self , pre = 0 , post = 100000 , sig_DX = 'd0' , auto_soft_trigger = 0 , demux = 1 , edge = 'rising' ) : sync_role = self . s0 . sync_role if sync_role == 'role not set' and sync_role == 'slave' : sig_DX = 'd0' sigdef = "1,{},{}" . format ( sig_DX [ 1 ] , 1 if edge == 'rising' else 0 ) if pre > 0 : self . s1 . event0 = sigdef self . s1 . trg = '1,1,1' else : self . s1 . event0 = '0,0,0' self . s1 . trg = sigdef self . s0 . transient = "PRE={} POST={} SOFT_TRIGGER={} DEMUX={}" . format ( pre , post , auto_soft_trigger , demux )
Configure uut for transient capture.
Configure uut for transient capture .
"""
        Configure uut for transient capture.
        sig_DX is the signal line responsible for TRIGGER or EVENT depending on mode;
        function makes appropriate selection.
        Function is aware of sync_role and sets sig_DX accordingly
        """
self
pre
post
sig_DX
auto_soft_trigger
demux
edge