Subversion Repositories f9daq

Rev

Rev 29 | Rev 37 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29 Rev 32
Line 3... Line 3...
3
 
3
 
4
// Izberi ustrezni interface v meniju projektnega okna
4
// Izberi ustrezni interface v meniju projektnega okna
5
//  Options->CompilerDefines (dodaj /DSISVME ali /DWIENVME)
5
//  Options->CompilerDefines (dodaj /DSISVME ali /DWIENVME)
6
#ifdef USE_DAQ
6
#ifdef USE_DAQ
7
#  define USE_CAMAC
7
#  define USE_CAMAC
8
#include "c:\HOME\dino\l2d\include\camac.h"
8
#include "c:\HOME\dino\sipmScan\include\camac.h"
9
#  ifdef SISVME
9
#  ifdef SISVME
10
#    include "sisvme_dll.h"
10
#    include "sisvme_dll.h"
11
#  endif
11
#  endif
12
#  ifdef WIENVME
12
#  ifdef WIENVME
13
#    include "wienvme_dll.h"
13
#    include "wienvme_dll.h"
Line 23... Line 23...
23
#include <userint.h>
23
#include <userint.h>
24
#include <ansi_c.h>
24
#include <ansi_c.h>
25
#include <utility.h>
25
#include <utility.h>
26
#include <analysis.h>
26
#include <analysis.h>
27
 
27
 
28
#include "c:\HOME\dino\l2d\include\sipmThreshold_ui.h"
28
#include "c:\HOME\dino\sipmScan\include\sipmThreshold_ui.h"
29
 
29
 
30
#ifdef USE_DAQ
30
#ifdef USE_DAQ
31
#  define USE_CAMAC
31
#  define USE_CAMAC
32
#  include "camac.h"
32
#  include "camac.h"
33
#  define NDAC 1
33
#  define NDAC 1
Line 535... Line 535...
535
#ifdef USE_MIKRO_Z
535
#ifdef USE_MIKRO_Z
536
  MIKRO_Init (MIKRO_Z,0);
536
  MIKRO_Init (MIKRO_Z,0);
537
#endif
537
#endif
538
#endif
538
#endif
539
 
539
 
540
  if ((p1h = LoadPanel (0, "sipmThreshold_ui.uir", P1)) < 0) return -1;
540
  if ((p1h = LoadPanel (0, "include/sipmThreshold_ui.uir", P1)) < 0) return -1;
541
  DisplayPanel (p1h);
541
  DisplayPanel (p1h);
542
  SetCtrlAttribute (p1h, P1_PLCH, ATTR_MAX_VALUE, NCH-1);
542
  SetCtrlAttribute (p1h, P1_PLCH, ATTR_MAX_VALUE, NCH-1);
543
 
543
 
544
  GetCtrlVal(p1h, P1_ADCHLSAVE, &runrec.xy);
544
  GetCtrlVal(p1h, P1_ADCHLSAVE, &runrec.xy);
545
  SetCtrlVal(p1h, P1_ADCHL, runrec.xy-2);
545
  SetCtrlVal(p1h, P1_ADCHL, runrec.xy-2);