accessBTC.m
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.
Cita come
Arvind (2025). accessBTC.m (https://www.mathworks.com/matlabcentral/fileexchange/46934-accessbtc-m), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.