12#error This is a C++ include file and cannot be used from plain C
25#define ngcdcsSEQ_NGCII 0x00010000
30#define ngcdcsSEQ_MAX_PAT (ngcbSEQ_PATRAM_SIZE / 4)
35#define ngcdcsSEQ_MAX_STATES ngcbSEQ_PATRAM_SIZE
40#define ngcdcsSEQ_STAT_IDLE 0x00000000
41#define ngcdcsSEQ_STAT_WAITING 0x00000001
42#define ngcdcsSEQ_STAT_RUNNING 0x00000002
43#define ngcdcsSEQ_STAT_PAUSED 0x00000004
44#define ngcdcsSEQ_STAT_FAILURE 0x10000000
49#define ngcdcsSEQ_TRIGGERMODE_DIRECT 0x0
50#define ngcdcsSEQ_TRIGGERMODE_SHUTTER 0x1
55#define ngcdcsSEQ_CTRL_DISABLE 0
56#define ngcdcsSEQ_CTRL_ALIGN 1
315 if ((strobe == 1) || (strobe == 2))
convert[strobe - 1] = flag;
339 virtual int Stop(
int align,
int force = 0) {
352 virtual int Break(
int trigger = 1) {
364 virtual int Wait(
int event,
int timeout,
int interval) {
405 Verbose(
"ngcdcsSEQ%d: window is [%d,%d,%d,%d] - rot = %d\n",
418 strcpy(statStr_,
"idle");
break;
422 strcpy(statStr_,
"running");
break;
426 strcpy(statStr_,
"paused");
break;
430 strcpy(statStr_,
"waiting");
break;
434 strcpy(statStr_,
"failure");
break;
438 strcpy(statStr_,
"unknown");
break;
535 strcpy(statStr_,
"idle");
647 int InitPat(
int low,
int high);
668 int LastPat(
int *low,
int *high);
689 int GetState(
int *low,
int *high,
int patNum,
int stateNum);
692 int SetPatClk(
int idx,
int clkNum,
const char *s);
713 virtual int LoadClk(
const char *fileName);
716 virtual int SaveClk(
const char *fileName);
719 int Monitor(
int num,
int clkChan);
729 int ExecTime(
double *execTime,
int *prgCode,
int codeAddr,
int length);
762 virtual int PrgFile(
const char *fileName);
765 int Parameters(
const char *fileName,
char *list);
768 int MinPulse(
double *min,
int clkNum);
771 int PulseCnt(
int *rising,
int *falling,
int clkNum);
783 int SetPdu(
int value,
int chan = 0);
789 int GetFramCfg(
int *pduValue,
int *packetsValue,
int chan);
799 int Enable(
int check = 1);
805 int Convert(
int strobe,
int flag);
829 int Stop(
int align,
int force = 0);
841 int Break(
int trigger = 1);
844 int BreakWait(
int timeout,
int interval = 100);
847 int Wait(
int event,
int timeout,
int interval = 100);
894 virtual int LookupCB(
const char *name,
char *value);
903 int ShiftOut(
const char *array,
int numBits);
906 int ShiftOut(
const int *array,
int numBits);
909 int SlxSetup(
const char *key,
const int *idx,
const char *value,
913 int SlxStatus(
const char *key,
const int *idx,
char *value,
964 int InitPat_(
int low,
int high);
976 int LoadClkBin_(
const char *fileName);
979 int SaveClkBin_(
const char *fileName);
982 int LoadClkAscii_(
const char *fileName);
985 int SaveClkAscii_(
const char *fileName);
988 int ResetPatterns_(
int clr = 0);
994 int CheckDwellTime_(
int factor,
int add);
997 int LastPatNum_(
const ngcdcs_seqp_t &prg,
const int *code,
int size);
1000 int FirstPatNum_(
const ngcdcs_seqp_t &prg,
const int *code,
int size);
1023 int PrgFileBin_(
const char *fileName);
1026 int PrgFileAscii_(
const char *fileName,
char *setupBuf = NULL);
1029 void AddSeqIdx_(
char *keyWord);
1032 void DelSeqIdx_(
char *keyWord);
1035 int Lookup_(
const char *name,
char *value);
1041 int CleanLoop_(
int *code,
int *codeLength);
1044 int LdCode_(
const char *fileName,
int *code,
int *length,
1048 int Script_(
const char *shell,
const char *script, FILE *dbg,
1056 int NumWaitStates_(
int *prgCode,
int codeAddr,
int length,
int *ret = NULL);
1059 int BreakTimeout_(
double *timeout);
1066 unsigned int numTrigger_;
1069 unsigned int blindTrigger_;
1072 unsigned int lostTrigger_;
1084 int Start_(
int step = 0);
Definition ngcbDIC.hpp:50
Definition ngcbIFC.hpp:754
ngcb_route_t route
Local route to module (header)
Definition ngcbMOD.hpp:30
virtual int Success()
Return success.
Definition ngcbOBJ.cpp:67
int Instance()
Get instance.
Definition ngcbOBJ.cpp:57
virtual void Verbose(int level, const char *format,...) __attribute__((format(printf
Verbose message if verbose level exceeds level.
Definition ngcbOBJ.cpp:73
Definition ngcbPARAM.hpp:200
Definition ngcbPARAM.hpp:40
ngcdcsCLDC0(const ngcb_route_t &r, int nc, int nb)
Constructor with route, number of clocks and number of biases.
Definition ngcdcsCLDC.hpp:212
virtual int LoadPrgFile(const char *fileName=NULL)
Load program file.
Definition ngcdcsSEQ.hpp:395
virtual int Start()
Start sequencer.
Definition ngcdcsSEQ.hpp:326
char clkFile[256]
Clock pattern file name.
Definition ngcdcsSEQ.hpp:221
virtual unsigned int LostTrigger()
Definition ngcdcsSEQ.hpp:521
int status
Soft state: idle, waiting, running or failure.
Definition ngcdcsSEQ.hpp:215
virtual int LoadClkFile(const char *fileName)
Load clock pattern file.
Definition ngcdcsSEQ.hpp:503
virtual int SyncExt(int flag)
Enable/disable external SYNC pulse.
Definition ngcdcsSEQ.hpp:320
ngcdcs_win_t win
Read-out window.
Definition ngcdcsSEQ.hpp:218
virtual int SimSeqTiming()
Simulate timing.
Definition ngcdcsSEQ.hpp:500
int timAuto
Automatic computation of minimum TIM-period.
Definition ngcdcsSEQ.hpp:251
int syncExt
External SYNC pulse.
Definition ngcdcsSEQ.hpp:197
virtual int TimeFactor(int f)
Set dwell-time factor.
Definition ngcdcsSEQ.hpp:488
virtual int BreakTimeout(int force=0)
Compute timeout for break command.
Definition ngcdcsSEQ.hpp:358
int timeAdd
Global dwell-time add.
Definition ngcdcsSEQ.hpp:236
ngcdcsSEQ0(const ngcb_route_t &r, int nc, int nb)
Constructor with route, number of clocks and number of biases.
Definition ngcdcsSEQ.hpp:278
virtual int FailureState()
Check if sequencer is in failure state.
Definition ngcdcsSEQ.hpp:456
int breakMode
Break mode.
Definition ngcdcsSEQ.hpp:200
virtual int Window(ngcdcs_win_t w)
Set read-out window.
Definition ngcdcsSEQ.hpp:401
int runCtrl
External run-control flag.
Definition ngcdcsSEQ.hpp:191
FILE * sdebug
Script debug stream.
Definition ngcdcsSEQ.hpp:275
virtual int Convert(int strobe, int flag)
Enable/disable convert strobe.
Definition ngcdcsSEQ.hpp:314
int stopDelay
Delay after sequencer stop/reset (ms)
Definition ngcdcsSEQ.hpp:242
virtual int TimeAdd(int a)
Set dwell-time add-value.
Definition ngcdcsSEQ.hpp:494
int triggerMode
Trigger mode.
Definition ngcdcsSEQ.hpp:230
virtual int RunningState()
Check if sequencer is in running state.
Definition ngcdcsSEQ.hpp:450
virtual int Status(int *s)
Get status value.
Definition ngcdcsSEQ.hpp:447
int triggerCtrl
Enable/disable automatic trigger control during break.
Definition ngcdcsSEQ.hpp:212
virtual void NewStatus(int newStatus)
Set new soft status.
Definition ngcdcsSEQ.hpp:412
ngcdcsSEQ0(ngcbIFC *ifc, const ngcb_route_t &r, int nc, int nb)
Definition ngcdcsSEQ.hpp:287
virtual int TriggerMode(int mode)
Set Trigger mode.
Definition ngcdcsSEQ.hpp:376
virtual ngcb_evt_t Event(int stat)
Return event configuration for status switch.
Definition ngcdcsSEQ.hpp:459
int convert[2]
Convert strobe enabled.
Definition ngcdcsSEQ.hpp:257
virtual int Stop(int align, int force=0)
Stop sequencer.
Definition ngcdcsSEQ.hpp:339
virtual int RunCtrl(int flag)
Ebnable/disable external run control.
Definition ngcdcsSEQ.hpp:302
int optimize
Optimize.
Definition ngcdcsSEQ.hpp:263
virtual int Align()
Align sequencer control flags.
Definition ngcdcsSEQ.hpp:346
int cvtExt
Exteranl convert.
Definition ngcdcsSEQ.hpp:194
virtual int TriggerOn(int flag)
Enable/disable external trigger.
Definition ngcdcsSEQ.hpp:370
virtual int Disarm()
Disable sequencer control flags.
Definition ngcdcsSEQ.hpp:349
virtual int Break(int trigger=1)
Stop sequencer at next break-point.
Definition ngcdcsSEQ.hpp:352
ngcbPARAM_LIST postSetup
Post-setup.
Definition ngcdcsSEQ.hpp:272
virtual int ClearPrgFile()
Clear program file.
Definition ngcdcsSEQ.hpp:389
int sync
Sequencer synchronized (generic flag)
Definition ngcdcsSEQ.hpp:254
virtual int Trigger(int armed=1)
Issue trigger command.
Definition ngcdcsSEQ.hpp:382
virtual int CvtExt(int flag)
Enable/disable external convert.
Definition ngcdcsSEQ.hpp:308
virtual int DwellTime(int f, int a)
Set dwell-time factor and add-value.
Definition ngcdcsSEQ.hpp:482
virtual int Selftest()
Selftest.
Definition ngcdcsSEQ.hpp:296
double realDit
Actual DIT.
Definition ngcdcsSEQ.hpp:245
ngcbDIC * dictionary
Pointer to dictionary;.
Definition ngcdcsSEQ.hpp:266
double tim
Minimum TIM-period.
Definition ngcdcsSEQ.hpp:248
ngcbPARAM_LIST * dicParam
Dictionary placeholders.
Definition ngcdcsSEQ.hpp:269
int continuous
Continuous mode flag.
Definition ngcdcsSEQ.hpp:203
virtual unsigned int BlindTrigger()
Definition ngcdcsSEQ.hpp:515
virtual char * StatusString()
Get status string.
Definition ngcdcsSEQ.hpp:444
virtual int Pause()
Pause sequencer.
Definition ngcdcsSEQ.hpp:333
double clock
Time of one clock tick.
Definition ngcdcsSEQ.hpp:188
char prgFile[256]
Sequencer program file name.
Definition ngcdcsSEQ.hpp:224
int autoStop
Automatic stop/start.
Definition ngcdcsSEQ.hpp:260
int timeFactor
Global dwell-time factor.
Definition ngcdcsSEQ.hpp:233
virtual unsigned int NumTrigger()
Return number of trigger commands since last start.
Definition ngcdcsSEQ.hpp:509
virtual ~ngcdcsSEQ0()
Destructor.
Definition ngcdcsSEQ.hpp:293
int timeSim
Enable sequence time simulation.
Definition ngcdcsSEQ.hpp:239
virtual int Wait(int event, int timeout, int interval)
Poll with timeout until status register matches event.
Definition ngcdcsSEQ.hpp:364
int triggerOn
Trigger enable flag.
Definition ngcdcsSEQ.hpp:227
int useBreakTmo
Use break-timeout.
Definition ngcdcsSEQ.hpp:209
int updateFlag
Flag to update the sequencer program.
Definition ngcdcsSEQ.hpp:206
Definition ngcdcsSEQ_PRG.hpp:204
int GetPrg(ngcdcs_seqp_t *prg)
Get sequencer program.
Definition ngcdcsSeqPrg.cpp:164
int SaveClkFile(const char *fileName)
Save clock pattern file.
Definition ngcdcsSeqClk.cpp:122
int FailureState()
Check if sequencer is in failure state.
Definition ngcdcsSEQ.hpp:876
int clkMon3
Clock on monitor 3.
Definition ngcdcsSEQ.hpp:607
int LoadClkFile(const char *name)
Load clock pattern file.
Definition ngcdcsSeqClk.cpp:26
void Reset()
Align soft-states after reset.
Definition ngcdcsSEQ.cpp:206
int Pause()
Pause sequencer.
Definition ngcdcsSEQ.cpp:1824
int SetPackets(int value, int chan=0)
Set packets per frame per channel.
Definition ngcdcsSeqPrg.cpp:4440
unsigned int BlindTrigger()
Definition ngcdcsSEQ.hpp:885
int packets[4]
Payload packets per frame.
Definition ngcdcsSEQ.hpp:616
int SetPrg(const ngcdcs_seqp_t &prg)
Set sequencer program.
Definition ngcdcsSeqPrg.cpp:121
int Parameters(const char *fileName, char *list)
Get used parameters from file.
Definition ngcdcsSeqPrg.cpp:3639
virtual int LoadClk(const char *fileName)
Clock pattern file loader.
Definition ngcdcsSeqClk.cpp:165
int ShiftOut(const char *array, int numBits)
Copy byte array to shift register.
Definition ngcdcsSeqSlx.cpp:26
int Enable(int check=1)
Call-back at transition to operational state.
Definition ngcdcsSEQ.cpp:216
int CheckSeqRam()
Verify sequencer program RAM consistency.
Definition ngcdcsSeqPrg.cpp:194
int softMon
Use soft monitor for digital clocks.
Definition ngcdcsSEQ.hpp:610
int PulseCnt(int *rising, int *falling, int clkNum)
Compute number of edges on clock.
Definition ngcdcsSEQ.cpp:2443
int Step()
Run til next break-point.
Definition ngcdcsSEQ.cpp:1049
int DumpPrg(char *reply, ngcdcs_seqp_t &prg, int n=-1)
Dump program to string.
Definition ngcdcsSeqPrg.cpp:4173
ngcdcs_pat_t * pattern
Clock pattern setup.
Definition ngcdcsSEQ.hpp:592
void StorePatSetup()
Store patterns to private copy.
Definition ngcdcsSeqPat.cpp:997
int LoadPrgFile(const char *name=NULL)
Load sequencer program file.
Definition ngcdcsSeqPrg.cpp:309
int TimeFactor(int factor)
Set global dwell-time factor.
Definition ngcdcsSeqPat.cpp:809
int SetPatClk(int idx, int clkNum, const char *s)
Set specific clock timing.
Definition ngcdcsSeqPat.cpp:1382
int clkMon1
Clock on monitor 1.
Definition ngcdcsSEQ.hpp:601
int InitPatFirst(int n)
Init with first state of pattern.
Definition ngcdcsSeqPat.cpp:603
int GetFramCfg(int *pduValue, int *packetsValue, int chan)
Definition ngcdcsSeqPrg.cpp:4491
int Disarm()
Disable sequencer control flags.
Definition ngcdcsSEQ.cpp:1277
int Start()
Start sequencer.
Definition ngcdcsSEQ.cpp:1044
int BreakWait(int timeout, int interval=100)
Poll with timeout until break-point is reached.
Definition ngcdcsSEQ.cpp:1317
virtual int SaveClk(const char *fileName)
Clock pattern file saver.
Definition ngcdcsSeqClk.cpp:173
int Break(int trigger=1)
Stop sequencer at next breakpoint.
Definition ngcdcsSEQ.cpp:1338
int Disable()
Call-back at transition to not operational state.
Definition ngcdcsSEQ.cpp:397
void NewStatus(int newStatus)
Set new soft status.
Definition ngcdcsSEQ.cpp:746
int SimSeqTiming()
Simulate sequence timing.
Definition ngcdcsSEQ.cpp:3138
int ClkState(int idx, int flag)
Enable/disable clock.
Definition ngcdcsSeqClk.cpp:1368
int BreakTimeout(int force=0)
Compute timeout for break command.
Definition ngcdcsSEQ.cpp:3125
int SimPrg(ngcdcsSEQ_EMU *emulator, ngcdcs_ticks_t start, int length)
Program Simulator.
Definition ngcdcsSeqPrg.cpp:4264
char * StatusString()
Get status string.
Definition ngcdcsSEQ.cpp:797
virtual int PrgFile(const char *fileName)
Sequencer program loader.
Definition ngcdcsSeqPrg.cpp:525
int RestorePatSetup()
Restore patterns from private copy.
Definition ngcdcsSeqPat.cpp:1028
int InitPatLow()
Get actual initial pattern (low)
Definition ngcdcsSeqPat.cpp:735
ngcdcsSEQ(const ngcb_route_t &r)
Constructor with route.
Definition ngcdcsSEQ.cpp:27
int CheckPrg(const ngcdcs_seqp_t &prg)
Check and cleanup program.
Definition ngcdcsSeqPrg.cpp:92
int Wait(int event, int timeout, int interval=100)
Poll with timeout until status register matches event.
Definition ngcdcsSEQ.cpp:1496
ngcdcs_slxcfg_t slx
SELEX configuration.
Definition ngcdcsSEQ.hpp:619
int Monitor(int num, int clkChan)
Set channel for clock-monitor.
Definition ngcdcsSEQ.cpp:1891
int DwellTime(int factor, int add)
Set global dwell-time factor+add.
Definition ngcdcsSeqPat.cpp:871
int SyncExt(int flag)
Enable/disable external SYNC pulse.
Definition ngcdcsSEQ.cpp:685
int CvtExt(int flag)
Enable/disable external convert.
Definition ngcdcsSEQ.cpp:624
int GetState(int *low, int *high, int patNum, int stateNum)
Get pattern state.
Definition ngcdcsSeqPat.cpp:1321
int FirstPat(int *low, int *high)
Get first executed clock state.
Definition ngcdcsSeqPat.cpp:557
int SlxEnable()
Enable SELEX serial interface.
Definition ngcdcsSeqSlx.cpp:162
int SetupPat(int stopFlag=1)
Upload all defined patterns.
Definition ngcdcsSeqPat.cpp:933
void DumpCode(char *reply, const ngcdcs_seqp_t &prg, int offset, int length)
Dump piece of prg-code.
Definition ngcdcsSeqPrg.cpp:3958
int SetPat(int idx, ngcdcs_pat_t &pat)
Set a clock pattern.
Definition ngcdcsSeqPat.cpp:1062
int ClearPrgFile()
Clear program file.
Definition ngcdcsSeqPrg.cpp:249
int PatTime(const ngcdcs_pat_t &pat, int apply=1)
Compute pattern time.
Definition ngcdcsSeqPat.cpp:745
int RunCtrl(int flag)
Enable/disable external run-control.
Definition ngcdcsSEQ.cpp:563
int PatNumStates(const ngcdcs_pat_t &pat)
Compute number of states.
Definition ngcdcsSeqPat.cpp:792
int SetPdu(int value, int chan=0)
Set payload data units per channel.
Definition ngcdcsSeqPrg.cpp:4395
int SlxSetup(const char *key, const int *idx, const char *value, int *status=NULL)
SELEX setup.
Definition ngcdcsSeqSlx.cpp:200
int TriggerMode(int mode)
Select trigger mode.
Definition ngcdcsSEQ.cpp:500
int ResolveSubRt(ngcdcs_seqp_t *prg)
Resolve subroutines.
Definition ngcdcsSeqPrg.cpp:3835
int autoInit
Automatic clock pattern initialization.
Definition ngcdcsSEQ.hpp:598
int clkMon2
Clock on monitor 2.
Definition ngcdcsSEQ.hpp:604
int GetPat(ngcdcs_pat_t *pat)
Get a clock pattern by address.
Definition ngcdcsSeqPat.cpp:1240
virtual int LookupCB(const char *name, char *value)
Parameter lookup.
Definition ngcdcsSeqPrg.cpp:676
int Align()
Align sequencer control flags.
Definition ngcdcsSEQ.cpp:1211
int CleanLoop(ngcdcs_seqp_t *prg)
Remove zero loops etc. in sequencer program.
Definition ngcdcsSeqOptimize.cpp:195
int Status(int *hwStat)
Get status value.
Definition ngcdcsSEQ.cpp:802
int RunningState()
Check if sequencer is in running state.
Definition ngcdcsSEQ.hpp:870
int MinPulse(double *min, int clkNum)
Compute minimum pulse distance on clock.
Definition ngcdcsSEQ.cpp:2272
ngcdcs_seqp_t program
Sequencer program.
Definition ngcdcsSEQ.hpp:595
int SlxStatus(const char *key, const int *idx, char *value, int *status=NULL)
SELEX status.
Definition ngcdcsSeqSlx.cpp:521
int Trigger(int armed=1)
Send trigger command to sequencer.
Definition ngcdcsSEQ.cpp:1710
int LastPat(int *low, int *high)
Get last executed clock state.
Definition ngcdcsSeqPat.cpp:511
int Convert(int strobe, int flag)
Enable/disable convert strobe.
Definition ngcdcsSeqPat.cpp:908
unsigned int LostTrigger()
Definition ngcdcsSEQ.hpp:891
virtual ~ngcdcsSEQ()
Destructor.
Definition ngcdcsSEQ.cpp:57
int Stop(int align, int force=0)
Stop sequencer.
Definition ngcdcsSEQ.cpp:1054
int InitPatLast(int n)
Init with last state of pattern.
Definition ngcdcsSeqPat.cpp:640
int TimeAdd(int add)
Set global dwell-time add.
Definition ngcdcsSeqPat.cpp:840
int InitPatHigh()
Get actual initial pattern (high)
Definition ngcdcsSeqPat.cpp:740
int ExecTime(double *execTime)
Compute program execution time.
Definition ngcdcsSEQ.cpp:1958
int SlxDisable()
Disable SELEX serial interface.
Definition ngcdcsSeqSlx.cpp:181
void DumpPat(char *reply, const ngcdcs_pat_t &pat)
Dump pattern to string.
Definition ngcdcsSeqPat.cpp:1545
unsigned int NumTrigger()
Return number of trigger commands since last start.
Definition ngcdcsSEQ.hpp:879
int CheckPatRam()
Verify sequencer pattern RAM consistency.
Definition ngcdcsSeqPat.cpp:1571
int pdu[4]
Payload data units.
Definition ngcdcsSEQ.hpp:613
int Selftest()
Selftest.
Definition ngcdcsSeqSelftest.cpp:26
ngcb_evt_t Event(int stat)
Return event configuration for status switch.
Definition ngcdcsSEQ.cpp:910
int InitPat(int low, int high)
Set default initial pattern.
Definition ngcdcsSeqPat.cpp:677
int TriggerOn(int flag)
Enable/disable trigger mode.
Definition ngcdcsSEQ.cpp:431
ngcdcs_pat_ld_t()
Constructor.
Definition ngcdcsSEQ.hpp:122
virtual ~ngcdcs_pat_ld_t()
Destructor.
Definition ngcdcsSEQ.hpp:125
Definition ngcdcsSEQ.hpp:82
ngcdcs_pat_st_t * state
States array pointer.
Definition ngcdcsSEQ.hpp:88
int numStates
Number of states in this pattern.
Definition ngcdcsSEQ.hpp:91
int addr
Address (relative to RAM base)
Definition ngcdcsSEQ.hpp:85
ngcdcs_pat_t()
Constructor.
Definition ngcdcsSEQ.hpp:100
char name[128]
Pattern name.
Definition ngcdcsSEQ.hpp:97
int time
Clock pattern execution time in ticks.
Definition ngcdcsSEQ.hpp:94
virtual ~ngcdcs_pat_t()
Destructor.
Definition ngcdcsSEQ.hpp:109
#define ngcbDFE_STAT_SEQ
Definition ngcbAddr.h:86
#define ngcbDFE_ADDR_STAT
Definition ngcbAddr.h:34
#define ngcbSEQ_RAM_SIZE
Definition ngcbAddr.h:277
#define ngcbSEQ_PATRAM_SIZE
Definition ngcbAddr.h:282
#define str2str(s1, s2, n)
Definition ngcb.h:73
#define USE(x)
Definition ngcb.h:28
#define ngcdcsSEQ_STAT_RUNNING
Definition ngcdcsSEQ.hpp:42
#define ngcdcsSEQ_STAT_IDLE
Definition ngcdcsSEQ.hpp:40
#define ngcdcsSEQ_STAT_WAITING
Definition ngcdcsSEQ.hpp:41
#define ngcdcsSEQ_STAT_PAUSED
Definition ngcdcsSEQ.hpp:43
#define ngcdcsSEQ_STAT_FAILURE
Definition ngcdcsSEQ.hpp:44
#define ngcdcsSEQ_CTRL_ALIGN
Definition ngcdcsSEQ.hpp:56
#define ngcdcsSEQ_TRIGGERMODE_DIRECT
Definition ngcdcsSEQ.hpp:49
#define ngcdcsSEQ_MAX_STATES
Definition ngcdcsSEQ.hpp:35
Definition ngcbIFC.hpp:514
int addr
Address.
Definition ngcbIFC.hpp:519
int board
Board number (1, ...)
Definition ngcbIFC.hpp:516
int mask
32-bit mask
Definition ngcbIFC.hpp:522
int reference
32-bit reference value
Definition ngcbIFC.hpp:525
int cond
Condition: 0 = match any, 1 = match all (default)
Definition ngcbIFC.hpp:528
Definition ngcbIFC.hpp:72
Definition ngcdcsSEQ.hpp:145
ngcdcs_key_assign_t()
Constructor.
Definition ngcdcsSEQ.hpp:150
char value[256]
Definition ngcdcsSEQ.hpp:147
char name[64]
Definition ngcdcsSEQ.hpp:146
Definition ngcdcsSEQ.hpp:134
int idx
Definition ngcdcsSEQ.hpp:135
ngcdcs_pat_assign_t()
Constructor.
Definition ngcdcsSEQ.hpp:139
char name[64]
Definition ngcdcsSEQ.hpp:136
Definition ngcdcsSEQ.hpp:61
unsigned int high
Pattern state high.
Definition ngcdcsSEQ.hpp:66
int time
Pattern state dwell-time (in ticks)
Definition ngcdcsSEQ.hpp:69
int mod
Allow global dewll time modification.
Definition ngcdcsSEQ.hpp:72
ngcdcs_pat_st_t()
Constructor.
Definition ngcdcsSEQ.hpp:75
unsigned int low
Pattern state low.
Definition ngcdcsSEQ.hpp:63
Definition ngcdcsSEQ_PRG.hpp:117
Definition ngcdcsSLX.hpp:84
Definition ngcdcsSLX.hpp:136
Definition ngcdcsSEQ_PRG.hpp:21
Definition ngcdcsSEQ.hpp:156
int sx_flag
Definition ngcdcsSEQ.hpp:164
int ny_flag
Definition ngcdcsSEQ.hpp:167
int nx_flag
Definition ngcdcsSEQ.hpp:166
int dx
Definition ngcdcsSEQ.hpp:161
int rot
Definition ngcdcsSEQ.hpp:163
int nx
Definition ngcdcsSEQ.hpp:159
int dy
Definition ngcdcsSEQ.hpp:162
ngcdcs_win_t()
Constructor.
Definition ngcdcsSEQ.hpp:171
int sy
Definition ngcdcsSEQ.hpp:158
int sy_flag
Definition ngcdcsSEQ.hpp:165
int ny
Definition ngcdcsSEQ.hpp:160
int rot_flag
Definition ngcdcsSEQ.hpp:168
int sx
Definition ngcdcsSEQ.hpp:157