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 updated help documentation
and the ROBOTC Forums.