
5.10 d64h_continue_writeport
VC6
short d64h_continue_writeport (BYTE bCardID, void *pBuffer, U32 dwSampleCount, U16
wIterations , F64* pSampleRate, U16 wSyncMode)
VB6
d64h_continue_writeport (ByVal bCardID As Byte, pBuffer As Any, ByVal dwSampleCount As
Long, ByVal wIterations As Integer, ByRef pSampleRate As Double, ByVal wSyncMode As
Integer) As Integer
Description:
This function starts the continuous digital-input. The 32-bit acquisition data will be recorded into
driver buffer continuously. If the digital-data is needed to be output repeatedly, please call
d64h_do_async_dblbuf_mode() and enable double-buffer mode.
Parameters:
bCardID: The specific Card ID that is configured with the on-board Dip-Switch.
pBuffer: The address of user-provided DO buffer.
dwSampleCount: The samples of each acquisition.
wIterations: This parameter is reserved for future use.
pSampleRate: The pointer to the address that stores sampling-rate. This call-by-reference parameter
passes the desired sampling-rate to library; and stores the actual sampling-rate when
this function returns. ( 0.001
≦
valid sampling-rate
≦
10,000,000 )
wSyncMode : The digital-output operation mode, SYNCH_OP or ASYNCH_OP.
Return Code:
SUCCESS_NO_ERROR: The function returns successfully.
ERROR_INVALID_CARD_ID: There is no active PCI-D64HU card configured with bCardID, or the
given Card ID is invalid (for instance, Card ID is assigned to 254).
ERROR_SAMPLE_COUNT_TOO_LARGE: Indicates the value of
dwSampleCount
is larger than
the DI buffer in driver.
ERROR_INVALID_SAMPLE_RATE: Indicates the invalid value is assigned to address that
parameter
pSampleRate
point to.
ERROR_SYNCH_OP_WITH_DOUBLE_BUFFER_MODE: Indicates the digital-outut is configured as
double-buffer mode, and the SYCNH_OP setting is conflict with this mode. Please call
d64h_do_async_dblbuf_mode() to change the operation mode.
PCI-D64HU Function Reference Version
37
Summary of Contents for PCI-D64HU
Page 5: ...PCI D64HU User s Manual Ver 1 0 Dec 2009 5 1 4 Block Diagram...
Page 17: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...
Page 69: ...PCI D64HU Function Reference Version 53...
Page 73: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...