Keysight VISA.NET Help
FlushWrite Method



Determines whether the END indicator is sent to the instrument. If the SendEndEnabled property is different from the value of the sendEnd parameter, the FlushWrite method changes the SendEndEnabled property on the I/O session, commits the write buffer, and then restores the previous value of the SendEndEnabled property.
Flushes all the data from the formatted I/O write buffer and sends it to the instrument, without appending a termchar.
Syntax
'Declaration
 
Sub FlushWrite( _
   ByVal sendEnd As Boolean _
) 
'Usage
 
Dim instance As IMessageBasedFormattedIO
Dim sendEnd As Boolean
 
instance.FlushWrite(sendEnd)
void FlushWrite( 
   bool sendEnd
)
void FlushWrite( 
   bool sendEnd
) 

Parameters

sendEnd
Determines whether the END indicator is sent to the instrument. If the SendEndEnabled property is different from the value of the sendEnd parameter, the FlushWrite method changes the SendEndEnabled property on the I/O session, commits the write buffer, and then restores the previous value of the SendEndEnabled property.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025