MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_11.c
#include <stdio.h>
#include "mates.h"
int main(void)
{
MATES_HANDLE h = mates_open("proxy.mon", 1);
int success = 0;
double val;
{
return (0);
}
/* Set output to 1.0 V. */
{
success++;
printf("Successfully set DAC voltage value\n");
}
{
success++;
printf("Successfully get DAC voltage value\n");
}
if (val == 1.0)
{
success++;
}
return ((success == 3) ? 0 : -1);
}