log Class
Function |
C++ |
|
Python |
def GetModuleId() |
|
Returns |
Type |
unsigned int |
Value |
ID of the module |
|
Remarks |
このPythonメソッドは予約されています。 |
|
Function |
C++ |
WMX3APIFUNC GetInputData(unsigned char* buff, int buffSize, int* dataSize); |
Python |
def GetInputData(buff, buffSize, dataSize) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
このPythonメソッドは予約されています。 |
|
Function |
C++ |
WMX3APIFUNC SetInputData(int moduleId, unsigned char* data, int dataSize); |
Python |
def SetInputData(moduleId, data, dataSize) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
このPythonメソッドは予約されています。 |
|
Function |
C++ |
static WMX3APIFUNC ErrorToString(int errCode, char *pString, unsigned int size); |
Python |
def ErrorToString(errCode) |
|
Returns |
Type |
string |
Value |
error string |
|
Remarks |
||
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++ |
|
Python |
def StartLog(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def StopLog(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def ResetLog(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetLogHeader(unsigned int channel, char **ppLine, unsigned int numLines); |
Python |
def SetLogHeader(channel, pLogHeader) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetLog(unsigned int channel, unsigned int moduleId, void *data, unsigned int dataSize); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def SetLog(channel, input) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetLogOption(unsigned int channel, LogChannelOptions *pOption); |
Python |
def SetLogOption(channel, pOption) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetLogOption(unsigned int channel, LogChannelOptions *pOption); |
Python |
def GetLogOption(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetLogFilePath(unsigned int channel, LogFilePathA *pPath); |
Python |
def SetLogFilePath(channel, pPath) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetLogFilePath(unsigned int channel, LogFilePathA *pPath); |
Python |
def GetLogFilePath(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetLogFilePath(unsigned int channel, LogFilePathW *pPath); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetLogFilePath(unsigned int channel, LogFilePathW *pPath); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetLogStatus(unsigned int channel, LogStatus *pStatus); |
Python |
def GetLogStatus(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetDetailLogStatus(unsigned int channel, DetailLogStatus *pStatus); |
Python |
def GetDetailLogStatus(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def SetIOLog(channel, pInputIOAddress, inputSize, pOutputIOAddress, outputSize) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def SetIOLogFormat(channel, pInputIOLogFormat, inputIOFormatCount, pOutputIOLogFormat, outputIOFormatCount) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetMLog(unsigned int channel, MAddress *pMAddress, unsigned int size); |
Python |
def SetMLog(channel, pMAddress, size) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetMLogFormat(unsigned int channel, MLogFormat *pMLogFormat, unsigned int mFormatCount); |
Python |
def SetMLogFormat(channel, pMLogFormat, mFormatCount) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def OpenMemoryLogBuffer(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def CloseMemoryLogBuffer(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def SetMemoryLog(channel, pAxisSelection, pOption) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def SetMemoryIOLog(channel, pInputIOAddress, inputSize, pOutputIOAddress, outputSize) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetMemoryMLog(unsigned int channel, MAddress *pMAddress, unsigned int size); |
Python |
def SetMemoryMLog(channel, pMAddress, size) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def StartMemoryLog(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def StopMemoryLog(channel) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetMemoryLogStatus(unsigned int channel, MemoryLogStatus *pStatus); |
Python |
def GetMemoryLogStatus(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetMemoryLogData(unsigned int channel, MemoryLogData *pData); |
Python |
def GetMemoryLogData(channel) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def StartApiLog() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def StopApiLog() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetApiLogStatus() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def OpenApiLogFile(pPath) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetApiLogData(FILE* pFile, unsigned char* pDataBuff, unsigned int buffSize); |
Python |
def GetApiLogData(pFile, buffSize) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def GetApiLogData_ApiLogInfo(pFile, buffSize) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def CloseApiLogFile(pFile); |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||