emcGetHighTension
NAME
emcGetHighTension - Retrieve current high
tension value
SYNOPSIS
#include "emc.h"
int emcGetHighTension(EM *em, int units, double *ht);
DESCRIPTION
emcGetHighTension() retrieves the current
high tension value.
- *em
- points to an
EM control and communications structure that
was returned by the emcOpen() call.
- units
- the units the retrieved values should be expressed in:
UNCALIBRATED_UNITS |
Native high tension units of instrument |
KVOLT_UNITS |
Kilovolts |
- *ht
- points to where the high tension value should be stored
DIAGNOSTICS
EMC_OK (0) |
Success |
EMC_ERROR (-1) |
Error |
EMC_BADUNITS (-101) |
Invalid units specified for this request |
EMC_NULLPTR (-111) |
Unexpected NULL pointer encountered |
Page 36 of 54 