A826_uni5_da, A826_uni10_da, 5 a826_uni5_da 3.3.6 a826_uni10_da – Omega Engineering OME-A826PG User Manual

Page 43

Advertising
background image

OME-A-826PG Software Manual [Win 95/98/NT]

3.3.5 A826_Uni5_DA

Description :

This subroutine will send the 16 bits data to D/A analog output. The output

range of D/A dependent on setting by hardware jumper, JP1 ( -5v or –10v),
JP10/JP11 (Bipolar or Unipolar).
The software can not detect the output range
of D/A converter. This subroutine can be used only when the jumpers settings

are : Unipolar , -5v .

The

output range is between 0.0v and 5.0v.

Please refer

to hardware manual to setting jumpers.

Syntax :

void A826_Uni5_DA(WORD wBase, WORD wChannel, float fValue);

Parameter :

wBase

: [

Input

] I/O port base address, for example, 0x220

wChannel :

[

Input

] D/A channel number, validate for 0

fValue

:

[

Input

] 16 bits data send to D/A converter

Return Value :

void


3.3.6 A826_Uni10_DA

Description :

This subroutine will send the 16 bits data to D/A analog output. The output

range of D/A dependent on setting by hardware jumper, JP1 ( -5v or –10v),
JP10/JP11 (Bipolar or Unipolar).
The software can not detect the output range
of D/A converter. This subroutine can be used only when the jumpers settings
are

: Unipolar , -10v.

The

output range is between 0.0v and 10.0v.

Please

refer to hardware manual to setting jumpers.

Syntax :

void A826_Uni10_DA(WORD wBase, WORD wChannel, float fValue);

Parameter :

wBase

: [

Input

] I/O port base address, for example, 0x220

wChannel :

[

Input

] D/A channel number, validate for 0

fValue

:

[

Input

] 16 bits data send to D/A converter

Return Value :

void

Date: Aug-15-2000 Ver: 2.2 Page 41

Advertising