Specifications

MDR User Guide 51
• MDR_DISK_GROUP_DISCONNECT_CLIENT ||
MDR_DISK_GROUP_DISCONNECT_SERVER
: Both MDR Client and Server shall be
disconnected from the disk group.
Returned value:
OK or ERROR.
If ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for
MDR
errno values.
DisconnectFromServer
Declaration:
STATUS DisconnectFromServer (void);
Description: Disconnect from the MDR server.
This function shuts down the session with the MDR server and puts the
MDR_CLIENT
object back into the initial state.
Returned value:
OK or ERROR.
If
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for
MDR errno values.
DiskSpeedTest
Syntax:
STATUS DiskSpeedTest (UINT RecordingNo,
UINT * TransferRate);
Description: Test the recording speed of the MDR system.
The number of the recording to test the MDR recording speed on is given by the
<RecordingNo> argument.
<TransferRate> represents the recording rate (in bytes per second) reached by the
MDR system.
Returned value:
OK or ERROR.
If
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for
MDR errno values.
FormatDisk
Declaration:
STATUS FormatDisk (DISK_INFO * DiskInfoTbl,
UINT DiskInfoTblSize);
Description: Format one or several disks
The list of disks to be formatted is specified using their information. Disk information
can be retrieved using the
Scan function.
The
DiskInfoTbl parameter is an array of disk information representing the disks to
format. The number of disks to format is specified using the
DiskInfoTblSize parame-
ter.
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










