MATES / Modular Automatic Test Equipment System API  2.5.0.0
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_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++;
}
return (success == 2 ? 0 : -1);
}
else
{
return (0);
}
}