Use the Bluetooth interface to connect to devices over the Bluetooth interface and to transmit and receive ASCII and binary data. The toolbox supports the Bluetooth Serial Port Profile (SPP). You can identify any SPP Bluetooth device and establish a two-way connection with that device.
To communicate with instruments, you need to use an external adaptor, such as a USB adaptor that you plug into the computer, or a built-in adaptor, such as the ones that are included in some laptop computers. For more information, see Configuring Bluetooth Communication.
|Create Bluetooth object|
|Connect interface object to instrument|
|Disconnect interface object from instrument|
|Write text to instrument|
|Read binary data from instrument|
|Read data from instrument, and format as text|
|Write binary data to instrument|
|Read line of text from instrument and discard terminator|
|Read line of text from instrument and include terminator|
|Remove data from input buffer|
|Remove data from output buffer|
|Read binblock data from instrument|
|Write binblock data to instrument|
|Write text to instrument, and read data from instrument|
|Read data asynchronously from instrument|
|Stop asynchronous read and write operations|
|Read data from instrument, format as text, and parse|
|Instrument object properties|
|Configure or display instrument object properties|
|Display instrument object summary information|
|Information about available hardware|
|Class method names and descriptions|
|Record data and event information to file|
|Remove instrument objects from MATLAB workspace|
|Remove instrument objects from memory|
|Display event information when event occurs|
|Read instrument objects from memory to MATLAB workspace|
|Find visible and hidden instrument objects|
|Help for instrument object type, function, or property|
|Define and retrieve commands that identify instruments|
|Define notification for instrument events|
|Disconnect and delete all instrument objects|
|Open Property Inspector|
|Determine whether instrument objects are valid|
|Length of instrument object array|
|Load instrument objects and variables into MATLAB workspace|
|Convert instrument object to MATLAB code|
|Instrument object property information|
|Save instrument objects and variables to MAT-file|
|Size of instrument object array|
Instrument Control Toolbox™ can communicate with Bluetooth devices via an adaptor. You can discover your devices and view their properties.
You can read and write both text data (ASCII based) and binary data over the Bluetooth interface.
You can enhance the power and flexibility of your instrument communication by using events and callbacks.
The Bluetooth interface is supported for use in the Test & Measurement Tool, and includes the same functionality that is available in the core toolbox.
The Instrument Control Toolbox Bluetooth interface lets you connect to devices over the Bluetooth interface and to transmit and receive ASCII and binary data.
These tips and guidelines may be relevant to your use of the Bluetooth interface.
These properties are available in the toolbox.
Try these tips if you have problems using the toolbox with the Bluetooth interface. Includes information about Bluetooth supported platforms, adaptor requirements, configuration and connection, and other interface-specific tips.