|
| | ngcdcsSEQ0 (const ngcb_route_t &r, int nc, int nb) |
| | Constructor with route, number of clocks and number of biases.
|
| |
| | ngcdcsSEQ0 (ngcbIFC *ifc, const ngcb_route_t &r, int nc, int nb) |
| |
| virtual | ~ngcdcsSEQ0 () |
| | Destructor.
|
| |
| virtual int | Selftest () |
| | Selftest.
|
| |
| virtual int | RunCtrl (int flag) |
| | Ebnable/disable external run control.
|
| |
| virtual int | CvtExt (int flag) |
| | Enable/disable external convert.
|
| |
| virtual int | Convert (int strobe, int flag) |
| | Enable/disable convert strobe.
|
| |
| virtual int | SyncExt (int flag) |
| | Enable/disable external SYNC pulse.
|
| |
| virtual int | Start () |
| | Start sequencer.
|
| |
| virtual int | Pause () |
| | Pause sequencer.
|
| |
| virtual int | Stop (int align, int force=0) |
| | Stop sequencer.
|
| |
| virtual int | Align () |
| | Align sequencer control flags.
|
| |
| virtual int | Disarm () |
| | Disable sequencer control flags.
|
| |
| virtual int | Break (int trigger=1) |
| | Stop sequencer at next break-point.
|
| |
| virtual int | BreakTimeout (int force=0) |
| | Compute timeout for break command.
|
| |
| virtual int | Wait (int event, int timeout, int interval) |
| | Poll with timeout until status register matches event.
|
| |
| virtual int | TriggerOn (int flag) |
| | Enable/disable external trigger.
|
| |
| virtual int | TriggerMode (int mode) |
| | Set Trigger mode.
|
| |
| virtual int | Trigger (int armed=1) |
| | Issue trigger command.
|
| |
| virtual int | ClearPrgFile () |
| | Clear program file.
|
| |
| virtual int | LoadPrgFile (const char *fileName=NULL) |
| | Load program file.
|
| |
| virtual int | Window (ngcdcs_win_t w) |
| | Set read-out window.
|
| |
| virtual void | NewStatus (int newStatus) |
| | Set new soft status.
|
| |
| virtual char * | StatusString () |
| | Get status string.
|
| |
| virtual int | Status (int *s) |
| | Get status value.
|
| |
| virtual int | RunningState () |
| | Check if sequencer is in running state.
|
| |
| virtual int | FailureState () |
| | Check if sequencer is in failure state.
|
| |
| virtual ngcb_evt_t | Event (int stat) |
| | Return event configuration for status switch.
|
| |
| virtual int | DwellTime (int f, int a) |
| | Set dwell-time factor and add-value.
|
| |
| virtual int | TimeFactor (int f) |
| | Set dwell-time factor.
|
| |
| virtual int | TimeAdd (int a) |
| | Set dwell-time add-value.
|
| |
| virtual int | SimSeqTiming () |
| | Simulate timing.
|
| |
| virtual int | LoadClkFile (const char *fileName) |
| | Load clock pattern file.
|
| |
| virtual unsigned int | NumTrigger () |
| | Return number of trigger commands since last start.
|
| |
| virtual unsigned int | BlindTrigger () |
| |
| virtual unsigned int | LostTrigger () |
| |
| | ngcdcsCLDC0 (const ngcb_route_t &r, int nc, int nb) |
| | Constructor with route, number of clocks and number of biases.
|
| |
| | ngcdcsCLDC0 (ngcbIFC *ifc, const ngcb_route_t &r, int nc, int nb) |
| |
| virtual | ~ngcdcsCLDC0 () |
| | Destructor.
|
| |
| virtual int | AtOnline () |
| | At online hook.
|
| |
| virtual int | VSetup (int autoCtrl=0) |
| | Apply voltage setup.
|
| |
| virtual int | Check () |
| | Check telemetry against current setup.
|
| |
| virtual int | OutputEnable () |
| | Enable output.
|
| |
| virtual int | OutputDisable () |
| | Disable output.
|
| |
| virtual int | OutputEnabled () |
| | Check if output is enabled.
|
| |
| virtual int | Protection (int flag) |
| | Enable/disable protection circuit.
|
| |
| virtual int | Calibrate (int noSetup=0) |
| | Calibrate (offset compensation)
|
| |
| virtual void | ClearCalibration () |
| | Clear calibration.
|
| |
| virtual int | Calibrated () |
| | Check if calibration has been done.
|
| |
| virtual int | Zero () |
| | Set all voltages to zero.
|
| |
| virtual int | VoltageDC (int num, double volt, int rangeCheck=1) |
| | Set DC voltage.
|
| |
| virtual int | VoltageClk (int num, int l, double volt, int rangeCheck=1) |
| | Set clock level.
|
| |
| virtual int | VoltageClk (int num, ngcdcs_clkv_t cv, int rangeCheck=1) |
| | Set all levels of clock.
|
| |
| virtual int | VoltageRegDC (int num, int value, int rangeCheck=1) |
| | Set DC hex-voltage.
|
| |
| virtual int | VoltageRegClk (int num, int l, int value, int rangeCheck=1) |
| | Set clock hex-level.
|
| |
| virtual int | VoltageErrDC (int num, double volt) |
| | Set DC voltage error.
|
| |
| virtual int | VoltageErrClk (int num, int l, double volt) |
| | Set clock level voltage error.
|
| |
| virtual double | TelCurrent (int chan) |
| | Return value of last current-telemetry.
|
| |
| virtual int | TelDC (int num, double *volt) |
| | Telemetry for DC-bias.
|
| |
| virtual int | TelClk (int num, int l, double *volt) |
| | Telemetry for clock level.
|
| |
| virtual int | TelClk (int num, ngcdcs_clkv_t *cv) |
| | Telemetry for clock (all levels)
|
| |
| virtual int | Snapshot () |
| | Telemetry snapshot.
|
| |
| virtual char * | VStatusString () |
| | Get voltage status string.
|
| |
| virtual int | VStatus (int *s) |
| | Get voltage HW-status.
|
| |
| virtual int | LoadCfgFile (const char *fileName=NULL) |
| | Load voltage configuration.
|
| |
| virtual int | SaveCfgFile (const char *fileName) |
| | Save voltage configuration.
|
| |
| virtual int | SaveErrFile (const char *fileName) |
| | Save error calibration.
|
| |
| virtual int | Restore (const char *keyword) |
| | Restore keyword from the last loaded file.
|
| |
| virtual int | SetupKey (const char *key, const int *idx, const char *value, int *status=NULL) |
| | Setup.
|
| |
| virtual int | StatusKey (const char *key, const int *idx, char *value, int *status=NULL) |
| | Status.
|
| |
| ngcbMOD & | operator= (const ngcbMOD &other) |
| | Operator =.
|
| |
| | ngcbMOD (const ngcbMOD &other) |
| | Copy constructor.
|
| |
| | ngcbMOD (const ngcb_route_t &modRoute) |
| | Constructor with route.
|
| |
| | ngcbMOD (ngcbIFC *modDev, const ngcb_route_t &modRoute) |
| | Constructor with interface device and route.
|
| |
| virtual | ~ngcbMOD () |
| | Destructor.
|
| |
| ngcbIFC * | Dev () |
| | Return current interface device.
|
| |
| void | Dev (ngcbIFC *newDev) |
| | Set new interface device.
|
| |
| int | Connected () |
| | Return 1 if device is connected, zero otherwise.
|
| |
| int | Sim () |
| |
| int | Initialize () |
| | Initialize module.
|
| |
| void | ErrState (const char *msg, int errorId=0) |
| | Go to error state.
|
| |
| virtual int | CkAddrCB (int addr, const int *buffer, int size) |
| | Check-address call-back for alignment.
|
| |
| virtual void | WrAddrCB (int addr, const int *buffer, int size) |
| | Write-to-address call-back for alignment.
|
| |
| virtual int | Load (const char *fileName) |
| | Load register instruction file.
|
| |
| int | Board () |
| | Return the board number of the module (starts with zero)
|
| |
| void | RpcCopy (void *dest, const void *src, size_t size, size_t items=1) |
| | Copy RPC payload.
|
| |
| int | RPC (int target, int req, void *payload, unsigned int size, unsigned int *status=NULL) |
| | Execute RPC.
|
| |
| int | ReadAddr (int addr, int *buffer, int size) |
| | Read from address (32-bit)
|
| |
| int | WriteAddr (int addr, const int *buffer, int size) |
| | Write to address (32-bit)
|
| |
| int | ReadAddr64 (int addr, uint64_t *buffer, int size) |
| | Read from address (64-bit)
|
| |
| int | WriteAddr64 (int addr, const uint64_t *buffer, int size) |
| | Write to address (64-bit)
|
| |
| int | Temperature (double *t) |
| | Read board temperature (degree C)
|
| |
| int | BackPlane () |
| | Return back-plane ID.
|
| |
| virtual void | CV (int chan, double volt) |
| | Voltage conversion call-back.
|
| |
| virtual void | Reset () |
| | Align soft-states after reset.
|
| |
| virtual int | Disable () |
| | Call-back at transition to not operational state.
|
| |
| virtual int | Enable (int check=1) |
| | Call-back at transition to operational state.
|
| |
| | ngcbOBJ () |
| | Constructor.
|
| |
| virtual | ~ngcbOBJ () |
| | Destructor.
|
| |
| void | Instance (int n) |
| | Set instance.
|
| |
| int | Instance () |
| | Get instance.
|
| |
| const char * | Major () |
| | Instance major number.
|
| |
| int | BigEndian () |
| | Big-endian architecture.
|
| |
| int | LittleEndian () |
| | Little-endian architecture.
|
| |
| virtual char * | ErrMsg () |
| | Error message.
|
| |
| virtual int | Success () |
| | Return success.
|
| |
| virtual int | Failure () |
| | Return failure.
|
| |
| void | CfgPath (const char *path) |
| | Set external configuration path.
|
| |
|
| virtual int | BailOut (const char *pos) |
| | Log code position of the error and bail-out with failure.
|
| |
| virtual void | Verbose (int level, const char *format,...) __attribute__((format(printf |
| | Verbose message if verbose level exceeds level.
|
| |
| virtual void virtual void | Verbose (const char *format,...) __attribute__((format(printf |
| | Verbose message.
|
| |
| virtual void virtual void virtual void | Log (int level, const char *format,...) __attribute__((format(printf |
| | Log message if logging level exceeds level.
|
| |
| virtual void virtual void virtual void virtual void | Log (const char *format,...) __attribute__((format(printf |
| | Log message.
|
| |
| virtual void virtual void virtual void virtual void virtual void | ErrLog (int severity, const char *format,...) __attribute__((format(printf |
| | Error log, severity is one of ngcbWARNING, ngcbFAILURE and ngcbERR_SEVERE.
|
| |
| virtual void virtual void virtual void virtual void virtual void void | FeedBack (const char *format,...) __attribute__((format(printf |
| | Feed-back function.
|
| |
| virtual void virtual void virtual void virtual void virtual void void virtual void | SendFeedBack (const char *msg) |
| | Feed-back sender implementation.
|
| |
| const char * | CfgPath () |
| | Get external configuration path.
|
| |
| int | CfgPath (char *path, const char *cfgFile) |
| | Compose path for configuratuion file.
|
| |
| int | KeyVal (const char *key, float *value) |
| | Get single precision floating point value from keyword string.
|
| |
| int | KeyVal (const char *key, double *value) |
| | Get double precision floating point value from keyword string.
|
| |
| int | KeyVal (const char *key, int *value) |
| | Get 32-bit signed integer value from decimal keyword string.
|
| |
| int | KeyVal (const char *key, unsigned int *value) |
| | Get 32-bit unsigned integer value from decimal keyword string.
|
| |
| int | KeyValHex (const char *key, int *value) |
| | Get 32-bit signed integer value from hexadecimal keyword string.
|
| |
| int | KeyValHex (const char *key, unsigned int *value) |
| | Get 32-bit unsigned integer value from hexadecimal keyword string.
|
| |
| int | KeyValFmt (const char *key, int *value) |
| | Get 32-bit signed integer value from string.
|
| |
| int | KeyValFmt (const char *key, unsigned int *value) |
| | Get 32-bit unsigned integer value from string.
|
| |
| int | KeyValFrac (const char *key, unsigned int n, uint64_t *v1, uint64_t *v2) |
| | Fraction after n digits.
|
| |
| void | CleanupCmd (char *cmdLine, int *cmdLen) |
| | Clean command string (remove extra spaces etc.)
|
| |
| int | ReplaceParam (char *string) |
| | Replace parameter in string.
|
| |
Generic sequencer base class