MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_19.c
#include <stdio.h>
#include "mates.h"
int main(void)
{
MATES_HANDLE h = mates_open(NULL, 0);
int i;
int sr;
if (h == NULL)
{
for (i = 0; i < 100; i++)
{
/* Poll the status register. */
{
printf("SR: %u\n", (unsigned)sr);
}
}
}
}