| Instrument Control Toolbox | ![]() |
Specify the number of bytes that must be available in the input buffer to generate a bytes-available event
Description
You configure BytesAvailableActionCount to the number of bytes that must be available in the input buffer before a bytes-available event is generated.
Use the BytesAvailableActionMode property to specify whether the bytes-available event occurs after a certain number of bytes are available or after a terminator is read.
The bytes-available event executes the M-file action function specified for the BytesAvailableAction property.
You can configure BytesAvailableActionCount only when the object is disconnected from the instrument. You disconnect an object with the fclose function. A disconnected object has a Status property value of closed.
Characteristics
| Usage |
Any instrument object |
| Read only |
While open |
| Data type |
Double |
Values
Functions
Properties
BytesAvailableAction, BytesAvailableActionMode, EOSCharCode, Status, Terminator
| BytesAvailableAction | BytesAvailableActionMode | ![]() |