EasyManua.ls Logo

Texas Instruments TINSPIRE User Manual

Texas Instruments TINSPIRE
876 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #713 background imageLoading...
Page #713 background image
Programming 701
Debugging programs and handling errors
After you write a function or program, you can use several techniques to
find and correct errors. You can also build an error-handling command
into the function or program itself.
If your function or program allows the user to select from several
options, be sure to run it and test each option.
Techniques for debugging
Run-time error messages can locate syntax errors but not errors in
program logic. The following techniques may be useful.
Temporarily insert
Disp commands to display the values of critical
variables.
To confirm that a loop is executed the correct number of times, use
Disp to display the counter variable or the values in the conditional
test.
To confirm that a subroutine is executed, use Disp to display
messages such as “Entering subroutine” and “Exiting subroutine” at
the beginning and end of the subroutine.
To stop a program or function manually,
Windows®: Hold down the
F12 key and press Enter repeatedly.
Macintosh®: Hold down the
F5 key and press Enter repeatedly.
Handheld: Hold down the c key and press · repeatedly.
Error-handling commands
Command Description
Try...EndTry
Defines a block that lets a function or program execute
a command and, if necessary, recover from an error
generated by that command.
Clears the error status and sets system variable to zero.
For an example of using , see the command in the
Reference Guide
.
PassErr
Passes an error to the next level of the Try...EndTry
block.

Table of Contents

Other manuals for Texas Instruments TINSPIRE

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TINSPIRE and is the answer not in the manual?

Texas Instruments TINSPIRE Specifications

General IconGeneral
ModelTI-Nspire
Resolution320 x 240 pixels
Operating SystemTI-Nspire OS
DisplayLCD
Screen Size3.2 inches
Color Depth16-bit
Battery4 AAA batteries
ConnectivityUSB

Summary

TI-Nspire™ Navigator™ Teacher Software Guidebook

Setting up the TI-Nspire™ Navigator™ Teacher Software

Installing the handheld software

Ensures the latest operating system is installed on handhelds for proper software function and guides the installation process.

Creating and managing your teacher account

Explains how to create a teacher account in Teacher Preferences to log in to the TI-Nspire™ Navigator™ network from a handheld.

Logging in to the TI-Nspire™ Navigator™ system from the handheld

Guides users on how to log in to the TI-Nspire™ Navigator™ network from their handheld for system communication.

Getting started with the TI-Nspire™ Navigator™ Teacher Software

Using the Documents Workspace

Using the Class Workspace

Beginning and ending a class session

Guides users on starting, pausing, resuming, and ending a class session for communication with selected classes.

Using Live Presenter

Starting Live Presenter

Provides instructions on how to start Live Presenter by selecting a student or the teacher handheld.

Recording the live presentation

Guides users on how to record and save the live presentation as a movie file (.avi).

Using Question in the Teacher Software

Polling students

Using the Scratchpad

Calculating with the Scratchpad

Details how to enter and evaluate math expressions, control result format, and use the Catalog for inserting functions and symbols.

Graphing with the Scratchpad

Guides users on how to graph functions, scatter plots, and sequences, including choosing graph types and using the entry line.

Calculator

Entering and evaluating math expressions

Details how to enter simple math expressions, control result format, and use the Catalog for inserting functions and symbols.

Using Variables

Creating variables

Guides users on how any portion or attribute of an object or function can be stored as a variable.

Graphs & Geometry

Using Lists & Spreadsheet

Using Data & Statistics

Programming

Overview of the Program Editor

Introduces the Program Editor for defining, editing, and managing user-defined functions and programs.

Defining a program or function

Guides users on starting a new program or function, defining names, types, and library access.

Data Collection and Analysis

Performing an experiment

Provides an overview of the typical process for performing an experiment, with brief steps and references to detailed sections.

Using advanced data collection options

Covers setting up offline sensors, remote collection units, and triggering for advanced data collection.

Using the TI-SmartView™ emulator

Related product manuals