예제 #1
0
def digitiser_stop():
    print 'Stopping digitiser'
    fdig = KatcpClientFpga(dhost)
    if fdig.is_running():
        fdig.test_connection()
        fdig.get_system_information()
        fdig.registers.control.write(gbe_txen = False)
        fdig.deprogram()
    fdig.disconnect()
예제 #2
0
 def is_running(self):
     """All hosts must supply a is_running method that returns true or false.
     @return: True or False
     """
     return KatcpClientFpga.is_running(self)