def getVolatileMemoryParameters(self, itemId, parameterId):
self._lib.PI_qSPA.argtypes= [c_int,
c_char_p,
CUnsignedIntArray,
CDoubleArray,
c_char_p,
c_int]
retValue= CDoubleArray([0.])
bufSize= 256
retString= ctypes.create_string_buffer('\000', bufSize)
self._convertErrorToException(
self._lib.PI_qSPA(
self._id, str(itemId),
CUnsignedIntArray([parameterId]),
retValue,
retString,
bufSize))
return retValue.toNumpyArray()
评论列表
文章目录