User`s manual
http://www.adtechcn.com 56
Note None
9.4
adt8840a_set_buff_mode( )
Name int adt8840a_set_buff_mode(int dev_num,int buffmode)
Definition Set the software buffer mode
Input parameter
int dev_num: device number
int mode: 0: software buffer enabled; 1: software buffer disabled
Output
parameter
None
Return value 0: execution OK; -1: transmission abnormity; -4: disabled device interface
Note None
9.5
adt8840a_set_pulsemm( )
Name int adt8840a_set_pulsemm(int dev_num,int axis,int PulseMm)
Definition Set the pulse equivalent
Input parameter
int dev_num: device number
int axis: axis number
int PulseMm: pulse equivalent
Output
parameter
None
Return value 0: execution OK; -1: transmission abnormity; -4: disabled device interface
Note None
9.6
adt8840a_get_pulsemm( )
Name int adt8840a_get_pulsemm(int dev_num,int axis,int *PulseMm)
Definition Get the pulse equivalent
Input parameter
int dev_num: device number
int axis: axis number (1-4)
int PulseMm: receive the pulse equivalent of the current axis
Output
parameter
None
Return value 0: execution OK; -1: transmission abnormity; -4: disabled device interface
Note None
9.7
adt8840a_upload_sysfile( )
Name int adt8840a_upload_sysfile(int dev_num,int mode,char *file,SYSPARA *syspara
Definition Upload parameters of system configuration files