Programming; Using Ome-A-822Pgl - Omega Engineering OME-DB-889D User Manual

16-channel analog multiplexer board
Table of Contents

Advertisement

5 Programming

The OME-A-82x series multi-function card can support up to 160 channels by
cascading 10 OME-DB-889D's without complex programming.

5.1 Using OME-A-822PGL

This section will use OME-A-822PGL to link OME-DB-889D.
The major steps are listed below:
Step 1: Hardware installing.
Turn off power of computer.
1.
Plug in OME-A-822PGL then connect 37 pin cable & 20 pin flat cables to CN1
2.
and CN3 of OME-DB-889D.
Setup OME-DB-889D (Ref. Jumper setting section of OME-DB-889D. The
3.
example program uses default setup )
Connect your signal wiring.
4.
Turn on your computer power.
5.
Installing OME-A-822PGL C library.
6.
Now you are ready to programming.
7.
Step 2: Software programming (C Language)
Using OME-A-822 library function to initial OME-A-822PGL
1.
Setup OME-A-822PGL: Bipolar mode , Gain = 1 , Analog input channel = 0 ,
2.
Trigger mode = Polling mode.
Send digital output of OME-A-822PGL data to control OME-DB-889D
3.
D0~D3: OME-DB-889D channel selection, D4~D6: OME-DB-889D Gain setting
Reading OME-A-822PGL analog input data
4.
Conversion data to voltage or temperature
5.
Note:
The OME-A-82X series programming steps are same as those for the
OME-A-822PGL
OME-DB-889D User's Manual
20

Advertisement

Table of Contents
loading

Table of Contents