in reply to Re: Serial Port win32 module
in thread Serial Port win32 module

Yes, the previous post was my struggle to start. Now i am on my next stage. I am using Strawberry 32 bit on a 64 bit windows 7. The usb to serial converted is connected to PC , then connect the device which talks on serial. Only tx,Rx and gnd are connected. The following the spec of the device. VCR Get Version number of hardware and software This command is only active always. Example: VCR Get Version numbers Now i use the perl script and try to monitor the response thru serial monitor.We have tried delay the close port till 10 secs.but i have not seen the response on the serial monitor window. I use a serial tool called teraterm and terminal to repeat the issue i found. but it always works fine with it on same settings done on script. thanks, jis

Replies are listed 'Best First'.
Re^3: Serial Port win32 module
by Anonymous Monk on Apr 22, 2014 at 10:24 UTC

    Again, try actually reading data from the port in Perl.

    Note that you may need to change the read_interval, read_char_time, and/or read_const_time settings in case you experience timeout problems.

    Is your serial monitor a hardware device or a software on the PC? If it's the former, then your problem is indeed strange and I'd suspect incorrect settings or flow control issues somewhere. If it's the latter, then there might still be some driver issues going on preventing you from seeing things in your serial port monitor.

    Lastly, see if you can get your PC and your Perl script talking to a different piece of hardware, such as a second PC running HyperTerminal or TeraTerm or similar.