Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Win32::SerialPort issues

by rbala (Acolyte)
on Jun 28, 2013 at 16:08 UTC ( #1041280=perlquestion: print w/ replies, xml ) Need Help??
rbala has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I am using Win32::SerialPort API's to configure a serial network device which runs linux with certain set of device specific commands. For eg. config MODE=sta. But some times, characters got truncated and only partial characters are sent. for eg. the above command is sent as config MODE=a.(st truncated). Is there any better option available to avoid this solution in this win32serialport module ?

Thanks in advance, Bala.

Comment on Win32::SerialPort issues
Replies are listed 'Best First'.
Re: Win32::SerialPort issues
by kschwab (Priest) on Jun 29, 2013 at 03:54 UTC
    How is it that you know the data is being truncated? Have you tried a serial port monitor on the windows side to see what's being sent out? I don't know of a free windows serial port monitor that works on Win7/64bit, so I use aggsoft.com's product.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1041280]
Approved by sundialsvc4
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (17)
As of 2015-07-28 19:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls