Using the LI-6400 23-1
23
LPL Topics
Programming with LPL
STACK CONTROL 23-2
Basic Stack Manipulation 23-3
Stack Size, Status, Errors 23-3
CONDITIONALS AND LOOPS 23-4
ARRAY OPERATIONS 23-6
Array SIZE and READY values 23-6
Manipulating Arrays 23-8
Address to Value conversion 23-9
Searching and Comparing Arrays 23-10
Dynamic Allocation 23-10
Using PTR arrays 23-13
MATH FUNCTIONS 23-18
Single Object Transforms 23-20
Two Object Transforms 23-21
Trig Functions 23-23
DISPLAY CONTROL 23-23
Display Size 23-24
Text Windows 23-24
Text and Cursor Attributes 23-26
Manipulating Text 23-28
KEYBOARD CONTROL 23-29
Keyboard Behavior 23-29
Keyboard Codes 23-29
CLOCK 23-31
Real Time 23-32
Time since power on 23-32
EVENT HANDLING 23-33
THE FUNCTION KEYS 23-37
I/O PROGRAMMING 23-39
Paths 23-41
Transferring Data 23-44
I/O Errors 23-45
FILE SYSTEM 23-46
Hierarchical Structure 23-47
Working With Files 23-48
The Trash Directory 23-49
The LI-6400 File System 23-49
MENUS AND EDITORS 23-51
Standard Menus and Editors 23-51
Customized Editors and Menus 23-54
GRAPHICS 23-56
Windows and Coordinates 23-58
Drawing and Labelling 23-59
Graphics Image Handling 23-64
RS-232 COMMUNICATIONS 23-64
ANALOG MEASUREMENTS 23-66
Groups and Channels 23-66
Setting It Up 23-67
An Example 23-70
LI-6400 Analog Channels 23-71
ANALOG OUTPUT CONTROL (D/A) 23-73
Hardware Considerations 23-73
An Example 23-74
DIGITAL I/O 23-75
Ports and Pins 23-75
Low Speed Counters 23-76
High Speed Counter 23-76
Digital Errors 23-77
APPLICATION TOOLS 23-78
Running Applications 23-79
Debugger 23-80
BATTERY AND POWER 23-82