Quantcast
Channel: Simulation, hardware & system design tools forum - Recent Threads
Viewing all articles
Browse latest Browse all 7272

CCS/TIDA-01632: How to show a variable in GUI composer when RTLS running

$
0
0

Part Number: TIDA-01632

Tool/software: Code Composer Studio

I need to develop a GUI application for showing AOA angle realtime in RTLS system, looks like https://training.ti.com/localization-ble

I use 3 TIDA-01632 boards to build a RTLS system, they were seperately flashed with rtls_master, rtls_slave, rtls_passive project in simplelink_cc2640r2_sdk_3_30_00_20 (the projects are modifiied with 1*2 antennas and board file reflect 01632 HW).

First I test the RTLS using simplelink_cc2640r2_sdk_3_30_00_20\tools\blestack\rtls_agent\examples\rtls_example_with_rtls_util.py, the system works normally, the script print logs as expected.

Then I make a simple GUI project in GUI composer online, add an "Angle Display" widget, and bind a new global variable in rtls_master/RTLSCtrl/rtls_ctrl_aoa.c to the widget, this works normally too.

But if I run the GUI application first, waiting until it shows "Hardware Connected", then run the rtls_example_with_rtls_util.py, the GUI will show "Hardware not Connected. Failed to connect to device CC2640R2F" (It seems happen when running "rtlsUtil.reset_devices()" in python script). If I run the python script first, its output will stop and report timeout exception when I running the GUI application.

How can I show a variable in GUI composer when RTLS running?

Best Regards,


Viewing all articles
Browse latest Browse all 7272

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>