Using the Print Console in VEXcode IQ with Blocks

The Print Console allows the user to display messages, report sensor values, or to present data from VEXcode IQ projects. The Print Console also allows users to save print outputs as a text file.

The Print Console can also be used to display process information, providing visual cues that enable the user to see what is happening in a VEXcode IQ project at a specific moment in time, thereby making a visual connection between the project and the actions of the IQ Robot.

The Print Console needs to have active communication between the VEX IQ (2nd generation) Brain and the device being used with VEXcode IQ. This can be accomplished by:

USB Connection

Screenshot of a VEXcode IQ Blocks tutorial interface, showcasing programming blocks and options for building and controlling VEX IQ robots, aimed at educators and students learning robotics concepts.

Wireless Via Controller

Screenshot of a VEX IQ Blocks tutorial interface, showcasing programming blocks and options for building and controlling robots, aimed at educational purposes for beginners in robotics.

Note: Bluetooth communication is unavailable.


How to Open the Print Console

Diagram illustrating the VEX IQ Robotics platform components and programming concepts, featured in the Blocks Tutorials section of the VEX IQ knowledge base, aimed at educating beginners and enhancing their understanding of robotics.

The Print Console is located in the IQ Monitor Display. To open the Print Console, select the Monitor Display icon next to Help.

Diagram illustrating the VEX IQ Blocks programming interface, showcasing various coding blocks and their functions, aimed at helping educators and students understand programming concepts for robotics projects.

The Monitor Display will open once selected. The Print Console is at the right side.


How to Use the Print Console in a Project

Look and Draw Blocks that Trigger the Print Console

Diagram illustrating the VEX IQ Blocks programming interface, showcasing various programming blocks and their functions, designed to assist educators and students in learning robotics concepts through visual programming.

Specialized Look blocks are used within a VEXcode IQ project in order to trigger the Print Console. These blocks print words, numbers, reported values from variables, a calculation of an operator, or values reported from a sensor or device.

The Help feature in VEXcode IQ provides additional information on these and other programming blocks. See this article for information on how to access the Help feature.

Screenshot of a VEX IQ Blocks tutorial interface, showcasing programming blocks and coding options for building and controlling VEX IQ robots, aimed at educators and students in robotics education.

The [Set pen color] block under the Draw category can also be used in the Print Console by selecting "Console" from the dropdown menu.

Applying Look Blocks with the Print Console

Screenshot of a VEX IQ Blocks tutorial interface, showcasing programming blocks and tools for educational robotics, designed to help beginners learn coding and robotics concepts using the VEX IQ platform.

Use the Look blocks within a project to print a message, or display data in the Print Console.

To use the Print blocks, select the desired Look block and add it to a project. Select "Console" from the dropdown menu.

Note: The 'and set cursor to next row' portion of the block must be enabled for text to appear in the Print Console.

Screenshot of VEXcode IQ Blocks programming interface, showcasing various coding blocks and features for building and programming VEX IQ robots, used in educational tutorials for beginners in robotics.

Download the project to the IQ Robot Brain and Select "Run".

See this article on downloading and running a project. 

Screenshot of VEXcode IQ Blocks programming interface, showcasing various programming blocks used for coding VEX IQ robots, illustrating tools and options available for educational robotics projects.

Once “Run” is selected, the project will run and the colored text or programmed values will be printed to the Print Console as dictated by the VEXcode IQ project.

Applying Draw Blocks with the Print Console

Diagram illustrating the VEX IQ Blocks programming interface, showcasing various coding blocks and their functions for educational robotics projects.

Use the Draw blocks within a project to change the text color in the Print Console.

To use the [Set pen color] block, select the [Set pen color] block and add it to a project.

Select "Console" from the dropdown menu.

Note: The [Set pen color] block is the only Draw block that can be used in the console.

Screenshot of VEXcode IQ Blocks programming interface, showcasing various coding blocks and features for building and programming VEX IQ robots, used in educational tutorials for beginners in robotics.

Download the project to the IQ Robot Brain and Select "Run".

See this article on downloading and running a blocks project. 

Screenshot of a VEX IQ Blocks Tutorial, showcasing programming blocks and their arrangement for educational robotics projects, aimed at beginners and educators in the VEX IQ ecosystem.

Once “Run” is selected, the project will run and the colored text or programmed values will be printed to the Print Console as dictated by the VEXcode IQ project.


Clear Rows in the Print Console

Screenshot of a VEX IQ Blocks tutorial interface, showcasing programming blocks and options for building and controlling VEX IQ robots, designed for educational purposes and beginner robotics enthusiasts.

There are two ways to clear all information from the Print Console. The first way to completely clear all text is to select the “Clear” button on the bottom left of the Print Console.

Screenshot of VEX IQ Blocks Tutorials interface, showcasing various programming blocks and options for building and coding VEX IQ robots, aimed at educators and beginners in robotics.

Another way to clear the Print Console is to use the [Clear all rows] block.

Add the [Clear all rows] block to a project in order to remove all of the lines in the Print Console.

In this project, “Hello” will print on the Print Console. After 3 seconds, all rows will be cleared. Then, “Goodbye” will be printed on the Print Console and clear after 3 seconds.


Save from the Print Console

Screenshot of a VEX IQ Blocks tutorial interface, showcasing programming blocks and coding options for educational robotics projects, aimed at beginners and educators in the VEX IQ ecosystem.

It is easy to save information from the Print Console onto your device. Select “Save” on the bottom of the Print Console to save all text as a .txt file.

Screenshot of a VEX IQ Blocks tutorial interface, showcasing programming blocks and workspace layout for educational robotics projects, aimed at beginners and educators in the VEX IQ community.

Once you select the “Save” button, the file will automatically save to the Downloads folder on your device as a .txt file.

Note: The file does not save the printed colors.


Example Projects Using the Print Console

Report Variable Values and Data in a Project

The Print Console can be used to report variable values at discrete moments within a project. 

Diagram illustrating the VEX IQ Blocks programming interface, showcasing various coding blocks and their functions, designed to assist educators and students in understanding programming concepts for robotics projects.
Diagram illustrating the VEX IQ Blocks programming interface, showcasing various coding blocks and their functions, designed to assist educators and students in learning robotics concepts through visual programming.

Use the Print Console to print the value of “myVariable."

In the project on the left, the Print Console displays variable values when the Brain buttons are pressed. The variable increases when the 'left' button is pressed, and decreases when the 'right' button is pressed. 


Report Sensing Values and Data in a Project

The Print Console can be used to to report sensor data at discrete moments within a project.

Screenshot of a VEX IQ Blocks Tutorial interface, showcasing programming blocks and options for building and controlling VEX IQ robots, aimed at educational purposes for beginners in robotics.
Diagram illustrating the VEX IQ Blocks programming interface, showcasing various programming blocks and their functions, designed to assist educators and students in learning robotics concepts through visual programming.

The data captured by the Print Console allows the user to see valuable information about project processes including IQ Robot sensor information. When the [Print] block is triggered, it can be programmed to display information captured in the moment.

In the project on the left, the Print Console displays information reported by the Inertial Sensor built into the IQ Brain (2nd gen) as prescribed by the Look and Sensing blocks within the project. This information includes changes that the Inertial Sensor captures at discrete moments while the project is running: time in seconds and the rotation of the BaseBot in degrees.

Note: The project in this example uses the BaseBot (Drivetrain, 2-motor) (2nd gen) template.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: