PPC Read (Macintosh)

Reads a block of information from a PPC session. If a timeout occurs or the VI aborts before running, the port closes. PPC Read runs asynchronously by starting to read the data, then polling until the read is finished.

session refnum is a session refnum, which you use in subsequent communication for this session.
n bytes to read indicates the number of bytes the VI reads.
timeout ticks, if non-zero, indicates the number of ticks the PPC Inform Session VI waits for LabVIEW to establish a session. After timeout ticks, LabVIEW returns the errTimedOut error. One tick equals 1/60 of a second. The default is 0, which indicates no timeout. Refer to PPC Inform Session for more information.
poll wait indicates how frequently PPC Read checks to see whether LabVIEW has read the data successfully. The default is 10 ms.
data bytes is the data written by the sender.
data info is a cluster of application-specific information that LabVIEW uses when reading and writing blocks of data in a PPC session. This cluster contains the following 32-bit integers that you can use to send information about the block of data to the receiving application:
block creator indicates the creator of the block being written.
block type defines the data type according to user-defined specifications.
user data lists additional information about the block at the user's discretion.
more indicates whether more data exists for the block that the VI reads. The application that writes the data can send the data in multiple pieces.
error, if negative, indicates a Macintosh error. If positive, error indicates an error internal to the CIN that generated it. Refer to the PPC Error Codes for a list of PPC error codes and their descriptions.