![Rohde & Schwarz TS-PSAM User Manual Download Page 41](http://html.mh-extra.com/html/rohde-and-schwarz/ts-psam/ts-psam_user-manual_1477883041.webp)
Software
R&S
®
TS-PSAM
39
User Manual 1142.9878.12 ─ 12
&errorOccurred, &errorCode, errorMessage);
cs("ROUTE_Execute");
/* read voltage */
DMM_Read (0, residDmm, 0.1, 1, &result, & resultCount,
&errorOccurred, &errorCode, errorMessage);
cs("DMM_Read");
/* report result */
printf("Result: %.1f Ohm\n", result);
/* disconnect all */
ROUTE_Execute (0, residRoute, "||",
&errorOccurred, &errorCode, errorMessage);
cs("ROUTE_Execute");
/* configure DMM earth free again; default */
DMM_Conf_Ground_Relay (0, residDmm, 0,
&errorOccurred, &errorCode, errorMessage);
cs("DCPWR_Conf_Ground_Relay");
/* select default measurement function */
DMM_Conf_Measurement (0, residDmm, "DC_VOLTS", 200.0,
"AUTO_RANGE_OFF", 1e-3,
&errorOccurred, &errorCode, errorMessage);
cs("DMM_Conf_Measurement");
}
Programming Example