1. System Architechure
This system aim to get sample data from Module. Module output data by RS485. But Library has only USB communication way to get data. Thus need a RS485 control board to get data from Module and send it to library. System architechure diagram is as following.
2. Communication
Communication procedure is shown as below.
here,
- L is library.
- C is control board.
- M is module.
First, normal condition.
Second, control board no feedback. The module respond slowly.
If timeout 3 times, library should output a error tips.
Third, module no feedback.
If control board fail to get the data from module, library should output a error tips.