Query on reading COM port

2006-02-09 Thread Rajesh Vattem
Hi all, I have a query on reading the serial port using Win32:: Serial Port. I am trying to write a command to the COM port and reading the response of it. The following script is not working if I open the serial port before starting the loop and keep writing the command until the desired respo

Info on reading COM ports

2006-01-06 Thread Rajesh Vattem
Hi, I am looking for ways to read a COM port (USB and baud rate > 115200). Can some one advise me which is the efficient way to do this. Thanks & Regards, Rajesh. ** The information contained in this email and any attachments i

Doubt

2005-11-08 Thread Rajesh Vattem
Hi, I am trying to read and write to a file with a single file handle operation. Could you please suggest a change in the below script so that it will change one line of a file based on the pattern compared with (Presently, the script doesn't work properly because I don't delete the already existi

RE:

2005-10-03 Thread Rajesh Vattem
PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rajesh Vattem Sent: Monday, October 03, 2005 3:48 PM To: activeperl@listserv.ActiveState.com; perl-win32-users@listserv.ActiveState.com Subject: RE: Hi all, Can some body please let me know how we can open a dial up connection from command prompt? Regards

RE:

2005-10-03 Thread Rajesh Vattem
Hi all, Can some body please let me know how we can open a dial up connection from command prompt? Regards, Rajesh. ** The information contained in this email and any attachments is likely to be confidential and legally privilege

Doubt in using Win32:GUITest module

2005-09-15 Thread Rajesh Vattem
Hi all, I am trying to use this Win32:GUITest module for doing some GUI operations. I observed that the script below fails when I execute the script as below. perl auto.pl Strangely, the script passes when I do auto.pl. Can some one explain why is this so? my $name = "^Utrantestmanager";

RE:

2005-07-25 Thread Rajesh Vattem
Hi, I am using Win32 serial port APIs in Active perl 5.8.2 for opening COM port. I am getting this error when I open the COM port with a different baud rate (eg: 921600). It works fine with baud rate 115200. The way I open the COM port is print STDOUT "Number of testcases: $ARGV[0]\n"; $config_fi

Net::Telnet

2005-06-01 Thread Rajesh Vattem
Hi, I am using this module (Net::Telnet) downloaded from CPAN, for a small interactive program in which I telnet to a particular host, login and give some commands (based on the options you get). I am not able to do this. I am able to login but whatever I do after that doesn't seem to happen. Can

Info pls

2005-03-30 Thread Rajesh Vattem
Hi, Can anyone tell me how to read a socket in non-blocking way. Presently I am doing it as below. sub SockRead { my $line = <$caSock>; return $line; } Thanks & Regards, Rajesh. ** The information contained in th

Request Info

2005-02-22 Thread Rajesh Vattem
Hi, I am facing an issue with reading/writing COM port. I am using Win32 serial port API for this purpose. The problem is that some times opening or closing COM port handle fails and the program dies. Because of this the test session I execute terminates abruptly. I call this perl script from a GU