Re: serial port communication qestion...
- From: Lew Pitcher <lpitcher@xxxxxxxxxxxx>
- Date: Thu, 23 Aug 2007 05:31:25 -0700
On Aug 22, 7:17 pm, cooper...@xxxxxxxxx wrote:
hi everyone,
i am a beginner of pascal language. nowadays, i am learning to deal
with serial port.
i found some examples, such as opening port, writing to port:
eg.
//SerSetParams(MySerialHandle, 9600,8,EvenParity,1,[]);
//SerWrite(MySerialHandle, bffr,2);
my question is why the 'MySerialHandle' argument appears in these
command.
what is the purpose of this argument?
MySerialHandle is the unique "handle" returned from the open for the
serial device. Remember, you can have more than one serial device, so
there has to be a way to distinguish them. The "handle" is just the
way the code distinguishes between opened serial devices.
.
- Follow-Ups:
- Re: serial port communication qestion...
- From: cooper . zp
- Re: serial port communication qestion...
- From: cooper . zp
- Re: serial port communication qestion...
- From: cooper . zp
- Re: serial port communication qestion...
- References:
- serial port communication qestion...
- From: cooper . zp
- serial port communication qestion...
- Prev by Date: Re: USB 2.0 Audio interface for XLR microphone inputs
- Next by Date: Re: USB 2.0 Audio interface for XLR microphone inputs
- Previous by thread: serial port communication qestion...
- Next by thread: Re: serial port communication qestion...
- Index(es):
Relevant Pages
|