3 _7260_do, Description, Syntax – ADLINK PCI-7260 User Manual

Page 47: Argument, Return code, 7260_do, Description @ syntax @ argument @ return code

Advertising
background image

C/C++ DOS Libraries

37

5.3 _7260_DO

@ Description

This function is used to write data to digital output port which can
energize the Non-latching relay coils. You can control all 8
RELAYs through _7260_DO by using this function. Althought the
register map of latching relays is 32 bit width, we use 8-bit access
to control the non-latching relay through this function. Bit ‘1’ repre-
sent the RESET condition, and Bit ‘0’ represent the SET condition.

@ Syntax

U16 _7260_DO (U16 boardID, U16 doData)

@ Argument

boardID: Board ID to the specific borad.

doData: value which will be written to digital output port.

@ Return Code

ERR_NoError, ERR_BoardNoInit

Advertising