Posted by bloggsfred00 on 12/24/06 14:07
Sanders Kaufman wrote:
> 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).
I didnt think I was confused, but perhaps I am.
Is there a standard COM Object for serial ports that I can instantiate
through PHP?
Navigation:
[Reply to this message]
|