Omega DAQP-208, 208H, 308 user manual Data Fifo Threshold Setting

Page 42

The threshold should be set to a value from 1 to FIFO size minus 1. (Default is set to 7 at reset or power up). Refer to Table 5-7 for FIFO threshold settings.

Table 5-7. Data FIFO Threshold Setting

 

Threshold

Defaul

Threshold Range

Suggested Value

 

 

 

 

 

t

 

 

 

 

 

 

 

 

 

 

 

Almost Empty

7

Irrelevant

Irrelevant

 

 

 

 

 

 

 

 

 

 

Almost Full

7

1...4095

2048

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mode 1 is FIFO test mode, in which data bytes will be written into the data FIFO and read back from it. The FIFO flags (empty, almost full, and full) will change according to the data bytes available in the data FIFO and the configured threshold.

Mode 2 should be avoided. Data bytes cannot be written into the FIFO under this mode. Bytes read from the FIFO will be the same as in mode 0.

Mode 3 is data transfer mode. Data bytes will be written into the FIFO by the A/D converter. The data byte read from the address is the first available byte in the data FIFO if it is not empty. If the FIFO is empty then the most recent byte written into the FIFO will be returned. The data FIFO register is read-only under this mode.

5.2.1.2 Mode Setting

The FIFO operation mode setting is always initiated by the data FIFO flush command with the access/program bit set to ‘0’ (bit 0 at base + 7) before data acquisition is started. This will set mode 0 (threshold setting mode). After the threshold is programmed or verified, set the bit to ‘1’ so the following read/write operations to the FIFO will be taken as data access operations.

The A/D circuit is in idle mode before it is moved into run mode by a trigger command (or an arm command with pre-trigger). For one-shot operation, the A/D circuit will be set to run mode after it receives the trigger signal. It will not return to idle mode until the specified scan list is completed or an A/D stop command is received. For continuous trigger operation, the A/D circuit will stay in run mode after being triggered (or armed with the pre-trigger option) until an A/D stop command is received.

DAQP-208/208H/308 Users Manual

42

Image 42
Contents DAQP-208/208H/308 Type II Pcmcia Data Acquisition Adapter sWARRANTY/DISCLAIMER Servicing North America For immediate technical or application assistanceServicing Europe Page Page Table of Contents Page Daqp Series Card Output Connector List of Figures and TablesIntroduction Hardware Configuration and Initial Setup Page Software Installation Windows NT Page Data Acquisition Software and Drivers DAQPACL.SYS DAQPAEN.EXE Page Device = C\DAQPACL.SYS Device = C\DAQPACL.SYS b300,i5 Page Page Page Device = C\DAQPAEN.EXE S0,r Field Wiring GND DA0 DA1CP-DAQPA Cable Assembly GNDDaqp Series Card Cable Mapping UIO-37 Screw Terminal Block UIO-37 Terminal BlockDC/DC Power Supply Theory of OperationAnalog Input Multiplexer Programmable Gain Control AmplifierScan List Register Trigger Circuit A/D Converter and Data Fifo Interrupt and Status Digital I/OA/D State Machine FifoTimer/Counter 10 D/A CircuitPage O Registers Pcmcia InterfaceSreset Address Map Bit Page Data Fifo Threshold Setting LSB 1080 Select channel 0, gain 2, 1st entry Page Page Page Page Digital input bit External gain select, high bit All Output Flush scan list command High byte of the almost full threshold 15 2K option 18. D/A Data Port Bit Definition Bits Explanation 15-13 19. D/A Update Modes 20. Timer/Counter Modes Page Page Page Specifications TTL DAQP-208/208H/308 Version April 12