DO_7200_Config Previous topicNext topicFirst topicLast topic

DO_7200_Config

@ Description

Informs PCIS-DASK library of the trigger source and output mode selected for PCI7200/cPCI-7200 with card ID CardNumber. You must call this function before calling function to perform continuous digital output operation.

@ Cards Support

7200

@ Syntax

I16 DO_7200_Config (U16 CardNumber, U16 TrigSource, U16 OutReqEn, U16 OutTrigSig)

@ Parameter

CardNumber : The card id of the card that want to perform this operation.
TrigSource : The trigger source for continuous digital input.
                   Valid values:
                     TRIG_INT_PACER : on-board Programmable pacer
                     TRIG_HANDSHAKE : handshaking
OutReqEn :
                    OREQ_ENABLE : output REQ is enabled, an O_REQ strobe is generated after output data is strobe
                    OREQ_DISABLE : output REQ is disable
OutTrigSig :
                    OTRIG_HIGH : O_TRIG signal goes high
                    OTRIG_LOW : O_TRIG signal goes low

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport