MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_07.c
#include <stdio.h>
#include "mates.h"
int main(void)
{
MATES_HANDLE h = mates_open("proxy.mon", 1);
int success = 0;
int value;
/* Check if node is present. */
{
return (0);
}
{
success++;
printf("Channel #40 is set to: %d\n", value);
}
{
success++;
printf("Successfully toggled output\n");
}
return ((success == 2) ? 0 : -1);
}