Io Class

Function

C++

int GetInputModuleId();

Python

def GetInputModuleId()

Returns

Type

int

Value

ID of the module

Remarks

このPythonメソッドは予約されています。

Function

C++

WMX3APIFUNC GetInputData(unsigned char* buff, int buffSize, int* dataSize, char *initialState);

Python

def GetInputData(buff, buffSize, dataSize, initialState)

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++

int GetOutputModuleId();

Python

def GetOutputModuleId()

Returns

Type

int

Value

ID of the module

Remarks

このPythonメソッドは予約されています。

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メソッドは予約されています。

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メソッドは予約されています。

Function

C++

int GetModuleId();

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++

static WMX3APIFUNC ApiLogToString(unsigned char *pLogData, unsigned int logDataSize, char *pString, unsigned int size);

Python

def ApiLogToString(pLogData, logDataSize)

Returns

Type

string

Value

API log string

Remarks

Function

C++

static WMX3APIFUNC ApiLogToString(unsigned char *pLogData, unsigned int logDataSize, wchar_t *pString, unsigned int size);

Python

Returns

Type

Value

Remarks

Function

C++

static WMX3APIFUNC GetLibVersion(int *pMajorVersion, int *pMinorVersion, int *pRevisionVersion, int *pFixVersion);

Python

def GetLibVersion()

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - MajorVersion

  • 2 : int - MinorVersion

  • 3 : int - RevisionVersion

  • 4 : int - FixVersion

Remarks

Function

C++

bool IsDeviceValid();

Python

def IsDeviceValid()

Returns

Type

bool

Value

Whether the device is alive

Remarks

Function

C++

WMX3APIFUNC GetVersion(int *pMajorVersion, int *pMinorVersion, int *pRevisionVersion, int *pFixVersion);

Python

def GetVersion()

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - MajorVersion

  • 2 : int - MinorVersion

  • 3 : int - RevisionVersion

  • 4 : int - FixVersion

Remarks

Function

C++

WMX3APIFUNC SetOutBit(int addr, int bit, unsigned char data);

Python

def SetOutBit(addr, bit, data)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutByte(int addr, unsigned char data);

Python

def SetOutByte(addr, data)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutBytes(int addr, int size, unsigned char *pData);

Python

