13#error This is a C++ include file and cannot be used from plain C
26#define ngcdcsSEQ_NGCII 0x00010000
31#define ngcdcsSEQ_MAX_PAT (ngcbSEQ_PATRAM_SIZE / 4)
36#define ngcdcsSEQ_MAX_STATES ngcbSEQ_PATRAM_SIZE
41#define ngcdcsSEQ_STAT_IDLE 0x00000000
42#define ngcdcsSEQ_STAT_WAITING 0x00000001
43#define ngcdcsSEQ_STAT_RUNNING 0x00000002
44#define ngcdcsSEQ_STAT_PAUSED 0x00000004
45#define ngcdcsSEQ_STAT_FAILURE 0x10000000
50#define ngcdcsSEQ_TRIGGERMODE_DIRECT 0x0
51#define ngcdcsSEQ_TRIGGERMODE_SHUTTER 0x1
56#define ngcdcsSEQ_CTRL_DISABLE 0
57#define ngcdcsSEQ_CTRL_ALIGN 1
322 if ((strobe == 1) || (strobe == 2))
convert[strobe - 1] = flag;
346 virtual int Stop(
int align,
int force = 0) {
359 virtual int Break(
int trigger = 1) {
371 virtual int Wait(
int event,
int timeout,
int interval) {
412 Verbose(
"ngcdcsSEQ%d: window is [%d,%d,%d,%d] - rot = %d\n",
425 strcpy(statStr_,
"idle");
break;
429 strcpy(statStr_,
"running");
break;
433 strcpy(statStr_,
"paused");
break;
437 strcpy(statStr_,
"waiting");
break;
441 strcpy(statStr_,
"failure");
break;
445 strcpy(statStr_,
"unknown");
break;
542 strcpy(statStr_,
"idle");
658 int InitPat(
int low,
int high);
679 int LastPat(
int *low,
int *high);
700 int GetState(
int *low,
int *high,
int patNum,
int stateNum);
703 int SetPatClk(
int idx,
int clkNum,
const char *s);
724 virtual int LoadClk(
const char *fileName);
727 virtual int SaveClk(
const char *fileName);
730 int Monitor(
int num,
int clkChan);
740 int ExecTime(
double *execTime,
int *prgCode,
int codeAddr,
int length);
773 virtual int PrgFile(
const char *fileName);
776 int Parameters(
const char *fileName,
char *list);
779 int MinPulse(
double *min,
int clkNum);
782 int PulseCnt(
int *rising,
int *falling,
int clkNum);
794 int SetPdu(
int value,
int chan = 0);
803 int GetFramCfg(
int *pduValue,
int *packetsValue,
int *
bpix,
int chan);
813 int Enable(
int check = 1);
819 int Convert(
int strobe,
int flag);
843 int Stop(
int align,
int force = 0);
855 int Break(
int trigger = 1);
858 int BreakWait(
int timeout,
int interval = 100);
861 int Wait(
int event,
int timeout,
int interval = 100);
908 virtual int LookupCB(
const char *name,
char *value);
917 int ShiftOut(
const char *array,
int numBits);
920 int ShiftOut(
const int *array,
int numBits);
923 int SlxSetup(
const char *key,
const int *idx,
const char *value,
927 int SlxStatus(
const char *key,
const int *idx,
char *value,
978 int InitPat_(
int low,
int high);
990 int LoadClkBin_(
const char *fileName);
993 int SaveClkBin_(
const char *fileName);
996 int LoadClkAscii_(
const char *fileName);
999 int SaveClkAscii_(
const char *fileName);
1002 int ResetPatterns_(
int clr = 0);
1008 int CheckDwellTime_(
int factor,
int add);
1011 int LastPatNum_(
const ngcdcs_seqp_t &prg,
const int *code,
int size);
1014 int FirstPatNum_(
const ngcdcs_seqp_t &prg,
const int *code,
int size);
1037 int PrgFileBin_(
const char *fileName);
1040 int PrgFileAscii_(
const char *fileName,
char *setupBuf = NULL);
1043 void AddSeqIdx_(
char *keyWord);
1046 void DelSeqIdx_(
char *keyWord);
1049 int Lookup_(
const char *name,
char *value);
1055 int CleanLoop_(
int *code,
int *codeLength);
1058 int LdCode_(
const char *fileName,
int *code,
int *length,
1062 int Script_(
const char *shell,
const char *script, FILE *dbg,
1070 int NumWaitStates_(
int *prgCode,
int codeAddr,
int length,
int *ret = NULL);
1073 int BreakTimeout_(
double *timeout);
1080 unsigned int numTrigger_;
1083 unsigned int blindTrigger_;
1086 unsigned int lostTrigger_;
1098 int Start_(
int step = 0);
Definition ngcbDIC.hpp:51
Definition ngcbIFC.hpp:760
ngcb_route_t route
Local route to module (header)
Definition ngcbMOD.hpp:31
virtual int Success()
Return success.
Definition ngcbOBJ.cpp:68
int Instance()
Get instance.
Definition ngcbOBJ.cpp:58
virtual void Verbose(int level, const char *format,...) __attribute__((format(printf
Verbose message if verbose level exceeds level.
Definition ngcbOBJ.cpp:74
Definition ngcbPARAM.hpp:201
Definition ngcbPARAM.hpp:41
ngcdcsCLDC0(const ngcb_route_t &r, int nc, int nb)
Constructor with route, number of clocks and number of biases.
Definition ngcdcsCLDC.hpp:213
virtual int LoadPrgFile(const char *fileName=NULL)
Load program file.
Definition ngcdcsSEQ.hpp:402
virtual int Start()
Start sequencer.
Definition ngcdcsSEQ.hpp:333
char clkFile[256]
Clock pattern file name.
Definition ngcdcsSEQ.hpp:225
virtual unsigned int LostTrigger()
Definition ngcdcsSEQ.hpp:528
int status
Soft state: idle, waiting, running or failure.
Definition ngcdcsSEQ.hpp:219
virtual int LoadClkFile(const char *fileName)
Load clock pattern file.
Definition ngcdcsSEQ.hpp:510
virtual int SyncExt(int flag)
Enable/disable external SYNC pulse.
Definition ngcdcsSEQ.hpp:327
ngcdcs_win_t win
Read-out window.
Definition ngcdcsSEQ.hpp:222
virtual int SimSeqTiming()
Simulate timing.
Definition ngcdcsSEQ.hpp:507
int timAuto
Automatic computation of minimum TIM-period.
Definition ngcdcsSEQ.hpp:255
int syncExt
External SYNC pulse.
Definition ngcdcsSEQ.hpp:198
virtual int TimeFactor(int f)
Set dwell-time factor.
Definition ngcdcsSEQ.hpp:495
virtual int BreakTimeout(int force=0)
Compute timeout for break command.
Definition ngcdcsSEQ.hpp:365
int timeAdd
Global dwell-time add.
Definition ngcdcsSEQ.hpp:240
ngcdcsSEQ0(const ngcb_route_t &r, int nc, int nb)
Constructor with route, number of clocks and number of biases.
Definition ngcdcsSEQ.hpp:285
virtual int FailureState()
Check if sequencer is in failure state.
Definition ngcdcsSEQ.hpp:463
int breakMode
Break mode.
Definition ngcdcsSEQ.hpp:201
virtual int Window(ngcdcs_win_t w)
Set read-out window.
Definition ngcdcsSEQ.hpp:408
int runCtrl
External run-control flag.
Definition ngcdcsSEQ.hpp:192
FILE * sdebug
Script debug stream.
Definition ngcdcsSEQ.hpp:282
virtual int Convert(int strobe, int flag)
Enable/disable convert strobe.
Definition ngcdcsSEQ.hpp:321
int stopDelay
Delay after sequencer stop/reset (ms)
Definition ngcdcsSEQ.hpp:246
virtual int TimeAdd(int a)
Set dwell-time add-value.
Definition ngcdcsSEQ.hpp:501
int triggerMode
Trigger mode.
Definition ngcdcsSEQ.hpp:234
virtual int RunningState()
Check if sequencer is in running state.
Definition ngcdcsSEQ.hpp:457
virtual int Status(int *s)
Get status value.
Definition ngcdcsSEQ.hpp:454
int triggerCtrl
Enable/disable automatic trigger control during break.
Definition ngcdcsSEQ.hpp:216
virtual void NewStatus(int newStatus)
Set new soft status.
Definition ngcdcsSEQ.hpp:419
ngcdcsSEQ0(ngcbIFC *ifc, const ngcb_route_t &r, int nc, int nb)
Definition ngcdcsSEQ.hpp:294
virtual int TriggerMode(int mode)
Set Trigger mode.
Definition ngcdcsSEQ.hpp:383
virtual ngcb_evt_t Event(int stat)
Return event configuration for status switch.
Definition ngcdcsSEQ.hpp:466
int convert[2]
Convert strobe enabled.
Definition ngcdcsSEQ.hpp:261
virtual int Stop(int align, int force=0)
Stop sequencer.
Definition ngcdcsSEQ.hpp:346
virtual int RunCtrl(int flag)
Ebnable/disable external run control.
Definition ngcdcsSEQ.hpp:309
int optimize
Optimize.
Definition ngcdcsSEQ.hpp:267
virtual int Align()
Align sequencer control flags.
Definition ngcdcsSEQ.hpp:353
int cvtExt
Exteranl convert.
Definition ngcdcsSEQ.hpp:195
virtual int TriggerOn(int flag)
Enable/disable external trigger.
Definition ngcdcsSEQ.hpp:377
virtual int Disarm()
Disable sequencer control flags.
Definition ngcdcsSEQ.hpp:356
virtual int Break(int trigger=1)
Stop sequencer at next break-point.
Definition ngcdcsSEQ.hpp:359
ngcbPARAM_LIST postSetup
Post-setup.
Definition ngcdcsSEQ.hpp:276
virtual int ClearPrgFile()
Clear program file.
Definition ngcdcsSEQ.hpp:396
int sync
Sequencer synchronized (generic flag)
Definition ngcdcsSEQ.hpp:258
virtual int Trigger(int armed=1)
Issue trigger command.
Definition ngcdcsSEQ.hpp:389
virtual int CvtExt(int flag)
Enable/disable external convert.
Definition ngcdcsSEQ.hpp:315
virtual int DwellTime(int f, int a)
Set dwell-time factor and add-value.
Definition ngcdcsSEQ.hpp:489
virtual int Selftest()
Selftest.
Definition ngcdcsSEQ.hpp:303
double realDit
Actual DIT.
Definition ngcdcsSEQ.hpp:249
ngcbDIC * dictionary
Pointer to dictionary;.
Definition ngcdcsSEQ.hpp:270
double tim
Minimum TIM-period.
Definition ngcdcsSEQ.hpp:252
ngcbPARAM_LIST * dicParam
Dictionary placeholders.
Definition ngcdcsSEQ.hpp:273
int continuous
Continuous mode flag.
Definition ngcdcsSEQ.hpp:204
virtual unsigned int BlindTrigger()
Definition ngcdcsSEQ.hpp:522
ngcbPARAM_LIST useList
Use-list.
Definition ngcdcsSEQ.hpp:279
virtual char * StatusString()
Get status string.
Definition ngcdcsSEQ.hpp:451
virtual int Pause()
Pause sequencer.
Definition ngcdcsSEQ.hpp:340
double clock
Time of one clock tick.
Definition ngcdcsSEQ.hpp:189
char prgFile[256]
Sequencer program file name.
Definition ngcdcsSEQ.hpp:228
int autoStop
Automatic stop/start.
Definition ngcdcsSEQ.hpp:264
int timeFactor
Global dwell-time factor.
Definition ngcdcsSEQ.hpp:237
virtual unsigned int NumTrigger()
Return number of trigger commands since last start.
Definition ngcdcsSEQ.hpp:516
virtual ~ngcdcsSEQ0()
Destructor.
Definition ngcdcsSEQ.hpp:300
int timeSim
Enable sequence time simulation.
Definition ngcdcsSEQ.hpp:243
virtual int Wait(int event, int timeout, int interval)
Poll with timeout until status register matches event.
Definition ngcdcsSEQ.hpp:371
int triggerOn
Trigger enable flag.
Definition ngcdcsSEQ.hpp:231
int useBreakTmo
Use break-timeout.
Definition ngcdcsSEQ.hpp:213
int new_prgfile
Flag, indicating that a new program file is in the setup list.
Definition ngcdcsSEQ.hpp:210
int updateFlag
Flag to update the sequencer program.
Definition ngcdcsSEQ.hpp:207
Definition ngcdcsSEQ_PRG.hpp:205
int GetPrg(ngcdcs_seqp_t *prg)
Get sequencer program.
Definition ngcdcsSeqPrg.cpp:165
int SaveClkFile(const char *fileName)
Save clock pattern file.
Definition ngcdcsSeqClk.cpp:123
int FailureState()
Check if sequencer is in failure state.
Definition ngcdcsSEQ.hpp:890
int clkMon3
Clock on monitor 3.
Definition ngcdcsSEQ.hpp:615
int LoadClkFile(const char *name)
Load clock pattern file.
Definition ngcdcsSeqClk.cpp:27
void Reset()
Align soft-states after reset.
Definition ngcdcsSEQ.cpp:208
int Pause()
Pause sequencer.
Definition ngcdcsSEQ.cpp:1826
int SetPackets(int value, int chan=0)
Set packets per frame per channel.
Definition ngcdcsSeqPrg.cpp:4515
int SetBytesPerPix(int value, int chan=0)
Set bytes per payload data unit per channel.
Definition ngcdcsSeqPrg.cpp:4566
unsigned int BlindTrigger()
Definition ngcdcsSEQ.hpp:899
int packets[4]
Payload packets per frame.
Definition ngcdcsSEQ.hpp:624
int SetPrg(const ngcdcs_seqp_t &prg)
Set sequencer program.
Definition ngcdcsSeqPrg.cpp:122
int Parameters(const char *fileName, char *list)
Get used parameters from file.
Definition ngcdcsSeqPrg.cpp:3714
virtual int LoadClk(const char *fileName)
Clock pattern file loader.
Definition ngcdcsSeqClk.cpp:166
int ShiftOut(const char *array, int numBits)
Copy byte array to shift register.
Definition ngcdcsSeqSlx.cpp:27
int Enable(int check=1)
Call-back at transition to operational state.
Definition ngcdcsSEQ.cpp:218
int CheckSeqRam()
Verify sequencer program RAM consistency.
Definition ngcdcsSeqPrg.cpp:195
int softMon
Use soft monitor for digital clocks.
Definition ngcdcsSEQ.hpp:618
int PulseCnt(int *rising, int *falling, int clkNum)
Compute number of edges on clock.
Definition ngcdcsSEQ.cpp:2445
int Step()
Run til next break-point.
Definition ngcdcsSEQ.cpp:1051
int DumpPrg(char *reply, ngcdcs_seqp_t &prg, int n=-1)
Dump program to string.
Definition ngcdcsSeqPrg.cpp:4248
ngcdcs_pat_t * pattern
Clock pattern setup.
Definition ngcdcsSEQ.hpp:600
void StorePatSetup()
Store patterns to private copy.
Definition ngcdcsSeqPat.cpp:1042
int LoadPrgFile(const char *name=NULL)
Load sequencer program file.
Definition ngcdcsSeqPrg.cpp:312
int bpix[4]
Payload bytes per pixel unit.
Definition ngcdcsSEQ.hpp:627
int TimeFactor(int factor)
Set global dwell-time factor.
Definition ngcdcsSeqPat.cpp:854
int SetPatClk(int idx, int clkNum, const char *s)
Set specific clock timing.
Definition ngcdcsSeqPat.cpp:1427
int clkMon1
Clock on monitor 1.
Definition ngcdcsSEQ.hpp:609
int InitPatFirst(int n)
Init with first state of pattern.
Definition ngcdcsSeqPat.cpp:648
int Disarm()
Disable sequencer control flags.
Definition ngcdcsSEQ.cpp:1279
int Start()
Start sequencer.
Definition ngcdcsSEQ.cpp:1046
int BreakWait(int timeout, int interval=100)
Poll with timeout until break-point is reached.
Definition ngcdcsSEQ.cpp:1319
virtual int SaveClk(const char *fileName)
Clock pattern file saver.
Definition ngcdcsSeqClk.cpp:174
int Break(int trigger=1)
Stop sequencer at next breakpoint.
Definition ngcdcsSEQ.cpp:1340
int Disable()
Call-back at transition to not operational state.
Definition ngcdcsSEQ.cpp:399
void NewStatus(int newStatus)
Set new soft status.
Definition ngcdcsSEQ.cpp:748
int SimSeqTiming()
Simulate sequence timing.
Definition ngcdcsSEQ.cpp:3140
int ClkState(int idx, int flag)
Enable/disable clock.
Definition ngcdcsSeqClk.cpp:1369
int BreakTimeout(int force=0)
Compute timeout for break command.
Definition ngcdcsSEQ.cpp:3127
int SimPrg(ngcdcsSEQ_EMU *emulator, ngcdcs_ticks_t start, int length)
Program Simulator.
Definition ngcdcsSeqPrg.cpp:4339
char * StatusString()
Get status string.
Definition ngcdcsSEQ.cpp:799
virtual int PrgFile(const char *fileName)
Sequencer program loader.
Definition ngcdcsSeqPrg.cpp:530
int RestorePatSetup()
Restore patterns from private copy.
Definition ngcdcsSeqPat.cpp:1073
int InitPatLow()
Get actual initial pattern (low)
Definition ngcdcsSeqPat.cpp:780
ngcdcsSEQ(const ngcb_route_t &r)
Constructor with route.
Definition ngcdcsSEQ.cpp:28
int CheckPrg(const ngcdcs_seqp_t &prg)
Check and cleanup program.
Definition ngcdcsSeqPrg.cpp:93
int Wait(int event, int timeout, int interval=100)
Poll with timeout until status register matches event.
Definition ngcdcsSEQ.cpp:1498
ngcdcs_slxcfg_t slx
SELEX configuration.
Definition ngcdcsSEQ.hpp:630
int Monitor(int num, int clkChan)
Set channel for clock-monitor.
Definition ngcdcsSEQ.cpp:1893
int DwellTime(int factor, int add)
Set global dwell-time factor+add.
Definition ngcdcsSeqPat.cpp:916
int SyncExt(int flag)
Enable/disable external SYNC pulse.
Definition ngcdcsSEQ.cpp:687
int CvtExt(int flag)
Enable/disable external convert.
Definition ngcdcsSEQ.cpp:626
int GetState(int *low, int *high, int patNum, int stateNum)
Get pattern state.
Definition ngcdcsSeqPat.cpp:1366
int FirstPat(int *low, int *high)
Get first executed clock state.
Definition ngcdcsSeqPat.cpp:602
int SlxEnable()
Enable SELEX serial interface.
Definition ngcdcsSeqSlx.cpp:163
int SetupPat(int stopFlag=1)
Upload all defined patterns.
Definition ngcdcsSeqPat.cpp:978
void DumpCode(char *reply, const ngcdcs_seqp_t &prg, int offset, int length)
Dump piece of prg-code.
Definition ngcdcsSeqPrg.cpp:4033
int SetPat(int idx, ngcdcs_pat_t &pat)
Set a clock pattern.
Definition ngcdcsSeqPat.cpp:1107
int ClearPrgFile()
Clear program file.
Definition ngcdcsSeqPrg.cpp:250
int PatTime(const ngcdcs_pat_t &pat, int apply=1)
Compute pattern time.
Definition ngcdcsSeqPat.cpp:790
int RunCtrl(int flag)
Enable/disable external run-control.
Definition ngcdcsSEQ.cpp:565
int PatNumStates(const ngcdcs_pat_t &pat)
Compute number of states.
Definition ngcdcsSeqPat.cpp:837
int SetPdu(int value, int chan=0)
Set payload data units per channel.
Definition ngcdcsSeqPrg.cpp:4470
int SlxSetup(const char *key, const int *idx, const char *value, int *status=NULL)
SELEX setup.
Definition ngcdcsSeqSlx.cpp:201
int TriggerMode(int mode)
Select trigger mode.
Definition ngcdcsSEQ.cpp:502
int ResolveSubRt(ngcdcs_seqp_t *prg)
Resolve subroutines.
Definition ngcdcsSeqPrg.cpp:3910
int autoInit
Automatic clock pattern initialization.
Definition ngcdcsSEQ.hpp:606
int clkMon2
Clock on monitor 2.
Definition ngcdcsSEQ.hpp:612
int GetPat(ngcdcs_pat_t *pat)
Get a clock pattern by address.
Definition ngcdcsSeqPat.cpp:1285
virtual int LookupCB(const char *name, char *value)
Parameter lookup.
Definition ngcdcsSeqPrg.cpp:681
int Align()
Align sequencer control flags.
Definition ngcdcsSEQ.cpp:1213
int CleanLoop(ngcdcs_seqp_t *prg)
Remove zero loops etc. in sequencer program.
Definition ngcdcsSeqOptimize.cpp:196
int Status(int *hwStat)
Get status value.
Definition ngcdcsSEQ.cpp:804
int RunningState()
Check if sequencer is in running state.
Definition ngcdcsSEQ.hpp:884
int MinPulse(double *min, int clkNum)
Compute minimum pulse distance on clock.
Definition ngcdcsSEQ.cpp:2274
ngcdcs_seqp_t program
Sequencer program.
Definition ngcdcsSEQ.hpp:603
int SlxStatus(const char *key, const int *idx, char *value, int *status=NULL)
SELEX status.
Definition ngcdcsSeqSlx.cpp:522
int Trigger(int armed=1)
Send trigger command to sequencer.
Definition ngcdcsSEQ.cpp:1712
int LastPat(int *low, int *high)
Get last executed clock state.
Definition ngcdcsSeqPat.cpp:556
int Convert(int strobe, int flag)
Enable/disable convert strobe.
Definition ngcdcsSeqPat.cpp:953
unsigned int LostTrigger()
Definition ngcdcsSEQ.hpp:905
virtual ~ngcdcsSEQ()
Destructor.
Definition ngcdcsSEQ.cpp:58
int Stop(int align, int force=0)
Stop sequencer.
Definition ngcdcsSEQ.cpp:1056
int InitPatLast(int n)
Init with last state of pattern.
Definition ngcdcsSeqPat.cpp:685
int GetFramCfg(int *pduValue, int *packetsValue, int *bpix, int chan)
Definition ngcdcsSeqPrg.cpp:4610
int TimeAdd(int add)
Set global dwell-time add.
Definition ngcdcsSeqPat.cpp:885
int InitPatHigh()
Get actual initial pattern (high)
Definition ngcdcsSeqPat.cpp:785
int ExecTime(double *execTime)
Compute program execution time.
Definition ngcdcsSEQ.cpp:1960
int SlxDisable()
Disable SELEX serial interface.
Definition ngcdcsSeqSlx.cpp:182
void DumpPat(char *reply, const ngcdcs_pat_t &pat)
Dump pattern to string.
Definition ngcdcsSeqPat.cpp:1590
unsigned int NumTrigger()
Return number of trigger commands since last start.
Definition ngcdcsSEQ.hpp:893
int CheckPatRam()
Verify sequencer pattern RAM consistency.
Definition ngcdcsSeqPat.cpp:1616
int pdu[4]
Payload data units.
Definition ngcdcsSEQ.hpp:621
int Selftest()
Selftest.
Definition ngcdcsSeqSelftest.cpp:27
ngcb_evt_t Event(int stat)
Return event configuration for status switch.
Definition ngcdcsSEQ.cpp:912
int InitPat(int low, int high)
Set default initial pattern.
Definition ngcdcsSeqPat.cpp:722
int TriggerOn(int flag)
Enable/disable trigger mode.
Definition ngcdcsSEQ.cpp:433
ngcdcs_pat_ld_t()
Constructor.
Definition ngcdcsSEQ.hpp:123
virtual ~ngcdcs_pat_ld_t()
Destructor.
Definition ngcdcsSEQ.hpp:126
Definition ngcdcsSEQ.hpp:83
ngcdcs_pat_st_t * state
States array pointer.
Definition ngcdcsSEQ.hpp:89
int numStates
Number of states in this pattern.
Definition ngcdcsSEQ.hpp:92
int addr
Address (relative to RAM base)
Definition ngcdcsSEQ.hpp:86
ngcdcs_pat_t()
Constructor.
Definition ngcdcsSEQ.hpp:101
char name[128]
Pattern name.
Definition ngcdcsSEQ.hpp:98
int time
Clock pattern execution time in ticks.
Definition ngcdcsSEQ.hpp:95
virtual ~ngcdcs_pat_t()
Destructor.
Definition ngcdcsSEQ.hpp:110
#define ngcbDFE_STAT_SEQ
Definition ngcbAddr.h:87
#define ngcbDFE_ADDR_STAT
Definition ngcbAddr.h:35
#define ngcbSEQ_RAM_SIZE
Definition ngcbAddr.h:278
#define ngcbSEQ_PATRAM_SIZE
Definition ngcbAddr.h:283
#define str2str(s1, s2, n)
Definition ngcb.h:74
#define USE(x)
Definition ngcb.h:29
#define ngcdcsSEQ_STAT_RUNNING
Definition ngcdcsSEQ.hpp:43
#define ngcdcsSEQ_STAT_IDLE
Definition ngcdcsSEQ.hpp:41
#define ngcdcsSEQ_STAT_WAITING
Definition ngcdcsSEQ.hpp:42
#define ngcdcsSEQ_STAT_PAUSED
Definition ngcdcsSEQ.hpp:44
#define ngcdcsSEQ_STAT_FAILURE
Definition ngcdcsSEQ.hpp:45
#define ngcdcsSEQ_CTRL_ALIGN
Definition ngcdcsSEQ.hpp:57
#define ngcdcsSEQ_TRIGGERMODE_DIRECT
Definition ngcdcsSEQ.hpp:50
#define ngcdcsSEQ_MAX_STATES
Definition ngcdcsSEQ.hpp:36
Definition ngcbIFC.hpp:520
int addr
Address.
Definition ngcbIFC.hpp:525
int board
Board number (1, ...)
Definition ngcbIFC.hpp:522
int mask
32-bit mask
Definition ngcbIFC.hpp:528
int reference
32-bit reference value
Definition ngcbIFC.hpp:531
int cond
Condition: 0 = match any, 1 = match all (default)
Definition ngcbIFC.hpp:534
Definition ngcbIFC.hpp:78
Definition ngcdcsSEQ.hpp:146
ngcdcs_key_assign_t()
Constructor.
Definition ngcdcsSEQ.hpp:151
char value[256]
Definition ngcdcsSEQ.hpp:148
char name[64]
Definition ngcdcsSEQ.hpp:147
Definition ngcdcsSEQ.hpp:135
int idx
Definition ngcdcsSEQ.hpp:136
ngcdcs_pat_assign_t()
Constructor.
Definition ngcdcsSEQ.hpp:140
char name[64]
Definition ngcdcsSEQ.hpp:137
Definition ngcdcsSEQ.hpp:62
unsigned int high
Pattern state high.
Definition ngcdcsSEQ.hpp:67
int time
Pattern state dwell-time (in ticks)
Definition ngcdcsSEQ.hpp:70
int mod
Allow global dewll time modification.
Definition ngcdcsSEQ.hpp:73
ngcdcs_pat_st_t()
Constructor.
Definition ngcdcsSEQ.hpp:76
unsigned int low
Pattern state low.
Definition ngcdcsSEQ.hpp:64
Definition ngcdcsSEQ_PRG.hpp:118
Definition ngcdcsSLX.hpp:85
Definition ngcdcsSLX.hpp:137
Definition ngcdcsSEQ_PRG.hpp:22
Definition ngcdcsSEQ.hpp:157
int sx_flag
Definition ngcdcsSEQ.hpp:165
int ny_flag
Definition ngcdcsSEQ.hpp:168
int nx_flag
Definition ngcdcsSEQ.hpp:167
int dx
Definition ngcdcsSEQ.hpp:162
int rot
Definition ngcdcsSEQ.hpp:164
int nx
Definition ngcdcsSEQ.hpp:160
int dy
Definition ngcdcsSEQ.hpp:163
ngcdcs_win_t()
Constructor.
Definition ngcdcsSEQ.hpp:172
int sy
Definition ngcdcsSEQ.hpp:159
int sy_flag
Definition ngcdcsSEQ.hpp:166
int ny
Definition ngcdcsSEQ.hpp:161
int rot_flag
Definition ngcdcsSEQ.hpp:169
int sx
Definition ngcdcsSEQ.hpp:158