I'm programming a control application. I would like to capture to step response of the controller. Therefore I write the controller answer to an array in each cycle. After stopping the application I can watch the content of the array in the uv2 debbug window but I would like to use this data in matlab. Is there a way to save the content of the array to a file to use it in matlab or any other way to get a trace. Thanks and regards
The uVision LOG command will log command responses (NB: only the responses) to a file. Alternatively, there are plenty of people around with utilities to capture serial data into Windows applications - for all I know, MATLAB might have this facility built in: http://www.8052.com/forum/read.phtml?id=23732&top= Or try here: http://www.windmill.co.uk/rs232.html So all you need to do is get your controller to send the data out of a serial port...