def SetOutBytes(addr, size, pData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutBits(int *pAddr, int *pBit, unsigned char *pData, int count);

Python

def SetOutBits(pByte, pBit, pData, count)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataChar(int addr, char analogData);

Python

def SetOutAnalogDataChar(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataUChar(int addr, unsigned char analogData);

Python

def SetOutAnalogDataUChar(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataShort(int addr, short analogData);

Python

def SetOutAnalogDataShort(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataUShort(int addr, unsigned short analogData);

Python

def SetOutAnalogDataUShort(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataInt(int addr, int analogData);

Python

def SetOutAnalogDataInt(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataUInt(int addr, unsigned int analogData);

Python

def SetOutAnalogDataUInt(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutBitMaskMode(bool enable);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC SetOutBitMaskBit(int addr, int bit, unsigned char data);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC SetOutBitMaskByte(int addr, unsigned char data);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC SetOutBitMaskBytes(int addr, int size, unsigned char* pData);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC SetOutBitMaskBits(int* pAddr, int* pBit, unsigned char* pData, int count);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC GetInBit(int addr, int bit, unsigned char *pData);

Python

def GetInBit(addr, bit)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInByte(int addr, unsigned char *pData);

Python

def GetInByte(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInBytes(int addr, int size,unsigned char *pData);

Python

def GetInBytes(addr, size)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataChar(int addr, char *pAnalogData);

Python

def GetInAnalogDataChar(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataUChar(int addr, unsigned char *pAnalogData);

Python

def GetInAnalogDataUChar(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataShort(int addr, short *pAnalogData);

Python

def GetInAnalogDataShort(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataUShort(int addr, unsigned short *pAnalogData);

Python

def GetInAnalogDataUShort(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataInt(int addr, int *pAnalogData);

Python

def GetInAnalogDataInt(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataUInt(int addr, unsigned int *pAnalogData);

Python

def GetInAnalogDataUInt(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutBit(int addr, int bit, unsigned char *pData);

Python

def GetOutBit(addr, bit)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutByte(int addr, unsigned char *pData);

Python

def GetOutByte(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutBytes(int addr, int size, unsigned char *pData);

Python

def GetOutBytes(addr, size)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataChar(int addr, char *pAnalogData);

Python

def GetOutAnalogDataChar(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataUChar(int addr, unsigned char *pAnalogData);

Python

def GetOutAnalogDataUChar(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataShort(int addr, short *pAnalogData);

Python

def GetOutAnalogDataShort(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataUShort(int addr, unsigned short *pAnalogData);

Python

def GetOutAnalogDataUShort(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataInt(int addr, int *pAnalogData);

Python

def GetOutAnalogDataInt(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataUInt(int addr, unsigned int *pAnalogData);

Python

def GetOutAnalogDataUInt(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutBitMaskMode(bool* pEnable);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC GetOutBitMaskBit(int addr, int bit, unsigned char* pData);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC GetOutBitMaskByte(int addr, unsigned char* pData);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC GetOutBitMaskBytes(int addr, int size, unsigned char* pData);

Python

Returns

Type

Value

Remarks

Function

C++

WMX3APIFUNC SetOutBitEx(int addr, int bit, unsigned char data);

Python

def SetOutBitEx(addr, bit, data)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutByteEx(int addr, unsigned char data);

Python

def SetOutByteEx(addr, data)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutBytesEx(int addr, int size, unsigned char *pData);

Python

def SetOutBytesEx(addr, size, pData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutBitsEx(int *pAddr, int *pBit, unsigned char *pData, int count);

Python

def SetOutBitsEx(pByte, pBit, pData, count)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataCharEx(int addr, char analogData);

Python

def SetOutAnalogDataCharEx(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataUCharEx(int addr, unsigned char analogData);

Python

def SetOutAnalogDataUCharEx(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataShortEx(int addr, short analogData);

Python

def SetOutAnalogDataShortEx(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataUShortEx(int addr, unsigned short analogData);

Python

def SetOutAnalogDataUShortEx(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataIntEx(int addr, int analogData);

Python

def SetOutAnalogDataIntEx(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetOutAnalogDataUIntEx(int addr, unsigned int analogData);

Python

def SetOutAnalogDataUIntEx(addr, analogData)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC GetInBitEx(int addr, int bit, unsigned char *pData);

Python

def GetInBitEx(addr, bit)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInByteEx(int addr, unsigned char *pData);

Python

def GetInByteEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInBytesEx(int addr, int size,unsigned char *pData);

Python

def GetInBytesEx(addr, size)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataCharEx(int addr, char *pAnalogData);

Python

def GetInAnalogDataCharEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataUCharEx(int addr, unsigned char *pAnalogData);

Python

def GetInAnalogDataUCharEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataShortEx(int addr, short *pAnalogData);

Python

def GetInAnalogDataShortEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataUShortEx(int addr, unsigned short *pAnalogData);

Python

def GetInAnalogDataUShortEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataIntEx(int addr, int *pAnalogData);

Python

def GetInAnalogDataIntEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInAnalogDataUIntEx(int addr, unsigned int *pAnalogData);

Python

def GetInAnalogDataUIntEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutBitEx(int addr, int bit, unsigned char *pData);

Python

def GetOutBitEx(addr, bit)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutByteEx(int addr, unsigned char *pData);

Python

def GetOutByteEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutBytesEx(int addr, int size, unsigned char *pData);

Python

def GetOutBytesEx(addr, size)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataCharEx(int addr, char *pAnalogData);

Python

def GetOutAnalogDataCharEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataUCharEx(int addr, unsigned char *pAnalogData);

Python

def GetOutAnalogDataUCharEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataShortEx(int addr, short *pAnalogData);

Python

def GetOutAnalogDataShortEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataUShortEx(int addr, unsigned short *pAnalogData);

Python

def GetOutAnalogDataUShortEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataIntEx(int addr, int *pAnalogData);

Python

def GetOutAnalogDataIntEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetOutAnalogDataUIntEx(int addr, unsigned int *pAnalogData);

Python

def GetOutAnalogDataUIntEx(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC SetInitialOutByte(int addr, unsigned char data, unsigned char enable);

Python

def SetInitialOutByte(addr, data, enable)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC SetInitialOutBytes(int addr, int size, unsigned char *pData, unsigned char *pEnable);

Python

def SetInitialOutBytes(addr, size, pData, pEnable)

Returns

Type

int

Value

error code

Remarks

Function

C++

WMX3APIFUNC GetInitialOutByte(int addr, unsigned char *pData, unsigned char *pEnable);

Python

def GetInitialOutByte(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - data

Remarks

Function

C++

WMX3APIFUNC GetInitialOutBytes(int addr, int size, unsigned char *pData, unsigned char *pEnable);

Python

def GetInitialOutBytes(addr, size)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - data

Remarks

Function

C++

WMX3APIFUNC GetInitialOutByteInterruptId(int addr, unsigned char *pInterruptId);

Python

def GetInitialOutByteInterruptId(addr)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : int - interruptId

Remarks

Function

C++

WMX3APIFUNC GetInitialOutBytesInterruptId(int addr, int size, unsigned char *pInterruptId);

Python

def GetInitialOutBytesInterruptId(addr, size)

Returns

Type

tuple

Value

  • 0 : int - error code

  • 1 : list(int) - interruptId

Remarks