t*m 发帖数: 208 | 2 THis is a command in labwindows.
int result = OpenComConfig (int COMPort, char deviceName[], long baudRate,
int parity, int dataBits, int stopBits,
int inputQueueSize, int outputQueueSize);
Purpose
Opens a com port, and sets port parameters as specified. If inputQueueSize
or outputQueueSize is between 1 and 29, it is forced to 30.
Parameters
Input COMPort integer Range 1 through 32.
deviceName string Name of the COM port.
baudRate |
|