Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remember this stuff?
Message
From
17/11/2002 14:18:00
 
 
To
15/11/2002 08:50:55
Koos Veel
Gamma Research
Aruba
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00723154
Message ID:
00723657
Views:
6
Hi Koos,

If this has to be in a native DOS screen, you could do this via FoxPro 2.6 DOS and a 3rd party commumications library (Several years ago I used SilverFox) or via Clipper 5 whose extended ToolKit included communications functions.

I used a routine that, at regular intervals checked/read/emptied the buffer holding data received from the COMM port.
The results can be echoed to the full DOS 80x25 screen and/or a text file.

You can actually do this natively in FoxPro or Clipper by opening the COMM port as a file in the read-only mode, but you have no control over the any events connected with the communication, and it does not work very well.

Regards


>Hello All,
>
>We need to put on a screen of a computer running MSDOS6 the info that is coming in via a serial port.
>We think that we vaguely remember to set the port parameters first ("MODE COM1:9600,n,7,1") and then redirect the info that comes in through that port to the screen ("COPY COM1 CON"). It seems to work because you get on a blank line a blinking cursor that seems to be waiting for incoming via the port. But when we sent a string to the port an error message appears ("General failure reading device COM1; Abort, Retry, Ignore, Cancel").
>
>Is there anybody that remembers how to do this?
>
>Thanks,
>
>Koos Veel.
Previous
Reply
Map
View

Click here to load this message in the networking platform