pydevices/HtsDevices/acq400_hapi/acq400.py
def configure_rgm(self, role, trigger=[1,0,1], event=[1,1,1], post="100000", gpg=0):
        """
        Configure UUT for RGM mode. Default: external trigger starts the capture
        and the system takes samples every clock whenever the trigger is high.

        "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 post: 100k samples.

        GPG can be used in RGM 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 RGM).

        """
        self.s0.transient = "PRE=0 POST={}".format(post)
        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 = 0#event[0]
        self.s1.EVENT0_DX = 0#event[1]
        self.s1.EVENT0_SENSE = 0

        self.s1.RGM = 2
        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 RGM mode. Default: external trigger starts the capture
        and the system takes samples every clock whenever the trigger is high.

        "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 post: 100k samples.

        GPG can be used in RGM 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 RGM).

        
Configure UUT for RGM mode. Default: external trigger starts the capture
and the system takes samples every clock whenever the trigger is high.

"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 post: 100k samples.

GPG can be used in RGM 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 RGM).
Configure UUT for RGM mode . Default : external trigger starts the capture and the system takes samples every clock whenever the trigger is high . " 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 post : 100k samples . GPG can be used in RGM 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 RGM ) .
def configure_rgm(self, role, trigger=[1,0,1], event=[1,1,1], post="100000", gpg=0):
        self.s0.transient = "PRE=0 POST={}".format(post)
        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 = 0
        self.s1.EVENT0_DX = 0
        self.s1.EVENT0_SENSE = 0
        self.s1.RGM = 2
        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_rgm ( self , role , trigger = [ 1 , 0 , 1 ] , event = [ 1 , 1 , 1 ] , post = "100000" , gpg = 0 ) : self . s0 . transient = "PRE=0 POST={}" . format ( post ) 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 = 0 self . s1 . EVENT0_DX = 0 self . s1 . EVENT0_SENSE = 0 self . s1 . RGM = 2 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 RGM mode.
Configure UUT for RGM mode .
"""
        Configure UUT for RGM mode. Default: external trigger starts the capture
        and the system takes samples every clock whenever the trigger is high.

        "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 post: 100k samples.

        GPG can be used in RGM 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 RGM).

        """ #event[0] #event[1]
self
role
trigger
event
post
gpg