Initialization of the serial port

This subVi performs initialization of the serial port. Transfer rate is 115200 bps, the data bits is 8, no parity and number of stop bits is 1. The hardware synchronization RTS / CTS is used for synchronization with aGSM modem . ASCII command that is sent to the GSM modem is automatically added CR character. LF character is used for reading messages from the serial port . Reading a series of characters from the serial portis completed when the loaded character is LF. Figure 1 shows the block diagram of  the initialization subVI.

Figure 1 Initialization of the serial port

After initialization of the serial port subVI "GSM remove echo.vi" removes echo. After initialization of  Wavecom GSM modem echo function is set, which means that the modem automatically returns each receivedcharacter. To speed up the process of reading data from the serial port after initialization of the serial port echo is removed.