External Interfaces Previous page   Next Page
BytesAvailableFcnCount

Specify the number of bytes that must be available in the input buffer to generate a bytes-available event

Description

You configure BytesAvailableFcnCount to the number of bytes that must be available in the input buffer before a bytes-available event is generated.

Use the BytesAvailableFcnMode 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 callback function specified for the BytesAvailableFcn property.

You can configure BytesAvailableFcnCount only when the object is disconnected from the device. You disconnect an object with the fclose function. A disconnected object has a Status property value of closed.

Characteristics

Read only
While open
Data type
Double

Values

The default value is 48.

See Also

Functions

fclose

Properties

BytesAvailableFcn, BytesAvailableFcnMode, Status


Previous page  BytesAvailableFcn BytesAvailableFcnMode Next page

© 1994-2005 The MathWorks, Inc.