ICP DAS USA MP-8 43 Series Function Reference page 6

Hide thumbs Also See for MP-8 43 Series:
Table of Contents

Advertisement

4. SERIALCE API................................................................ 83
4.1 Serial port basic function........................................................83
4.1.1 Get_Version...................................................................................... 83
4.1.2 Open_Com ....................................................................................... 84
4.1.3 Close_Com ....................................................................................... 85
4.1.4 DataSizeInCom................................................................................ 86
4.1.5 DataSizeOutCom ............................................................................. 87
4.1.6 ReadComn........................................................................................ 88
4.2 Send and Receive binary data ................................................89
4.2.1 Send_Binary..................................................................................... 89
4.2.2 Receive_Binary ................................................................................ 90
4.2.3 Send_Receive_Binary...................................................................... 92
4.3 Send and Receive with CR end character .............................94
4.3.1 Send_Cmd ........................................................................................ 94
4.3.2 Receive_Cmd ................................................................................... 96
4.3.3 Send_Receive_Cmd ......................................................................... 98
4.4 Other Serial port API ............................................................100
4.4.1 Get_Com_Status ............................................................................ 100
4.4.2 Change_BaudRate......................................................................... 101
4.4.3 Change_Config .............................................................................. 102
4.4.4 SetLineStatus ................................................................................. 103
4.4.5 GetLineStatus ................................................................................ 104
4.4.6 Set_FlowControl ............................................................................ 105
4.4.7 Get_FlowControl ........................................................................... 107
4.4.8 Clear_Buffer .................................................................................. 109
PROBLEMS REPORT...................................................... 111
http://www.icpdas.com
MP-8x43 Function Reference V 1.0
++
...................................82
6 

Advertisement

Table of Contents
loading

Table of Contents