
Software
R&S
®
TS-PSAM
29
User Manual 1142.9878.12 ─ 12
Figure 7-1: Soft PanelR&S TS-PSAM
7.3
Programming Example
7.3.1
Programming with Device Driver
This example shows the use of the DCS and MU components. Furthermore, the appli-
cation of the resistance measurement function with the DMM channels is shown in a
second test case. In this example, the device under test is connected with the front
connector of the TS-PSAM module. The bus coupling relays are not closed.
/* Example using driver functions */
#include <utility.h>
#include <ansi_c.h>
#include "rspsam.h"
/* adapt the resource descriptor to your test system! */
static char resDesc[] = "PXI6::10::INSTR";
static ViStatus sta;
static ViSession vi;
/* prototypes */
static void chk ( char * funcName );
Programming Example