AI_9111_Config Previous topicNext topicFirst topicLast topic

AI_9111_Config

@ Description

Informs PCIS-DASK library of the trigger source and trigger mode selected for the PCI-9111 card with card ID CardNumber. You must call this function before calling function to perform continuous analog input operation.

@ Cards Support

9111

@ Syntax

I16 AI_9111_Config (U16 CardNumber, U16 TrigSource, U16 PreTrgEn, U16 TraceCnt)

@ Parameter

CardNumber : The card id of the card that want to perform this operation.
TrigSource : The continuous A/D conversion trigger source.
                   Valid values:
                     TRIG_INT_PACER: on-board Programmable pacer
                     TRIG_EXT_STROBE: external signal trigger
PreTrgEn: Enable or Disable Pre-Trigger mode.
                     TRUE: Enable Pre-Trigger mode
                     FALSE: Disable Pre-Trigger mode
TraceCnt: The number of data will be accessed after a specific trigger event.

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport