MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_17.c
#include <stdio.h>
#include "mates.h"
int main(void)
{
MATES_HANDLE h = mates_open("proxy.mon", 1);
int fir;
/* Get firmware major version. */
{
printf("Major firmware version: %d\n", (fir >> 24) & 0xFF);
}
}