Help for this page

Select Code to Download


  1. or download this
    my ($receivedBytes, $data) = $HandleToRS232->read();
    
  2. or download this
    my ($receivedBytes, $data) = $HandleToRS232->read_bg();
    
  3. or download this
    my($done, $count_in, $string_in) = $HandleToRS232->read_done(1);
    
  4. or download this
    my ($result) = Win32API::CommPort::ReadFile(
    $HandleToRS232,$data,$NumberOfBytesToRead,
    $ActualReadBytes,$template);