Keysight VISA.NET Help
Read(Byte,Int64,Int64,Int64,ReadStatus) Method



A reference to an array of bytes allocated by the calling program.
The index in buffer to begin storing bytes
The maximum number of bytes to read.
The actual count of bytes stored in buffer during the read operation.
A status that indicates whether an END indicator or termination character terminated the read operation.
Read count bytes into the buffer buffer, starting at index, or until an END indicator or termination character is reached, whichever comes first.
Syntax
'Declaration
 
Overloads Sub Read( _
   ByVal buffer As Byte, _
   ByVal index As Long, _
   ByVal count As Long, _
   ByRef actualCount As Long, _
   ByRef readStatus As ReadStatus _
) 
'Usage
 
Dim instance As IMessageBasedRawIO
Dim buffer As Byte
Dim index As Long
Dim count As Long
Dim actualCount As Long
Dim readStatus As ReadStatus
 
instance.Read(buffer, index, count, actualCount, readStatus)

Parameters

buffer
A reference to an array of bytes allocated by the calling program.
index
The index in buffer to begin storing bytes
count
The maximum number of bytes to read.
actualCount
The actual count of bytes stored in buffer during the read operation.
readStatus
A status that indicates whether an END indicator or termination character terminated the read operation.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025