Specifications

68 MDR User Guide
9.2.4 MDR API
As for the transfer type, the transfer mode is selected when calling the PrepareTrans-
fer
function in the MDR API. The field Infinite of the MDR_TRANSFER structure is
used to specify the transfer mode.
At API level, a record or playback are transfers. Before being started, a transfer needs to
be prepared using the function:
STATUS PrepareTransfer (MDR_TRANSFER * MdrTransfer,
MDR_TRANSFER_ID * TransferId);
Where MdrTransfer is a structure describing the transfer to be carried out and Trans-
ferId
the transfer identification number used to identify the transfer in future function
calls. The field TransferType of the MDR_TRANSFER structure is used to specify the
transfer type.
When a transfer is prepared, it can be started using the function:
STATUS StartTransfer (MDR_TRANSFER_ID * TransferId);
And stopped using the function:
STATUS StopTransfer (MDR_TRANSFER_ID * TransferId);
The user’s program can also wait for the transfer to complete using the following func-
tion:
STATUS WaitTransfer (MDR_TRANSFER_ID * TransferId);
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










