Interfacing to Diagnostic Drivers
Overview
The network device contains routines to UNJAM the device and to
run self-test routines, system test routines, console routines, and
a shared diagnostic driver routine. Figure 2–9 shows how these
pieces of code relate to each other.
Figure 2–9 Diagnostic Driver Console Support
LJ-01820-TI0
Model
90
Console
Class
(Driver Description)
NI
Self-Test
(Driver Descriptor)
NI
System Test
(Driver Descriptor)
NI
Diagnostic
Driver
NI
Utilities
(Driver Descriptor)
User application performs console input/output to the network by
calling the console code, which calls the network diagnostic driver.
The console, self test, system test, and UNJAM routines interface
to the diagnostic driver in similar ways. All diagnostic routines,
utilities, and console routines do the following:
Allocate memory for the driver data area.
Allocate memory for the diagnostic function block or console
function block.
Continued on next page
2–29