accessBTC.m

Version 1.1.0.1 (2.77 KB) by Arvind
MATLAB Class to read from and write to Background Telemetry Channels (BTC) used by VisualDSP++
279 Downloads
Updated 1 Sep 2016

View License

Background Telemetry Channel (BTC) is a capability within Analog Devices VisualDSP++ IDE tool that let's engineers stream live data between their application running on the DSP (or a simulator) and VisualDSP++ (along with other PC applications).
By taking advantage of the COM interface in MATLAB, you can directly stream data to and fro between MATLAB and VisualDSP++, using the attached MATLAB Class file accessBTC.m.
The basic steps of using this file are as follows:
1. Instantiate the class:
>> btc = accessBTC; % create object
2. Initialize the object.
>> btc.initialize;

3. Read and write data
>> outdata = btc.read(channelNum, width); % width can be 8, 16 or 32
>> outdata = btc.write(channelNum, value); % Value has to be INT8, INT16 or INT32 data types in MATLAB.

Cite As

Arvind (2024). accessBTC.m (https://www.mathworks.com/matlabcentral/fileexchange/46934-accessbtc-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Analog Input and Output in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

Updated to include copyright instructions as requested in the e-mail.