MXIO Software Development Kit
C++ Sample Code Programming Guide
 All Classes Files Functions Variables Typedefs Macros Groups Pages
Classes | Typedefs | Functions | Variables
DwordR.cpp File Reference

Read DWORD Value, e.g. DIR Value, Filter Value or Pulse ON/OFF Width and Count More...

#include <stdio.h>
#include <stdlib.h>
#include "../../../../include/MXIO_V3_4500.h"

Classes

struct  _FUNC_CHINFO
 

Typedefs

typedef struct _FUNC_CHINFO FUNC_CHINFO
 
typedef struct _FUNC_CHINFOpFUNC_CHINFO
 

Functions

int MXCreateLibrary (HMODULE *phMXIO_V3_4500, CMXIO_V3_4500 **pMXIO_V3_4500, char *szLibName)
 
int MXDestroyLibrary (HMODULE hMXIO_V3_4500, CMXIO_V3_4500 **pMXIO_V3_4500)
 
void WaitPressAnyKey ()
 
void CheckErr (int ihConnection, int iRet, char *szFunctionName)
 
void PrtStrErrorString (WORD wErrorCode, char *szName)
 
void PrtStrChErrorString (BYTE bytErrorCode, char *pszName)
 
void CALLBACK ReadStrDataCallbackFunc (int *pRecvReadBlockData, void *pParam)
 
void PrintStrReadValue (int iIndex, CMXIO_V3_4500::MX_RECV_STR_READ_DATA *pImp)
 
int main (int argc, char *argv[])
 
BOOL PrintStrCHInfoStr (int iIndex, CMXIO_V3_4500::MX_RECV_STR_READ_DATA *pImp)
 
void PrtChErrorString (int iIndex, BYTE bytErrorCode)
 

Variables

HMODULE g_hMXIO_V3_4500 = NULL
 
CMXIO_V3_4500g_pMXIO_V3_4500 = NULL
 
FUNC_CHINFO FuncInfo []
 

Detailed Description

Read DWORD Value, e.g. DIR Value, Filter Value or Pulse ON/OFF Width and Count

Date
02/25/2019
Author
Daniel Chang
Version
V1.0

Typedef Documentation

typedef struct _FUNC_CHINFO FUNC_CHINFO
typedef struct _FUNC_CHINFO * pFUNC_CHINFO

Function Documentation

int MXCreateLibrary ( HMODULE *  phMXIO_V3_4500,
CMXIO_V3_4500 **  pMXIO_V3_4500,
char *  szLibName 
)
int MXDestroyLibrary ( HMODULE  hMXIO_V3_4500,
CMXIO_V3_4500 **  pMXIO_V3_4500 
)
void WaitPressAnyKey ( )
void CheckErr ( int  ihConnection,
int  iRet,
char *  szFunctionName 
)
void PrtStrErrorString ( WORD  wErrorCode,
char *  szName 
)
void PrtStrChErrorString ( BYTE  bytErrorCode,
char *  pszName 
)
void CALLBACK ReadStrDataCallbackFunc ( int *  pRecvReadBlockData,
void *  pParam 
)
void PrintStrReadValue ( int  iIndex,
CMXIO_V3_4500::MX_RECV_STR_READ_DATA pImp 
)
int main ( int  argc,
char *  argv[] 
)
BOOL PrintStrCHInfoStr ( int  iIndex,
CMXIO_V3_4500::MX_RECV_STR_READ_DATA pImp 
)
void PrtChErrorString ( int  iIndex,
BYTE  bytErrorCode 
)

Variable Documentation

HMODULE g_hMXIO_V3_4500 = NULL
CMXIO_V3_4500* g_pMXIO_V3_4500 = NULL
FUNC_CHINFO FuncInfo[]