ApiBuffer Class
Function |
C++ |
static WMX3APIFUNC ErrorToString(int errCode, wchar_t *pString, unsigned int size); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def ApiLogToString(pLogData, logDataSize) |
|
Returns |
Type |
string |
Value |
API log string |
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def GetLibVersion() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def IsDeviceValid() |
|
Returns |
Type |
bool |
Value |
Whether the device is alive |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetVersion() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC CreateApiBuffer(unsigned int channel, unsigned int size); |
Python |
def CreateApiBuffer(channel, size) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def CreateApiBuffer(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC CreateApiBuffer(unsigned int channel, unsigned int size, SizeUnit::T sizeUnit); |
Python |
def CreateApiBuffer(channel, size, sizeUnit) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def FreeApiBuffer(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def StartRecordBufferChannel(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def EndRecordBufferChannel() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetRecordingBufferChannel(int* channel, unsigned char* enable); |
Python |
def GetRecordingBufferChannel() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def Execute(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def Halt(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def Clear(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def Rewind(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetStatus(unsigned int channel, ApiBufferStatus* pStatus); |
Python |
def GetStatus(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetOptions(unsigned int channel, ApiBufferOptions *pOptions); |
Python |
def SetOptions(channel, pOptions) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetOptions(unsigned int channel, ApiBufferOptions *pOptions); |
Python |
def GetOptions(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetWatch(unsigned int channel, ApiBufferWatch *pWatch); |
Python |
def SetWatch(channel, pWatch) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetWatch(unsigned int channel, ApiBufferWatch *pWatch); |
Python |
def GetWatch(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def Sleep(milliseconds) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def Wait(int axis) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def Wait_AxisSel(pAxisSelection) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def Wait_ApiBufferCondition(condition) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC FlowIf(ApiBufferCondition* condition, ApiBufferCondition* wait = NULL); |
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def FlowElseIf(condition) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def FlowElse() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def FlowEndIf() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetOutputModuleId() |
|
Returns |
Type |
int |
Value |
ID of the module |
|
Remarks |
このPythonメソッドは予約されており、PythonAPIでは未サポートです。 |
|
Function |
C++ |
WMX3APIFUNC GetOutputData(unsigned char* buff, int buffSize, int* dataSize); |
Python |
def GetOutputData(buff, buffSize, dataSize) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
このPythonメソッドは予約されており、PythonAPIでは未サポートです。 |
|
Function |
C++ |
WMX3APIFUNC SetOutputData(int moduleId, unsigned char* data, int dataSize); |
Python |
def SetOutputData(moduleId, data, dataSize) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
このPythonメソッドは予約されており、PythonAPIでは未サポートです。 |
|