Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91781

Forum Post: GUI data display

$
0
0

Hello,

I'm trying to develop a GUI in CCS. The sampling frequency of my program is 2kHz and the variables that I want to display are sinusoidal signals in the range 0-100Hz. At the beginning I tried to use LineGraph widgets with arrays of 128 elements and it worked partially, but since I need to display 10 signals the memory in the target device is not efficiently used (actually it ran out of memory). Also, I was not able to display enough periods of the sinusoidal signals.  Then I was thinking to use ScalarLine Graph widgets but because the refreshing time of the GUI is 1s (or up to 200ms by using the solution in  http://processors.wiki.ti.com/index.php/GUI_Composer/Debugger_Refresh_Rate) the data is not properly displayed. As far as I understand is because the GUI refresh the data each 200ms and the sinusoidal signals look more like random numbers. So I was thinking if there is a way to send data from the target to the GUI at higher rates (some kHz), maybe store that data in a buffer or variable in the host computer or host GUI and then read and display that computer stored variable on the GUI.

I have not set up any particular communication protocol between the computer and the target, only the default configuration via the Texas Instruments XDS100v2 USB Emulator. My target device is a F28377D dual core  device.

Any suggestion and/or advice is more than welcome since I'm not an expert on MCUs 

Many thanks in advance.

Regards,

Danilo


Viewing all articles
Browse latest Browse all 91781

Trending Articles