Guardian Programmer's Guide

Table Of Contents
Contents
Guardian Programmer’s Guide421922-014
vi
7. Using DEFINEs (continued)
7. Using DEFINEs (continued)
DEFINE Attributes 7-8
Attribute Data Types 7-8
Attribute Values 7-9
CLASS Attribute 7-9
Working With DEFINEs 7-10
Enabling DEFINEs 7-10
Referring to DEFINEs 7-11
Adding DEFINEs 7-11
Setting Attributes in the Working Set 7-12
Checking the Working Set for Errors 7-13
Adding a DEFINE to the Context of Your Process 7-14
Deleting DEFINEs From the Process Context 7-15
Saving and Restoring DEFINEs 7-15
Saving and Restoring the Working Set 7-16
Using DEFINEs: An Example 7-17
8. Communicating With a TACL Process
Setting Up the Process Environment 8-1
Obtaining Startup Information 8-3
Using INITIALIZER to Read the Startup Message 8-6
Processing the Startup Message 8-6
Using ASSIGNs and PARAMs 8-8
Using INITIALIZER to Read Assign and Param Messages 8-12
Processing Assign Messages 8-12
Processing the Param Message 8-14
Setting a Timeout Value for INITIALIZER 8-16
Reading the Startup Sequence Without INITIALIZER 8-16
Waking the TACL Process 8-19
Causing the TACL Process to Display Text 8-20
9. Communicating With Devices
Overview of I/O Subsystem 9-1
Addressing Devices 9-2
Accessing Devices 9-3
Controlling Devices 9-4