Herunterladen Inhalt Inhalt Diese Seite drucken

R&S TS-PSAM Bedienhandbuch Seite 38

Inhaltsverzeichnis

Werbung

®
R&S
TS-PSAM
if ( ! errorOccurred )
{
DCPWR_Setup (0, benchName, &residDcpwr,
cs("DCPWR_Setup");
}
if ( ! errorOccurred )
{
DMM_Setup (0, benchName, &residDmm,
cs("DMM_Setup");
}
if ( ! errorOccurred )
{
runDcsTest ( );
runDmmTest ( );
}
/* cleanup libraries */
if (residDmm != RESMGR_INVALID_ID)
{
DMM_Cleanup (0, residDmm, &errorOccurred, &errorCode, errorMessage);
cs("DMM_Cleanup");
}
if (residDcpwr != RESMGR_INVALID_ID)
{
DCPWR_Cleanup (0, residDcpwr, &errorOccurred, &errorCode, errorMessage);
cs("DCPWR_Cleanup");
}
if (residRoute != RESMGR_INVALID_ID)
{
ROUTE_Cleanup (0, residRoute, &errorOccurred, &errorCode, errorMessage);
cs("ROUTE_Cleanup");
}
RESMGR_Cleanup ( 0, &errorOccurred, &errorCode, errorMessage);
cs("RESMGR_Cleanup");
printf("\nPress 'Enter' to terminate\n");
getchar();
return 0;
}
/* FUNCTION ****************************************************************/
/* checks the return status of a library call
Bedienhandbuch 1142.9878.11 ─ 12
&errorOccurred, &errorCode, errorMessage);
&errorOccurred, &errorCode, errorMessage);
Software
Programmierbeispiele
36

Werbung

Inhaltsverzeichnis
loading

Verwandte Produkte für R&S TS-PSAM

Inhaltsverzeichnis