Re: Emulate seriel communication
From: Roger Lascelles (r.o.g.e.r.l.a.s._at_optusnet.com.au.removedots)
Date: 10/31/03
- Next message: Hannes Danzl[NDD]: "Re: Emulate seriel communication"
- Previous message: Yuri Rai: "ANN: PE Explorer 1.94: A multi-purpose PE file editor"
- In reply to: Lasse: "Emulate seriel communication"
- Next in thread: Hannes Danzl[NDD]: "Re: Emulate seriel communication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Oct 2003 14:23:53 +1100
I have met the same issue - even producing an entire complex project without
ever having access to the device on the other end of the RS232 line. I
prefer to put two computers on my desk, connect them with RS232, fire up
Delphi on both, but you can manage with one computer with a cable between
the serial ports.
One computer runs the emulation application, which in your case is the
"production computer". The other computer runs the app you are developing.
First start writing the emulation app. You have to get all the details
right - response time, reply to commands etc - whatever the protocol may
be. When you have enough built, you can start work on your main app. Both
ends will have bugs, but gradually the emulation app will settle down and
you can work mostly on the main app. I use iterative development, where I
get the basic comms structure working, then develop other layers as demanded
by the main app.
The emulation screen can display controls to let you setup for particular
situations. In an extreme case, the emulation app may need to be script
driven - or you can write the mods straight into the Delpi code, compile and
run. The emulation app must be able to create fault scenarios such as error
codes and no reply so you can test your main app error handling.
Roger
"Lasse" <lars.makiaho@kpwood.com> wrote in message
news:3fa17fce@newsgroups.borland.com...
> Hi,
> I am looking for something that can emulate series rs232 communication. I
am
> building a application that are going to communicate with a production
> computer using rs 232, the problem is that I dont have access to it. I
> wonder if there is such device that I can setup to emulate the production
> computer?
> Lasse
>
>
- Next message: Hannes Danzl[NDD]: "Re: Emulate seriel communication"
- Previous message: Yuri Rai: "ANN: PE Explorer 1.94: A multi-purpose PE file editor"
- In reply to: Lasse: "Emulate seriel communication"
- Next in thread: Hannes Danzl[NDD]: "Re: Emulate seriel communication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|