def _run_seq(self, size):
        """
        Send the contents of self['SEQ'] to the chip and wait until it finishes.

        """

        # Write the sequence to the sequence generator (hw driver)
        self['SEQ'].write(size)  # write pattern to memory

        self['SEQ'].set_size(size)  # set size
        self['SEQ'].set_repeat(1)  # set repeat
        self['SEQ'].start()  # start

        while not self['SEQ'].get_done():
            time.sleep(0.01)
def _run_seq ( self , size ) : self [ 'SEQ' ] . write ( size ) self [ 'SEQ' ] . set_size ( size ) self [ 'SEQ' ] . set_repeat ( 1 ) self [ 'SEQ' ] . start ( ) while not self [ 'SEQ' ] . get_done ( ) : time . sleep ( 0.01 )
Send the contents of self['SEQ'] to the chip and wait until it finishes.