Data Logging
To the Controller
Information can be displayed on the VEX controller. This can be ideal for quick checks of variable values.
This method does have drawbacks. There are a limited number of characters on the controller screen and a 50 millisecond delay is required between print calls.
PROS C++ Example:
Additional information on this example
To a microSD Card
The VEX brain has a slot for a microSD card on the side. One way to record data is to create a text file on that microSD card, which can then be removed and inserted into a computer. If the computer does not have a microSD card slot, an adapter will be needed (such as a microSD to USB adapter).
PROS C++ Example:
To the Brain
Information can also be displayed on the brain using LVGL (Littlev Graphics Library). Version 5.3 of LVGL is included with PROS by default. Additional documentation can be found here.
In the following example, an auto-scrolling log screen is created and used on the brain.
Contributing Teams to this Article:
OSRC1 (Dam Robotics)