Functions | |
| XSP3ScopeModule * | xsp3_scope_mod_create (char *name, int num_cards, int lwords_per_card, mh_com **mod_head, int layout) |
| Create a shared data module in /dev/shm to store Scope mode data. | |
| u_int16_t * | xsp3_scope_mod_get_ptr (XSP3ScopeModule *mod, int card, int stream) |
| Get pointer to data for specifed card and stream with the data module. | |
| int | xsp3_scope_mod_get_inc (XSP3ScopeModule *mod) |
| Get increment to use when stepping to next time point when accessing data in the scope mode data module. | |
| int | xsp3_scope_mod_get_nstreams (XSP3ScopeModule *mod) |
| Get number of streams per card for current scope mode data module layout. | |
| int | xsp3_scope_get_str_sel (XSP3ScopeModule *mod, int card, int stream) |
| Get source select for specified stream allowing for any special interpretation of scope mode data module layout. | |
| const char * | xsp3_scope_stream_name (XSP3ScopeModule *mod, int card, int stream) |
| Return a label to desribe the describe the data on a given scope stream. | |
| int | xsp3_scope_stream_flags (XSP3ScopeModule *mod, int card, int stream) |
| Return Flags describing how to interpret scope mode data for give stream. | |
| int | xsp3_scope_chan (XSP3ScopeModule *mod, int card, int stream) |
| Return Channel number (currently within card) for specified stream. | |
Variables | |
| char | error_message [] |
| const char * | xsp3_scope_name_s0 [XSP3_SCOPE_NUM_SRC0] = { "ADC Inp", "Digital", "All DetReset", "All Reset Detector" } |
| const char * | xsp3_scope_name_s123 [XSP3_SCOPE_NUM_SRC123] = { "ADC Inp", "TrigB Out", "Servo Out", "Hist Out" } |
| const char * | xsp3_scope_name_s45 [XSP3_SCOPE_NUM_SRC45] |
| const char * | xsp3_scope_alt_names_s0 [XSP3_SCOPE_NUM_SRC0][16] |
| const char * | xsp3_scope_alt_names_s123 [XSP3_SCOPE_NUM_SRC123][16] |
| const char * | xsp3_scope_alt_names_s45 [XSP3_SCOPE_NUM_SRC45][16] |
| int | xsp3_scope_signed_s0 [XSP3_SCOPE_NUM_SRC0] = { 0, 0, 0, 0 } |
| int | xsp3_scope_signed_s123 [XSP3_SCOPE_NUM_SRC123] = { 0, 0, 0, 0 } |
| int | xsp3_scope_signed_s45 [XSP3_SCOPE_NUM_SRC45] = { 0, 0, 0, 1, 1, 1, 1, 1, 1, 1 } |
| char error_message[] |
| const char* xsp3_scope_alt_names_s0[XSP3_SCOPE_NUM_SRC0][16] |
{
{"Normal", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"Normal", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"Normal", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"Normal", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}
}
| const char* xsp3_scope_alt_names_s123[XSP3_SCOPE_NUM_SRC123][16] |
{
{"Overflow & GlobRstActive & DetResetInput & DataInput", "DiffLTThres & DataLTThres & DetResetAfterResetDetector & DataAfterResetDetector", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"DetReset & CFD & OTD & Data", "ServoOTD & CFD & OTD & Data", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"EventOrReset & DetReset & RealEvent", "EventOrReset & DetResetFixed & RealEvent", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"ScopeHist & RunAve_hist & eng_sel_in_range", "ScopeHist & ScopeHistMaskedRes & eng_sel_in_range", "ScopeHist & HistDataValid & HistFIFOFull", "HistFIFORdEn & HistDataValid & HistFIFOProgFull", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
}
| const char* xsp3_scope_alt_names_s45[XSP3_SCOPE_NUM_SRC45][16] |
{
{"Overflow & GlobRstActive & DetResetInput & DataInput", "DiffLTThres & DataLTThres & DetResetAfterResetDetector & DataAfterResetDetector", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"DetReset & CFD & OTD & Data", "ServoOTD & CFD & OTD & Data", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"EventOrReset & DetReset & RealEvent", "EventOrReset & GlitchActive & RealEvent", "EventOrReset & EventOrRstExCal & RealEvent", "EventOrReset & DetReset & GlitchActive", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
{"GRActive & Load & Veto", "DetReset & Load & Veto", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
{"Trigger & Armed & NotIdle", "Armed & PollEnd & PollScaled", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"Trigger & Armed & NotIdle & Diff2[15..0]", "Trigger & Armed & NotIdle &Diff2[22..7]", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"AccumUpdORGlA & EventDelD & AccumGradD & Grad Feedback to 1/4 of ADC LSB", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"EventDelD & UpdateGradEst & AccumGradD & Grad * 64k", "EventDelD & UpdateGradEst & AccumGradD & Grad * 256", "AccumUpdORGlA & AccumEvOrRstA & AccumGradD & Grad * 64k", "AccumUpdORGlA & AccumEvOrRstA & AccumGradD & Grad * 256",
"GradBadQ & UpdateGradEst & AccumGradD & Grad * 64k", "GradBadQ & UpdateGradEst & AccumGradD & Grad * 256", "AccumOverThrA & AccumEvOrRstA & AccumGradD & Grad * 64k", "AccumOverThrA & AccumEvOrRstA & AccumGradD & Grad * 256",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"DiffLTThres & DataLTThres & ResetFromDiff & Diff", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
{"TrigPositive & TrigNegative & RawOverThres & Diff", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}
}
| const char* xsp3_scope_name_s0[XSP3_SCOPE_NUM_SRC0] = { "ADC Inp", "Digital", "All DetReset", "All Reset Detector" } |
| const char* xsp3_scope_name_s123[XSP3_SCOPE_NUM_SRC123] = { "ADC Inp", "TrigB Out", "Servo Out", "Hist Out" } |
| const char* xsp3_scope_name_s45[XSP3_SCOPE_NUM_SRC45] |
{ "ADC Inp", "TrigB Out", "Servo Out", "Gdet Diff",
"TrigB Diff1", "TrigB Diff2", "Servo Grad Feedback", "Servo Grad Est", "Reset Detect", "TrigC Diff1" }
| int xsp3_scope_signed_s0[XSP3_SCOPE_NUM_SRC0] = { 0, 0, 0, 0 } |
| int xsp3_scope_signed_s123[XSP3_SCOPE_NUM_SRC123] = { 0, 0, 0, 0 } |
| int xsp3_scope_signed_s45[XSP3_SCOPE_NUM_SRC45] = { 0, 0, 0, 1, 1, 1, 1, 1, 1, 1 } |
1.7.1