Specifications

MDR User Guide  59 
SelfTest 
Declaration: 
STATUS SelfTest (char * Command); 
Description:  Check the data integrity of the MDR disk subsystem. 
Checks the data integrity of the MDR disks area specified by the user. 
The 
Command parameter represents the MDR Shell selftest command. For more 
information, please refer to the MDR Shell command. 
Returned value: 
OK or ERROR. 
If 
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for 
MDR errno values. 
SetRecordingInfo 
Declaration: 
STATUS SetRecordingInfo (RECORDING * Recording); 
Description:  Set information to a recording. 
This function requests to set the current recording information as specified in the 
RECORDING structure pointed to by Recording. 
Returned value: 
OK or ERROR. 
If 
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for 
MDR errno values. 
SetRecTableInfo 
Declaration: 
STATUS SetRecTableInfo (REC_TABLE_INFO * RecTableInfo); 
Description:  Set the recording table information. 
This function sets the recording table information as specified in the 
REC_TABLE_INFO 
structure pointed to by the RecTableInfo parameter. 
Not all parameters in the 
REC_TABLE_INFO can be changed. The parameter 
CurrentRecording can be changed so that the current recording is set to any of the 
recordings present in the recording table. 
Returned value: 
OK or ERROR. 
If 
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for 
MDR 
errno values. 
StartTransfer 
Declaration: 
STATUS StartTransfer (MDR_TRANSFER_ID * TransferId = NULL); 
Description:  Start a transfer. 
This function requests the MDR server to start the transfer specified by TransferId. 
Returned value: OK or ERROR. 
If 
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for 
MDR 
errno values. 
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










