Consultor Eletrônico



Kbase P120444: How to change the settings of a serial port used in a 4GL application?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/9/2009
Status: Unverified

GOAL:

How to change the settings of a serial port used in a 4GL application?

GOAL:

How to change the settings of the COM port from the 4GL?

GOAL:

How to set the speed, mode, stop bits or parity bits of a serial port?

GOAL:

How to configure a RS232 interface from a Progress application?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

FIX:

There is no mechanism in the Progress 4GL to change the settings of a serial port used via the INPUT FROM or OUTPUT TO statements.
When the serial port is opened, Progress will use the default settings for the ports as set by the operating system.
- On UNIX, the serial ports settings are usually set using the stty command. For more information, refer to your operating system documentation.
- On Windows, the default serial port settings are set in the Windows Control Panel.