MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_27.c
#include <stdio.h>
#include "mates.h"
int main(void)
{
char buf[0x200];
int success = 0;
MATES_HANDLE h = mates_open("proxy.mon", 1);
/* Check if node is present. */
{
return (0);
}
if (mates_node_info(h, 20, buf, sizeof(buf)) == UOS_STATUS_OK)
{
success++;
printf("Found node #20:\n");
printf(buf);
}
else
{
}
return ((success == 1) ? 0 : -1);
}