User`s manual
Writing and Reading Data
8-37
The functions associated with reading data are given below.
The properties associated with reading data are given below.
Table 8-7: Functions Associated with Reading Data
Function Name Description
fgetl
Read one line of text from the device and discard the 
terminator
fgets Read one line of text from the device and include the 
terminator
fread Read binary data from the device
fscanf Read data from the device, and format as text
readasync Read data asynchronously from the device
stopasync Stop asynchronous read and write operations
Table 8-8: Properties Associated with Reading Data
Property Name Description
BytesAvailable
Indicate the number of bytes available in the input 
buffer
InputBufferSize Specify the size of the input buffer in bytes
ReadAsyncMode
Specify whether an asynchronous read operation is 
continuous or manual
Timeout
Specify the waiting time to complete a read or write 
operation
TransferStatus
Indicate if an asynchronous read or write operation 
is in progress
ValuesReceived Indicate the total number of values read from the 
device










