I am trying to implement a simple GUI Composer timestamp function but have been unsuccessful. I am collecting data from sensors and plotting that data using the scalar line graph with no problems. I have text boxes displaying the values being plotted and that all works as expected. I'm trying to add a textbox for displaying the time that a particular value is plotted. I have created a simple Javascript function that returns the time in hrs:min:sec:msec format. This function works fine and works as expected. I tried binding this function as a preprocessing function for the timestamp textbox. It displays the time correctly when I start collecting data - e.g. 10:34:47:988 . However, I cannot figure out how to get it to update automatically while collecting data. The timestamp never changes. If I click in the text box and modify the value, the value gets updated to the correct time so I know I'm getting the computer clock time continuously. I just can't seem to update the text box. I want to post the timestamp to the textbox whenever my sensor data changes.
Any help or pointers would really be appreciated. I'm sure I'm missing something really simple and fundamental here but just can't see it. Seems like a timestamp would be something needed in a lot of GUI composer applications.
I'm using GUI Composer 6.0.0.0 and Code Composer Studio 6.1 targeting a TM4C123.
Thanks in advance.
Dan
