MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_30.c
#include <stdio.h>
#include "mates.h"
int main(void)
{
MATES_HANDLE h = mates_open("proxy.mon", 1);
int success = 0;
/* Check if node is present. */
{
return (0);
}
/* Set value of output OUT01. */
{
success++;
}
/* Now save the new value as default. */
{
success++;
}
/* Repeat with default value of 0. */
{
success++;
}
{
success++;
}
return ((success == 4) ? 0 : -1);
}