/
MATES
/ Modular Automatic Test Equipment System API
2.5.0.0
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
mates_test_40.c
#include <stdio.h>
#include "
mates.h
"
int
main(
void
)
{
int
success = 0;
MATES_HANDLE
h =
mates_open
(
"proxy.mon"
, 1);
if
(
mates_discover_single_node
(h,
mates_ucc_mk1_1
) ==
UOS_STATUS_OK
)
{
if
(
mates_alcd_write
(h,
mates_ucc_mk1_1
, 0, 0,
"Hello World!"
) ==
UOS_STATUS_OK
)
{
success++;
}
if
(
mates_alcd_write
(h,
mates_ucc_mk1_1
, 1, 0,
"MATES LCD"
) ==
UOS_STATUS_OK
)
{
success++;
}
mates_close
(h);
return
(success == 2 ? 0 : -1);
}
else
{
return
(0);
}
}