You are here: Re: Reading COM1 with php-win « PHP Programming Language « IT news, forums, messages
Re: Reading COM1 with php-win

Posted by Sanders Kaufman on 12/24/06 09:34

bloggsfred00@hotmail.com wrote:
> I need to read incoming bytes on a COM port but I do not want to have
> the script hang if there is nothing to read.
>
> Is there any way to have PHP interrogate a COM port buffer to see if
> there is any content before reading it?
>
> Any other method to achieve the result would also be welcome.
>
> Cheers,
> Fred.

Look into the COM object for Windows PHP.
Anything you can do with COM, you can do through that object.

Just don't get confused with what's a COM port (communications)
and what's a COM object (Component Object Model).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация