Serial Communication Library use with Perl

Access serial ports with Perl. Read and Write serial ports with Perl.

The SuperCom DLL API can be used with Perl for Windows. Samples also provided. Serial communication RS-232, RS-485 Toolkit used with Perl. Control serial interfaces. Protocols ZMODEM,YMODEM,XMODEM,KERMIT,MODBUS,ASCII

Using Perl for Windows it is also possible to create data communication scripts.

Sample with Perl 5
   use SuperCom;

   my $Com   = $SuperCom::COM_1;  # using COM1
   my $Baud  = 57600;
   my $Parity= ord('N');

   SuperCom::ComInit($Com);
      :
   SuperCom::ComWrite($Com, ord('A'));
   SuperCom::ComWrite($Com, ord('T'));
   SuperCom::ComWrite($Com, 13); # CR
      :
      :
   my $res = SuperCom::TXFile_ZMODEM($Com,
                                     $sFileName,
                                     $ErrorCode,
                                     0);
      :
   SuperCom::ComReset($Com);

Combine Perl and SuperCom for data transmition, modem connection, file transmission using standard protocols like ZMODEM,YMODEM,XMODEM,KERMIT,ASCII.

Perl can also use SuperCom for TCP/IP or ISDN. With SuperCom there is one common API (Application Programming Interface).


Home    Back
Modified at:

ADONTEC
It Simply Works!