GDSX (Extended General Device Support) Manual

Contents
Extended General Device Support (GDSX) Manual—529931-001
vi
5. DEVICE^HANDLER Example, Design
Running a Second Application Process 4-11
Stopping the First Application and GDSX 4-13
5. DEVICE^HANDLER Example, Design
Environment of an Executing DEVICE^HANDLER Task 5-1
Task I/O Calls 5-2
Basic Structure of DEVICE^HANDLER Code 5-6
USKELEX Example Code 5-7
The DEVICE^HANDLER Procedure 5-9
Inspecting the DEVICE^HANDLER Example 5-14
Device Control Blocks 5-15
Task Control Blocks 5-17
I/O Control Blocks 5-18
The USER^STOP Procedure 5-19
Fault-Tolerance Processing 5-19
Testing Failure at a ^WRITEREAD 5-20
Testing Failure at a ^WRITE 5-23
6. LINE^HANDLER Example, Running and Managing
Running the LINE^HANDLER Example 6-2
Preconfiguring the LINE and Subdevices 6-2
Running an Application Process 6-4
Running More Application Processes 6-5
7. LINE^HANDLER Example, Design
Environment of an Executing LINE^HANDLER Task 7-1
Intertask Communication—LINE^HANDLER Perspective 7-3
Transaction Flow
7-7
Basic Structure of LINE^HANDLER Code
7-10
E^ITC 7-12
E^IOC 7-12
E^CAN 7-12
E^STOP 7-13
LINE^HANDLER Example Code 7-13
LINE^HANDLER Procedure 7-13
Other Procedure Declarations 7-20
Inspecting the LINE^HANDLER Example 7-20
Line Control Blocks 7-22
The Task Control Block 7-22
The IOCB 7-23