Omega DAQP-208, 208H, 308 user manual Flush scan list command

Page 51

5.2.6 Command Register (base + 7)

The command register is used for sending control commands to the DAQP card including arm/trigger (or start A/D), scan list queue and data FIFO flush, stop A/D and timer/counter latch commands. It also sets the data program/access mode for the data FIFO. The command bits (bit 3 to 7) are actually ‘monostable’ or self-clearing after the specified command function is completed and do not require clearing. Although it is possible, sending multiple commands in one I/O instruction is not recommended.

The data FIFO program/access bit and the scan speed selection bits are latched each time they are written. The user must avoid changing these bits accidentally when sending the commands to the DAQP series cards. Bit definition is shown in Table 5-16.

Table 5-16. Command Register Bit Definition

 

Bit

Function

 

Explanation

 

 

 

 

 

 

 

 

 

 

7

Trigger/Arm command

1 = send trigger/arm, 0 = no action

 

 

 

 

 

 

 

 

 

6

Flush data FIFO command

1

= flush, 0 = no action

 

 

 

 

 

 

 

 

 

5

Flush scan list command

1

= flush, 0 = no action

 

 

 

 

 

 

 

 

4

Stop A/D command

1 = stop, 0 = no action

 

 

 

 

 

 

 

 

 

3

Latch timer/counter command

1

= latch, 0 = no action

 

 

 

 

 

 

 

 

2-1

Scan rate selection

00 = 100, 01 = 50, 10 = 25 (kHz)

 

 

 

 

 

 

 

 

0

Data FIFO program/access

1 = data access, 0 = program threshold

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5.2.6.1 Trigger/Arm Command

If the trigger source is internal (software trigger), writing a “1” to bit 7 will send a trigger to the DAQP card and start the A/D conversion process. If the trigger source is external (TTL or analog), writing a “1” to bit 7 will serve as the arm command. The arm command tells the DAQP card to look for the specified external trigger edge from the moment the command is received. Never issue the arm command and the A/D stop command simultaneously. The arm command initiates data acquisition and the A/D stop command terminates it.

5.2.6.2 Flush Scan List Queue Command

The scan list queue must be flushed before it can be programmed. This command should be issued before the flush data FIFO command. The queue may have up to 2048 word entries, each containing two bytes. It is the user’s responsibility to guarantee the integrity of the entries.

DAQP-208/208H/308 Users Manual

51

Image 51
Contents Type II Pcmcia Data Acquisition Adapter s DAQP-208/208H/308WARRANTY/DISCLAIMER Servicing North America For immediate technical or application assistanceServicing Europe Page Page Table of Contents Page List of Figures and Tables Daqp Series Card Output ConnectorIntroduction 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 GND DA0 DA1 Field WiringGND CP-DAQPA Cable AssemblyDaqp Series Card Cable Mapping UIO-37 Terminal Block UIO-37 Screw Terminal BlockTheory of Operation DC/DC Power SupplyProgrammable Gain Control Amplifier Analog Input MultiplexerScan List Register Trigger Circuit A/D Converter and Data Fifo Digital I/O Interrupt and StatusFifo A/D State Machine10 D/A Circuit Timer/CounterPage Pcmcia Interface O RegistersSreset 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