def WriteRegister(Name, Value): response = UdkCommandHelper.sendPacket( "P%x=%s" % (_RegisterIndex(Name), UdkCommandHelper.list_to_string(Value))) if response == "OK": UdkCommandHelper.executeCommand("flushregs") return response == "OK"
def WriteRegister(Name, Value): response = UdkCommandHelper.sendPacket( "P%x=%s" % (_RegisterIndex(Name), UdkCommandHelper.list_to_string(Value)) ) if response == "OK": UdkCommandHelper.executeCommand("flushregs") return response == "OK"
def ReadRegister(Name): response = UdkCommandHelper.sendPacket("p%x" % _RegisterIndex(Name)) return UdkCommandHelper.string_to_list(response)