DI_ContMultiBufferStart | ![]() ![]() ![]() ![]() |
DI_ContMultiBufferStart
@ Description
This function starts multi-buffered functions digital input on the specified digital input port at a rate as close to the rate you specified.
@ Cards Support
7300A
@ Syntax
I16 DI_ContMultiBufferStart (U16 CardNumber, U16 Port, F64 SampleRate)
@ Parameter
CardNumber : The
card id of the card that want to perform this operation.
Port : Digital input port number. For PCI-7300A/cPCI-7300A, this argument must be set to 0.
SampleRate : The sampling rate you want for digital input in hertz (samples per second). Your maximum rate depends on the card type and your computer system. This argument is only useful if DI trigger mode was set as internal programmable pacer (TRIG_INT_PACER) by calling DI_7300A_Config() or DI_7300B_Config().
@ Return Code
NoError, ErrorInvalidCardNumber,
ErrorCardNotRegistered, ErrorFuncNotSupport, ErrorInvalidChannel, ErrorContIoNotAllowed