Ciprico Rimfire 3880 Network Card User Manual


 
21020285 D User’s Guide
Chapter 4 Command Operation
Page 4 - 22 Using a Command List Structure
Adding a
Parameter
Block
To add an entry to the Parameter Block array, follow these steps:
1. Compare the Parameter Block IN Index to the OUT Index to be sure the
array is not full.
2. Calculate the offset for the Parameter Block indicated by the Parameter
Block IN Index and build a Parameter Block containing the command
you wish to issue.
3. Increment the Parameter Block IN Index.
4. Write a 1 to the Channel Attention Port.
Removing a
Status Block
To remove an entry from the Status Block array, follow these instructions:
1. Compare the Status Block IN Index with the OUT Index to find out if
the list is empty.
2. Read in the Block indicated by the Status Block OUT Index.
3. Increment the Status Block OUT Index.
Example ‘C’ routines for Command List handling begin on the next page.