Keysight VISA.NET Help
BeginRead(Int32,Object) Method



The maximum number of bytes to read.
Information about the state of this particular asynchronous operation that is attached to the Async Results.

A reference to an object that contains arbitrary information of interest to the calling program, and related to the asynchronous operation. This allows the asynchronous operation to provide the reference back to the calling program (as context) when the operation is complete. This is particularly useful when callbacks are used. Note that the object is not used by the asynchronous operation.
Read count bytes asynchronously and store them in the Async Results Buffer/>.
Syntax
'Declaration
 
Overloads Function BeginRead( _
   ByVal count As Integer, _
   ByVal state As Object _
) As IVisaAsyncResult
'Usage
 
Dim instance As IMessageBasedRawIO
Dim count As Integer
Dim state As Object
Dim value As IVisaAsyncResult
 
value = instance.BeginRead(count, state)

Parameters

count
The maximum number of bytes to read.
state
Information about the state of this particular asynchronous operation that is attached to the Async Results.

A reference to an object that contains arbitrary information of interest to the calling program, and related to the asynchronous operation. This allows the asynchronous operation to provide the reference back to the calling program (as context) when the operation is complete. This is particularly useful when callbacks are used. Note that the object is not used by the asynchronous operation.

Return Value

Information about the progress and results of the asynchronous operation that is specific to, and identifies, that particular operation.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025