MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_41.c
#include <stdio.h>
#include "mates.h"
static char *conf = \
"<?xml version=\"1.0\" encoding=\"utf-8\"?>"
"<uOS_monitor_configuration>"
" <local_address>1</local_address>"
" <named_pipe map=\"1\">"
" <name>\\\\RAKIETA\\pipe\\MATES_PROXY_PIPE</name>"
" <timeout>5000</timeout>"
" </named_pipe>"
"</uOS_monitor_configuration>";
int main(void)
{
int success = 0;
char buf[0x200];
int node = mates_ucc_mk1_1;
{
if (mates_node_info(h, node, buf, sizeof(buf)) == UOS_STATUS_OK)
{
success++;
printf("Found node #%d:\n", node);
printf("%s\n", buf);
}
else
{
}
return (success == 1 ? 0 : -1);
}
else
{
return (0);
}
}