示例#1
0
文件: M4i.py 项目: micbar-21/SkyNEt
 def _set_param32bit(self, param, value):
     """ Set a 32-bit parameter on the device."""
     value = int(value)  # convert floating point to int if necessary
     pyspcm.spcm_dwSetParam_i32(self.hCard, param, value)
示例#2
0
 def _set_param32bit(self, param, value):
     """ Read a 32-bit parameter from the device """
     pyspcm.spcm_dwSetParam_i32(self.hCard, param, value)