Kbase P25261: Can Progress access COM1 serial port for INPUT-OUTPUT in batch mode?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/5/2007 |
|
Status: Verified
GOAL:
Can Progress access COM1 serial port for INPUT-OUTPUT in batch mode?
FACT(s) (Environment):
Progress 8.x
Progress 9.x
OpenEdge 10.x
All Supported Operating Systems
FIX:
Progress does not directly support the opening of a serial port in INPUT-OUTPUT mode. The 4GL expects the port to be open for one mode at a time. For example a procedure may (1) OPEN for INPUT, (2) Read and process the input data, (3) CLOSE the port and (4) OPEN for OUTPUT...
One solution is to use a third party ActiveX Automation object that encapsulates the desired serial ports access functionality and make the encapsulated functionality available to Progress 4GL calls.
An easier solution is to access the serial ports for INPUT-OUTPUT in a NON-BATCH mode using a third party communication OCX like the MSCOMM32 ActiveX control.