/sipmScan/sipmScan_ui.h |
---|
0,0 → 1,82 |
/**************************************************************************/ |
/* LabWindows/CVI User Interface Resource (UIR) Include File */ |
/* Copyright (c) National Instruments 2014. All Rights Reserved. */ |
/* */ |
/* WARNING: Do not add to, delete from, or otherwise modify the contents */ |
/* of this include file. */ |
/**************************************************************************/ |
#include <userint.h> |
#ifdef __cplusplus |
extern "C" { |
#endif |
/* Panels and Controls: */ |
#define P1 1 |
#define P1_AMPDISSHTHR 2 |
#define P1_ASD8THR 3 |
#define P1_EXIT 4 |
#define P1_ADC 5 |
#define P1_TDC 6 |
#define P1_RESET 7 |
#define P1_CEVE 8 |
#define P1_NMIN 9 |
#define P1_NEVE 10 |
#define P1_FRAC 11 |
#define P1_TDCMIN 12 |
#define P1_PEDESTAL 13 |
#define P1_ADCHLSAVE 14 |
#define P1_ADCHL 15 |
#define P1_ADCLOG 16 |
#define P1_TDCLOG 17 |
#define P1_TDCHL 18 |
#define P1_DAQ 19 |
#define P1_SUPR 20 |
#define P1_DSAVE 21 |
#define P1_DFILE 22 |
#define P1_IY 23 |
#define P1_Z 24 |
#define P1_Y 25 |
#define P1_YMIN 26 |
#define P1_IX 27 |
#define P1_YSTEP 28 |
#define P1_X 29 |
#define P1_NY 30 |
#define P1_ZSET 31 |
#define P1_XMIN 32 |
#define P1_XSTEP 33 |
#define P1_NX 34 |
#define P1_MGET 35 |
#define P1_REREAD 36 |
#define P1_HO 37 |
#define P1_PLCH 38 |
#define P1_NEWF 39 |
#define P1_REFON 40 |
#define P1_REFRESH 41 |
#define P1_DEBUG 42 |
#define P1_SAMPDISSHTHR 43 |
#define P1_SASD8THR 44 |
#define P1_TIMER 45 /* callback function: cb_timer */ |
#define P1_DECORATION 46 |
#define P1_TEXTMSG 47 |
#define P1_TEXTMSG_2 48 |
#define P1_TEXTMSG_3 49 |
#define P1_TEXTMSG_4 50 |
#define P1_TEXTMSG_5 51 |
/* Menu Bars, Menus, and Menu Items: */ |
/* (no menu bars in the resource file) */ |
/* Callback Prototypes: */ |
int CVICALLBACK cb_timer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
#ifdef __cplusplus |
} |
#endif |
/sipmScan/sipmThreshold_ui.uir |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/sipmScan/sipmScan_ui.uir |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/sipmScan/sipmThreshold_ui.h |
---|
0,0 → 1,84 |
/**************************************************************************/ |
/* LabWindows/CVI User Interface Resource (UIR) Include File */ |
/* Copyright (c) National Instruments 2014. All Rights Reserved. */ |
/* */ |
/* WARNING: Do not add to, delete from, or otherwise modify the contents */ |
/* of this include file. */ |
/**************************************************************************/ |
#include <userint.h> |
#ifdef __cplusplus |
extern "C" { |
#endif |
/* Panels and Controls: */ |
#define P1 1 |
#define P1_AMPDISSHTHR 2 |
#define P1_EXIT 3 |
#define P1_ADC 4 |
#define P1_TDC 5 |
#define P1_RESET 6 |
#define P1_CEVE 7 |
#define P1_NMIN 8 |
#define P1_NEVE 9 |
#define P1_FRAC 10 |
#define P1_TDCMIN 11 |
#define P1_PEDESTAL 12 |
#define P1_ADCHLSAVE 13 |
#define P1_ADCHL 14 |
#define P1_ADCLOG 15 |
#define P1_TDCLOG 16 |
#define P1_TDCHL 17 |
#define P1_DAQ 18 |
#define P1_SUPR 19 |
#define P1_DSAVE 20 |
#define P1_DFILE 21 |
#define P1_IY 22 |
#define P1_Z 23 |
#define P1_Y 24 |
#define P1_YMIN 25 |
#define P1_IX 26 |
#define P1_YSTEP 27 |
#define P1_X 28 |
#define P1_NY 29 |
#define P1_ZSET 30 |
#define P1_XMIN 31 |
#define P1_XSTEP 32 |
#define P1_NX 33 |
#define P1_MGET 34 |
#define P1_REREAD 35 |
#define P1_HO 36 |
#define P1_PLCH 37 |
#define P1_NEWF 38 |
#define P1_REFON 39 |
#define P1_REFRESH 40 |
#define P1_DEBUG 41 |
#define P1_SAMPDISSHTHR 42 |
#define P1_STHRLOW 43 |
#define P1_STHRUP 44 |
#define P1_STEP 45 |
#define P1_TIMER 46 /* callback function: cb_timer */ |
#define P1_DECORATION 47 |
#define P1_TEXTMSG 48 |
#define P1_TEXTMSG_2 49 |
#define P1_TEXTMSG_3 50 |
#define P1_TEXTMSG_4 51 |
#define P1_TEXTMSG_5 52 |
#define P1_TEXTMSG_6 53 |
/* Menu Bars, Menus, and Menu Items: */ |
/* (no menu bars in the resource file) */ |
/* Callback Prototypes: */ |
int CVICALLBACK cb_timer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
#ifdef __cplusplus |
} |
#endif |
/sipmScan/RTUtil.h |
---|
0,0 → 1,38 |
#ifndef __RTUtil__ |
#define __RTUtil__ |
#include "TROOT.h" |
#include "TCanvas.h" |
#include "TPad.h" |
#include "TPaveLabel.h" |
#include "TStyle.h" |
#include "TDatime.h" |
//########################################################################################## |
// nastavi nastavitve izrisa, klicem z RTSetStyle(gStyle) |
void RTSetStyle(TStyle *style); |
//########################################################################################## |
// poenostavi delo s TCanvas |
class RTCanvas |
{ |
protected: |
TCanvas *can; |
TPad *pad; |
TPaveLabel *title, *date; |
public: |
RTCanvas(); |
RTCanvas(char *w_title, char *c_title, int x_min, int y_min, int x_size, int y_size); |
void Divide(int nx, int ny); |
void Divide(int np); |
TPad* cd(int i); |
void SaveAs(const char *filename); |
void Update(); |
}; |
//########################################################################################## |
#include "RTUtil.cpp" |
#endif |
/sipmScan/camac.h |
---|
0,0 → 1,14 |
#define BCNAF(B,C,N,A,F) 0x800000+(B)*0x80000+(C)*0x10000+(N)*0x800+(A)*0x80+(F)*0x4 |
#define NAF(N,A,F) 0x810002+(N)*0x800+(A)*0x80+(F)*0x4 |
#define BRF(F) 0x80E802+(F)*0x4 |
#define CSSA_R(N,A,F,DATA) VME_A24D16_R((NAF((N),(A),(F))),(DATA)) |
#define CSSA_W(N,A,F,DATA) VME_A24D16_W((NAF((N),(A),(F))),(DATA)) |
#define CSR(DATA) VME_A24D16_R((BRF(0)),(DATA)) |
#define BZ(DATA) VME_A24D16_W((BRF(9)),(DATA)) |
#define CCCZ(DATA) CSSA_R(28,8,26,(DATA)) |
#define CCCC(DATA) CSSA_R(28,9,26,(DATA)) |
#define CSET_I(DATA) CSSA_R(30,9,26,(DATA)) |
#define CREM_I(DATA) CSSA_R(30,9,24,(DATA)) |