avatar
t*m
1
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
avatar
t*t
2
To be more precise, it's the 16550 compatible chip which support
115200bps, not 8250.
what is labwindows?
Never heard it......
Nowadays PC always have 16550 compatible communication chips.
I can't find it now, but I remember that 128000 and 256000 is not for
serial ports. but 115200 is, maybe some driver doesn't support it.

【在 t*m 的大作中提到】
: 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.

avatar
t*m
3
Labwindows is a kind of foolproof software designed for
device driver or psedo real time programming. It runs
in 98/NT, so I guess the baud rate of serial port from
this command. VC should have such command too.

【在 t****t 的大作中提到】
: To be more precise, it's the 16550 compatible chip which support
: 115200bps, not 8250.
: what is labwindows?
: Never heard it......
: Nowadays PC always have 16550 compatible communication chips.
: I can't find it now, but I remember that 128000 and 256000 is not for
: serial ports. but 115200 is, maybe some driver doesn't support it.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。