Sets serial port settings from the string.
| Visual Basic | Sub SetSettingsFromString(Settings As String)
|
|---|---|
| Visual C++ (MFC) | void SetSettingsFromString(LPCTSTR Settings);
|
| Visual C++ (#import) | void SetSettingsFromString(_bstr_t Settings);
|
Settings
[in] String taht contains COM port settings.
The method may throw exception. Use GetLastError method to get the error code.
String of following format: "SPEED,PARITY,BYTE_SIZE,STOP_BITS,FLOW_CONTROL".
For example, "9600,N,8,1,P".