MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_23.c
#include <stdio.h>
#include "mates.h"
int main(void)
{
MATES_HANDLE h = mates_open("proxy.mon", 1);
int success = 0;
int value = 0;
/* Check if node is present. */
{
return (0);
}
/* Get the values of all digital inputs. */
{
success++;
printf("Successfully got all inputs: 0x%X\n", value);
}
return ((success == 1) ? 0 : -1);
}