Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 200 → Rev 201

/cvi/instr/DRS/drs4.c
115,7 → 115,7
buffer = (unsigned char *)malloc(buffer_size);
}
time_t t,told, tstart;
time_t t=0,told=0, tstart=0;
 
if (!DRSInit()){
time(&tstart);
127,7 → 127,7
stop_timer();
int nb = ( retval == 0 && fp ) ? DRSToBuffer( buffer , i ) : 0;
SetCtrlVal(ph,PANEL_CEVE,i);
if (retval) i--;
if (retval) i--;
if (!daq_on) break;
time(&t);
if (t!=told ) {
142,8 → 142,8
float *t=DRSGetTime(k);
float *x=DRSGetWave(k);
const int col[4]={VAL_BLACK,VAL_RED,VAL_GREEN,VAL_BLUE};
if (plothandle[k]) DeleteGraphPlot (ph, PANEL_GRAPH, plothandle[k], VAL_DELAYED_DRAW);
const int col[4]={VAL_WHITE,VAL_RED,VAL_GREEN,VAL_BLUE};
if (plothandle[k]) DeleteGraphPlot (ph, PANEL_GRAPH, plothandle[k], VAL_IMMEDIATE_DRAW);
plothandle[k] = PlotXY (ph, PANEL_GRAPH, t, x, 1024, VAL_FLOAT, VAL_FLOAT, VAL_THIN_LINE, VAL_NO_POINT, VAL_SOLID, 1, col[k]);
for (int i=0 ; i<1024 ; i++) {
151,9 → 151,11
//h[k]->Fill( t[i], x[i]*1e-3);
}
}
time(&t);
}
time(&t);
printf("%d events in %2.2f min (%d s) %s",i+1, (double)(t-tstart)/60.,t-tstart, ctime(&t));
}
DRSEnd();
}
 
/cvi/instr/DRS/drs4.cws
13,10 → 13,10
Active Project = 1
Project 0001 = "drs4.prj"
Drag Bar Left = 280
Window Top = 144
Window Left = 139
Window Bottom = 966
Window Right = 1588
Window Top = 104
Window Left = 58
Window Bottom = 926
Window Right = 1507
Maximized = False
Maximized Children = True
Max32 Number Of Errors = 20
30,7 → 30,7
Hide Windows = False
Break At First Statement = False
Sort Type = "File Name"
Number of Opened Files = 2
Number of Opened Files = 3
Window Confinement Region Enabled = True
MainColumnWidth = 263
FileDateColumnWidth = 70
46,44 → 46,46
Batch Build Debug = False
 
[File 0001]
Path = "/c/home/rok/DRS/drs4.c"
Path = "/c/home/dania/mcppmt/drs/drs.C"
File Type = "CSource"
Disk Date = 3566544473
In Projects = "1,"
Window Top = 522
Window Left = 247
Window Z-Order = 1
Source Window State = "1,146,146,146,12,22,22,0,0,141,0,2,0,2,0,43,100,0,124,37,349,683,1,0,"
Disk Date = 3566552053
In Projects = ""
Window Top = 33
Window Left = 10
Window Z-Order = 3
Source Window State = "1,64,70,70,23,25,25,0,0,80,0,0,0,0,0,25,64,0,80,19,349,683,1,0,"
 
[File 0002]
Path = "/c/home/rok/DRS/drs4.uir"
File Type = "User Interface Resource"
Disk Date = 3566543748
Disk Date = 3566560516
In Projects = "1,"
Window Top = 132
Window Left = 49
Window Height = 349
Window Width = 811
Window Z-Order = 1
 
[File 0003]
Path = "/c/home/rok/DRS/drs4.c"
File Type = "CSource"
Disk Date = 3566560308
In Projects = "1,"
Window Top = 522
Window Left = 247
Window Z-Order = 2
Source Window State = "1,145,145,145,28,95,95,0,0,80,0,2,0,2,0,25,110,0,144,48,349,683,1,0,"
 
[File 0004]
Path = "/c/home/rok/DRS/drsread.lib"
File Type = "Library"
Disk Date = 3566543748
In Projects = "1,"
 
[File 0004]
Path = "/c/Program Files/National Instruments/CVI2013/include/userint.h"
File Type = "Include"
Disk Date = 3486492000
In Projects = ""
Window Top = 33
Window Left = 10
Window Z-Order = 2
Source Window State = "1,962,962,962,8,16,16,0,0,80,0,0,0,0,0,25,950,0,962,8,349,683,1,0,"
 
[Tab Order]
Tab 0001 = "/c/home/rok/DRS/drs4.c"
Tab 0002 = "/c/Program Files/National Instruments/CVI2013/include/userint.h"
Tab 0001 = "/c/home/dania/mcppmt/drs/drs.C"
Tab 0002 = "/c/home/rok/DRS/drs4.c"
Tab 0003 = "/c/home/rok/DRS/drs4.uir"
 
[Default Build Config 0001 Debug]
Generate Browse Info = True
/cvi/instr/DRS/drs4.uir
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream