def get_card_memory(self, verbose=0): data = pyspcm.int64(0) pyspcm.spcm_dwGetParam_i64( self.hCard, pyspcm.SPC_PCIMEMSIZE, pyspcm.byref(data)) if verbose: print('card_memory: %s' % (data.value)) return (data.value)
def _param64bit(self, param): """Read a 64-bit parameter from the device.""" data = pyspcm.int64(0) pyspcm.spcm_dwGetParam_i64(self.hCard, param, pyspcm.byref(data)) return (data.value)