Owning Palette: Bluetooth VIs and Functions
Requires: Base Development System (Windows)
Reads the number of bytes from a Bluetooth network connection and returns the results in data out.
|mode indicates the behavior of the read operation.
|connection ID is a network connection refnum that uniquely identifies the Bluetooth connection.|
|bytes to read is the number of bytes to read. Use one of the following techniques to handle messages that might vary in size:
|timeout ms specifies the time, in milliseconds, that the function waits for the connection. The default is 25,000 ms. A value of –1 indicates to wait indefinitely.|
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
|connection ID out returns the same value as connection ID.|
|data out contains the data the function read from the Bluetooth connection.|
|error out contains error information. This output provides standard error out functionality.|
Refer to the following VIs for examples of using the Bluetooth Read function: