PC-DMIS 2022.1 Object Library
ReadCommBlock Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
port
The comm port from which to read. Required.
buffer
The string in which to put the read characters. Required.
Count
The maximum number of characters to read from the port. Required.
PCDLRN ActiveX DLL > OldBasic Object : ReadCommBlock Method

Glossary Item Box

Description

Reads characters from the comm port specified.

Syntax

Visual Basic
Public Function ReadCommBlock( _
   ByVal port As Long, _
   ByRef buffer As String, _
   ByVal Count As Long _
) As Long

Parameters

port
The comm port from which to read. Required.
buffer
The string in which to put the read characters. Required.
Count
The maximum number of characters to read from the port. Required.

See Also

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.