Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-28 Thread P. vanderWal
- Original Message - From: Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk To: fpc-pascal@lists.freepascal.org Sent: Wednesday, July 27, 2011 10:36 PM Subject: Re: [fpc-pascal] How to detect serial/usb-serial ports. P.vanderWal wrote: Debian and Ubuntu grtjs Piet

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-28 Thread Mark Morgan Lloyd
P. vanderWal wrote: - Original Message - From: Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk To: fpc-pascal@lists.freepascal.org Sent: Wednesday, July 27, 2011 10:36 PM Subject: Re: [fpc-pascal] How to detect serial/usb-serial ports. P.vanderWal wrote: Debian and Ubuntu

[fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread P. vanderWal
Hello, In my program I need to present the user with a list of available serial and usb-serial ports on the system they are using. How do I detect in my program these ports?. (something like GetPortList() in Delphi-7???). One port is used by a milling-machine to receive its position and speed

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Felipe Monteiro de Carvalho
For which operating system? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread John Lee
I use the synaser unit - works for fpc 2.4, win and I think for other o/s too - google for info - it has the capability to look for serial ports, set baud rates, and to do character block input output. hth John On 27 July 2011 09:22, P. vanderWal p.w...@quicknet.nl wrote: ** Hello, In my

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Fabio Luis Girardi
Wich OS? If Windows, you can use the function BuildCommDCB, and pass the following string as param: COMx: baud=1200 parity=N data=8 stop=1 if COMx exists on your system, this function will return true. See: http://msdn.microsoft.com/en-us/library/aa363143(v=vs.85).aspx On linux, i don't

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Henry Vermaak
On 27/07/11 09:22, P. vanderWal wrote: Hello, In my program I need to present the user with a list of available serial and usb-serial ports on the system they are using. How do I detect in my program these ports?. (something like GetPortList() in Delphi-7???). Look here for how synaser does

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread P.vanderWal
Debian and Ubuntu grtjs Piet - Original Message - From: Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Sent: Wednesday, July 27, 2011 10:39 AM Subject: Re: [fpc-pascal] How to detect serial/usb-serial

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Mark Morgan Lloyd
P.vanderWal wrote: Debian and Ubuntu grtjs Piet - Original Message - From: Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Sent: Wednesday, July 27, 2011 10:39 AM Subject: Re: [fpc-pascal] How to detect

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Fabio Luis Girardi
Message - From: Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Sent: Wednesday, July 27, 2011 10:39 AM Subject: Re: [fpc-pascal] How to detect serial/usb-serial ports. For which operating system? I'd expect