[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    Re: [PHP-WIN] issues with serial data acquisition
From:       "Ariz Jacinto" <acjacinto () gmail ! com>
Date:       2007-07-18 21:26:48
Message-ID: 75922d7b0707181426y7db6906k3c8b047071e976f0 () mail ! gmail ! com
[Download RAW message or body]


have you tried initializing the com port first? (e.g. running MODE.COM,
etc.)



On 7/18/07, Aghor <l.sepulveda@vtr.net> wrote:
>
> Hi!
>
> Recently i was using php-cli with php_dio.dll for manipulate data from and
> to the serial port (com) under windows xp. Like an adquisition system that
> inserts data into a mysql database.
>
> While i worked with 2 virtual serial ports, my scripts worked fine and
> efficiently.
>
> Knowing that, i tried to test my adquisition data program in a real
> fisical
> port (com1 or com2).
>
> So far i haven`t any good result with that, nor even making an echo with
> every char arrived. Nothing is captures by the program.
>
> Why this could happen ???
>
> Is there a exception or recommendation working with real data or real
> ports?
>
> Tell me if it is necessary to put the complete script.
>
> Regards,
> Aghor
>
>
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic