pydevices/HtsDevices/acq400_hapi/acq400.py
def configure_rtm(self, role, trigger=[1,1,1], event=[1,1,1], post=50000, rtm_translen=5000, gpg=0):
        """
        Configure UUT for rtm mode. Default: external trigger starts the capture
        and takes 5000 samples, each subsequent trigger gives us another 5000
        samples.

        "Role" is a mandatory argument. For master systems, role should be the
        string "master", if the system is a slave then role should be the string
        "slave"

        Default rtm_translen: 5k samples.
        Default post: 50k samples

        GPG can be used in RTM mode as the Event. If you are using the GPG
        then this function can put the GPG output onto the event bus (to use as
        an Event for RTM).
        """
        self.s0.transient = "PRE=0 POST={}".format(post)
        self.s1.rtm_translen = rtm_translen
        self.s1.TRG = 1
        if role == "slave" or trigger[1] == 0:
            self.s1.TRG_DX = 0
        else:
            self.s1.TRG_DX = 1
        self.s1.TRG_SENSE = trigger[2]

        self.s1.EVENT0 = event[0]
        self.s1.EVENT0_DX = event[1]
        self.s1.EVENT0_SENSE = event[2]

        self.s1.RGM = 3
        self.s1.RGM_DX = 0
        self.s1.RGM_SENSE = 1

        self.s0.SIG_EVENT_SRC_0 = 1 if gpg == 1 else 0

        return None

        Configure UUT for rtm mode. Default: external trigger starts the capture
        and takes 5000 samples, each subsequent trigger gives us another 5000
        samples.

        "Role" is a mandatory argument. For master systems, role should be the
        string "master", if the system is a slave then role should be the string
        "slave"

        Default rtm_translen: 5k samples.
        Default post: 50k samples

        GPG can be used in RTM mode as the Event. If you are using the GPG
        then this function can put the GPG output onto the event bus (to use as
        an Event for RTM).
        
Configure UUT for rtm mode. Default: external trigger starts the capture
and takes 5000 samples, each subsequent trigger gives us another 5000
samples.

"Role" is a mandatory argument. For master systems, role should be the
string "master", if the system is a slave then role should be the string
"slave"

Default rtm_translen: 5k samples.
Default post: 50k samples

GPG can be used in RTM mode as the Event. If you are using the GPG
then this function can put the GPG output onto the event bus (to use as
an Event for RTM).
Configure UUT for rtm mode . Default : external trigger starts the capture and takes 5000 samples each subsequent trigger gives us another 5000 samples . " Role " is a mandatory argument . For master systems role should be the string " master " if the system is a slave then role should be the string " slave " Default rtm_translen : 5k samples . Default post : 50k samples GPG can be used in RTM mode as the Event . If you are using the GPG then this function can put the GPG output onto the event bus ( to use as an Event for RTM ) .
def configure_rtm(self, role, trigger=[1,1,1], event=[1,1,1], post=50000, rtm_translen=5000, gpg=0):
        self.s0.transient = "PRE=0 POST={}".format(post)
        self.s1.rtm_translen = rtm_translen
        self.s1.TRG = 1
        if role == "slave" or trigger[1] == 0:
            self.s1.TRG_DX = 0
        else:
            self.s1.TRG_DX = 1
        self.s1.TRG_SENSE = trigger[2]
        self.s1.EVENT0 = event[0]
        self.s1.EVENT0_DX = event[1]
        self.s1.EVENT0_SENSE = event[2]
        self.s1.RGM = 3
        self.s1.RGM_DX = 0
        self.s1.RGM_SENSE = 1
        self.s0.SIG_EVENT_SRC_0 = 1 if gpg == 1 else 0
        return None
def configure_rtm ( self , role , trigger = [ 1 , 1 , 1 ] , event = [ 1 , 1 , 1 ] , post = 50000 , rtm_translen = 5000 , gpg = 0 ) : self . s0 . transient = "PRE=0 POST={}" . format ( post ) self . s1 . rtm_translen = rtm_translen self . s1 . TRG = 1 if role == "slave" or trigger [ 1 ] == 0 : self . s1 . TRG_DX = 0 else : self . s1 . TRG_DX = 1 self . s1 . TRG_SENSE = trigger [ 2 ] self . s1 . EVENT0 = event [ 0 ] self . s1 . EVENT0_DX = event [ 1 ] self . s1 . EVENT0_SENSE = event [ 2 ] self . s1 . RGM = 3 self . s1 . RGM_DX = 0 self . s1 . RGM_SENSE = 1 self . s0 . SIG_EVENT_SRC_0 = 1 if gpg == 1 else 0 return None
Configure UUT for rtm mode.
Configure UUT for rtm mode .
"""
        Configure UUT for rtm mode. Default: external trigger starts the capture
        and takes 5000 samples, each subsequent trigger gives us another 5000
        samples.

        "Role" is a mandatory argument. For master systems, role should be the
        string "master", if the system is a slave then role should be the string
        "slave"

        Default rtm_translen: 5k samples.
        Default post: 50k samples

        GPG can be used in RTM mode as the Event. If you are using the GPG
        then this function can put the GPG output onto the event bus (to use as
        an Event for RTM).
        """
self
role
trigger
event
post
rtm_translen
gpg