General Form of
the FIFO Data
Retrieval Section
Figure 4-1 shows program flow in the FIFO data retrieval section for a single
HP E1313/E1413. The conditions before entering the data retrieval section are:
–
Signal conditioning is set-up.
–
Channel EU functions are set.
–
Scan list is defined.
–
Instrument initiated (
INITiate
sets the Measuring bit checked in the
first decision block in Figure 4-1).
Comments
•
It is not necessary that the instrument be triggered at this time since the
program will loop waiting for readings to appear in the FIFO buffer.
•
While the instrument is still making measurements (Measuring bit is 1),
the program will stay on the left side of the flow chart.
•
By executing a FIFO status command, the program will determine
when there are enough readings to transfer.
•
When there are enough readings (count depends on which status
FIFO command used), flow will fall through to execute the FIFO
“ bulk data transfer” command.
•
After transferring readings, program flow returns to the decision
block which determines if the instrument has completed all
measurements or is still measuring.
•
If measurements are complete, (Measuring bit is 0), program flow
goes to the right side of the diagram.
•
Here a FIFO status command is executed to determine if there are
any readings remaining in the FIFO.
•
If readings are present, the program executes a FIFO data retrieval
command to transfer the remaining readings.
Figure 4-1. General Form of FIFO Data Retrieval
Chapter 4
Understanding the HP E1313/E1413 103
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com