/
MATES
/ Modular Automatic Test Equipment System API
2.5.0.0
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
mates_test_15.c
#include <stdio.h>
#include "
mates.h
"
int
main(
void
)
{
MATES_HANDLE
h =
mates_open
(
"proxy.mon"
, 1);
float
offset;
/* Get calibration offset for second DAC node, channel 1. */
if
(
mates_get_register_f
(h,
mates_dac5_mk1_2
,
REG_MATES_DAC5_MK1_COF01
, &offset) ==
UOS_STATUS_OK
)
{
printf(
"Successfully got offset voltage: %f V\n"
, offset);
}
mates_close
(h);
}