
#ifdef __cplusplus
extern "C" {
#endif

// Error Code Definition
#define NoError 		0
#define ID_ERROR	       -1
#define SLOT_ERROR	       -2
#define CHANNEL_ERROR		-3
#define HARDWARE_LPF_ERROR	-4
#define SOFTWARE_LPF_ERROR  	-5
#define NOT_SUPPORT_ERROR	-6


short WriteDI_LPF(int slot, DWORD lpf_Value);
short ReadDI_LPF(int slot, DWORD *lpf_Value, int type); // 0 -> Hardware, 1 -> Software


#ifdef __cplusplus
}
#endif
