DO_7300A_Config | ![]() ![]() ![]() ![]() |
DO_7300A_Config
@ Description
Informs PCIS-DASK library of the trigger source, port width, etc. selected for PCI7300A Rev.A/cPCI7300A Rev.A card with card ID CardNumber. You must call this function before calling function to perform continuous digital output operation.
@ Cards Support
7300A Rev.A
@ Syntax
I16 DO_7300A_Config (U16 CardNumber, U16 PortWidth, U16 TrigSource, U16 WaitStatus, U16 Terminator, U16 O_REQ_Pol)
@ Parameter
CardNumber : The
card id of the card that want to perform this operation.
PortWidth : The
width of digital output port (PORT B). The valid value is 0, 8, 16, or
32.
TrigSource : The
trigger mode for continuous digital output.
Valid values:
TRIG_INT_PACER: on-board programmable pacer timer1
TRIG_CLK_10MHz: 10MHz clock
TRIG_CLK_20MHz: 20MHz clock
TRIG_HANDSHAKE: handshaking mode
WaitStatus : DO
Wait Status, the valid values are:
P7300_WAIT_NO : digital output starts immediately
P7300_WAIT_TRG : digital output waits rising or falling edge of O_TRG to
start
P7300_WAIT_FIFO : delay output data until FIFO is not almost empty
P7300_WAIT_BOTH : delay output data until O_TRG active and FIFO is not
almost empty
Terminator : PortB
Terminator On/Off, the valid values are:
P7300_TERM_ON : terminator on
P7300_TERM_OFF : terminator off
O_REQ_Pol : O_REQ
Polarity. This function is not implemented on PCI-7300A Rev.A card. You
can ignore this argument.
@ Return Code
NoError, ErrorInvalidCardNumber,
ErrorCardNotRegistered, ErrorFuncNotSupport