Como alterar parâmetros seriais dinamicamente com VxComm Driver e SetCommState() API?

FAQ técnica da ICP DAS.

Documento original em inglês.

Dados do documento

Marca
ICP DAS
Tipo
FAQ técnica
Idioma do arquivo
Inglês
Formato
PDF
Páginas
1
Tamanho
282 KB
Códigos
FAQ003-SUPPORT-SETCOMMSTATE-API-TO-CHANGE-BAUDRATE-DATA-FORMAT

Resumo

Confirma a alteração dinâmica dos parâmetros seriais e orienta abrir a porta COM antes de configurá-la.

Trecho da primeira página (original em inglês)

dynamically change the baud rate, data bits, parity and stop bits? A: Yes. In the Win32 environment, users should call the CreateFile( ) API to open the COM port(s) and then use the SetCommState( ) API to configure it. Third-party tools may provide an OpenCom( ) function for the easy opening of…

Documentos relacionados