13#error This is a C++ include file and cannot be used from plain C
21#define ngcdcsB24_ERR_PROTECTION 0x1
57 int VoltageClk(
int num,
int l,
double volt,
int rangeCheck = 1);
60 int VoltageDC(
int num,
double volt,
int rangeCheck = 1);
65 strcpy(
ErrMsg(),
"function not available");
72 strcpy(
ErrMsg(),
"function not available");
86 int Monitor(
int num,
int clkChan);
128 int TelChan(
int chan,
double *volt);
131 int TelDC(
int num,
double *volt);
134 int TelClk(
int num,
int l,
double *volt);
179 int SetupKey(
const char *key,
const int *idx,
const char *value,
183 int StatusKey(
const char *key,
const int *idx,
char *value,
Definition ngcbIFC.hpp:760
virtual int Success()
Return success.
Definition ngcbOBJ.cpp:68
virtual char * ErrMsg()
Error message.
Definition ngcbOBJ.cpp:66
int VStatus(int *s)
Get voltage HW-status.
Definition ngcdcsB24.cpp:363
char * VStatusString()
Get voltage status string.
Definition ngcdcsB24.hpp:83
int TelClk(int num, ngcdcs_clkv_t *cv)
Telemetry for clock (dummy, all levels)
Definition ngcdcsB24.hpp:137
int PreampOffset(double volt)
Preamplifier offset/supply.
Definition ngcdcsB24.cpp:916
int VoltageDC(int num, double volt, int rangeCheck=1)
Bias setup.
Definition ngcdcsB24.cpp:591
int Calibrated()
Check if calibration has been done.
Definition ngcdcsB24.hpp:176
int Disable()
Disable call back.
Definition ngcdcsB24.cpp:199
void ClkMap(ngcdcs_clk_t *cv)
Clock channel mapping.
Definition ngcdcsB24.cpp:388
int Calibrate(int noSetup=0)
Calibrate.
Definition ngcdcsB24.hpp:167
int Enable(int check=1)
Call-back at transition to operational state.
Definition ngcdcsB24.cpp:101
int TelClk(int num, int l, double *volt)
Telemetry for clock level (dummy)
Definition ngcdcsB24.cpp:740
double OffsetDC()
Return offset for DC-biases.
Definition ngcdcsB24.hpp:119
int Monitor(int num, int clkChan)
Clock-monitor dummy function.
Definition ngcdcsB24.cpp:565
double TelCurrent(int chan)
Return value of last current-telemetry.
Definition ngcdcsB24.cpp:771
int VoltageRegClk(int num, int l, int value, int rangeCheck=1)
Direct clock register setup (not applicable)
Definition ngcdcsB24.hpp:70
void DefaultSetup(const char *keyWord=NULL)
Default setup.
Definition ngcdcsB24.cpp:451
int VoltageRegDC(int num, int value, int rangeCheck=1)
Direct bias register setup (not applicable)
Definition ngcdcsB24.hpp:63
ngcdcsB24(const ngcb_route_t &r, int nb)
Constructor with route and number of biases.
Definition ngcdcsB24.cpp:30
int DiodeBias(double volt)
Diode bias dummy function.
Definition ngcdcsB24.hpp:110
int Snapshot()
Telemetry snapshot.
Definition ngcdcsB24.cpp:820
int SetupKey(const char *key, const int *idx, const char *value, int *status=NULL)
Setup.
Definition ngcdcsB24.cpp:921
int OutputEnable()
Enable output.
Definition ngcdcsB24.cpp:214
int TelDC(int num, double *volt)
Telemetry for DC-bias.
Definition ngcdcsB24.cpp:752
virtual ~ngcdcsB24()
Destructor.
Definition ngcdcsB24.cpp:45
int OffsetClk(double volt)
Clock offset dummy function.
Definition ngcdcsB24.hpp:89
int VoltageClk(int num, int l, double volt, int rangeCheck=1)
Clock setup.
Definition ngcdcsB24.cpp:584
double OffsetClk()
Return offset for clocks.
Definition ngcdcsB24.hpp:116
void ClearCalibration()
Clear calibration.
Definition ngcdcsB24.hpp:173
int Zero()
Set all voltages to zero.
Definition ngcdcsB24.cpp:353
void DcMap(ngcdcs_dc_t *dv)
Bias channel mapping.
Definition ngcdcsB24.cpp:412
int OffsetDC(double volt)
Bias offset dummy function.
Definition ngcdcsB24.hpp:95
int VideoOffset(double *volt)
Video offset dummy function.
Definition ngcdcsB24.hpp:104
int OutputDisable()
Disable output.
Definition ngcdcsB24.cpp:313
int TelIntern(int sel=-1)
Update internal telemetry.
Definition ngcdcsB24.cpp:783
int Protection(int flag)
Enable/disable protection circuit.
Definition ngcdcsB24.hpp:158
int StatusKey(const char *key, const int *idx, char *value, int *status=NULL)
Status.
Definition ngcdcsB24.cpp:937
int protectionOn
Flag indicating whether protection is enabled.
Definition ngcdcsCLDC.hpp:150
int TelChan()
Return actual telemetry channel.
Definition ngcdcsCldcTel.cpp:81
ngcdcsCLDC(const ngcb_route_t &r, int nc, int nb)
Constructor with route, number of clocks and number of biases.
Definition ngcdcsCLDC.cpp:29
#define ngcbCLDC_MAX_DC
Definition ngcbAddr.h:334
#define ngcbMOD_ERR
Definition ngcbOBJ.hpp:23
#define USE(x)
Definition ngcb.h:29
#define ngcdcsCLDC_DCLK
Definition ngcdcsCLDC.hpp:39
Definition ngcbIFC.hpp:78
Definition ngcdcsCLDC.hpp:104
Definition ngcdcsCLDC.hpp:115
double volt[ngcdcsCLDC_DCLK]
Definition ngcdcsCLDC.hpp:116
Definition ngcdcsCLDC.hpp:64