Unfortunately there is currently no way to save a datalog file on the Cortex; you can, however, display the required values to the Debug Stream window using the
Debug Stream commands;even if the robot is not hooked up to a computer, it will store the debug stream values in volatile memory and populate the Debug Stream debugger window once the robot is reconnected to a computer. The text can then be copied over to a text file or spreadsheet for further analysis.
For instance, let's assume you would like to check and write the values of 'sensor1' to the debug stream:
This will check the value of sensor1 and write its decimal value to the Debug Stream.
_________________Check out our
Blog! And our
Facebook page!
Need help? Take a look at our
Wiki and our
Forums.I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe? ~ Carly Rae Jepsen parody