/cvi/RedPitaya/RedPitaya.c |
---|
204,7 → 204,7 |
SetStdioWindowPosition (825, 20); |
istat = viOpenDefaultRM (&RMHandle); |
if (RMHandle) istat = viOpen (RMHandle, "TCPIP0::178.172.43.73::5000::SOCKET", VI_NULL, VI_NULL, &RedPHandle); |
if (RMHandle) istat = viOpen (RMHandle, "TCPIP0::178.172.43.91::5000::SOCKET", VI_NULL, VI_NULL, &RedPHandle); |
if (RedPHandle){ |
istat = viSetAttribute (RedPHandle, VI_ATTR_TCPIP_KEEPALIVE, VI_TRUE); |
istat = viSetAttribute (RedPHandle, VI_ATTR_TCPIP_NODELAY, VI_TRUE); |
/cvi/RedPitaya/plottdc.cxx |
---|
8,8 → 8,8 |
printf("FILE %s opened\nheader read nb=%d\ndata size %d\n", filename, nb ,size); |
//int *data = new unsigned int[size]; |
int *data = new unsigned int[size]; |
nb = fread(data, sizeof(unsigned int), size, fp); |
float *data = new float[size]; |
nb = fread(data, sizeof(float), size, fp); |
printf("FILE data elements %d\n", nb); |
fclose(fp); |
TFile *f = new TFile(TString(filename)+".root","RECREATE"); |
/cvi/RedPitaya/soccli/redpitaya_gui.h |
---|
14,34 → 14,46 |
/* Panels and Controls: */ |
#define PANEL 1 |
#define PANEL_OPENGUI 2 /* control type: command, callback function: OpenGuiCB */ |
#define PANEL_EXIT 3 /* control type: command, callback function: ExitCB */ |
#define PANEL_STOP 4 /* control type: command, callback function: StopCB */ |
#define PANEL_CONNECT 5 /* control type: command, callback function: StartCB */ |
#define PANEL_INIT 6 /* control type: command, callback function: StartCB */ |
#define PANEL_START 7 /* control type: command, callback function: StartCB */ |
#define PANEL_END 8 /* control type: command, callback function: StartCB */ |
#define PANEL_IP 9 /* control type: string, callback function: (none) */ |
#define PANEL_FILENAME 10 /* control type: string, callback function: (none) */ |
#define PANEL_TIMER 11 /* control type: timer, callback function: (none) */ |
#define PANEL_TWIN1 12 /* control type: numeric, callback function: (none) */ |
#define PANEL_TWIN0 13 /* control type: numeric, callback function: (none) */ |
#define PANEL_TRGLEVEL 14 /* control type: numeric, callback function: (none) */ |
#define PANEL_TRGDELAY 15 /* control type: numeric, callback function: (none) */ |
#define PANEL_RANGE 16 /* control type: numeric, callback function: (none) */ |
#define PANEL_PFREQ 17 /* control type: numeric, callback function: (none) */ |
#define PANEL_SAMPLES 18 /* control type: numeric, callback function: (none) */ |
#define PANEL_NEVE 19 /* control type: numeric, callback function: (none) */ |
#define PANEL_CEVE 20 /* control type: numeric, callback function: (none) */ |
#define PANEL_DECIMATION 21 /* control type: ring, callback function: (none) */ |
#define PANEL_TRIGGER 22 /* control type: ring, callback function: (none) */ |
#define PANEL_ENABLEDOUTPUT 23 /* control type: radioButton, callback function: (none) */ |
#define PANEL_DEBUG 24 /* control type: radioButton, callback function: (none) */ |
#define PANEL_CH1 25 /* control type: radioButton, callback function: (none) */ |
#define PANEL_GRAPH 26 /* control type: graph, callback function: (none) */ |
#define PANEL_CH0 27 /* control type: radioButton, callback function: (none) */ |
#define PANEL_TEXTMSG 28 /* control type: textMsg, callback function: (none) */ |
#define PANEL_STDIO 29 /* control type: textBox, callback function: (none) */ |
#define PANEL_EXPORT_4 2 /* control type: command, callback function: ExportCB */ |
#define PANEL_EXPORT_2 3 /* control type: command, callback function: ExportCB */ |
#define PANEL_EXPORT_1 4 /* control type: command, callback function: ExportCB */ |
#define PANEL_EXPORT_3 5 /* control type: command, callback function: ExportCB */ |
#define PANEL_HRESET 6 /* control type: command, callback function: ResetCB */ |
#define PANEL_EXIT 7 /* control type: command, callback function: ExitCB */ |
#define PANEL_STOP 8 /* control type: command, callback function: StopCB */ |
#define PANEL_CONNECT 9 /* control type: command, callback function: StartCB */ |
#define PANEL_INIT 10 /* control type: command, callback function: StartCB */ |
#define PANEL_START 11 /* control type: command, callback function: StartCB */ |
#define PANEL_END 12 /* control type: command, callback function: StartCB */ |
#define PANEL_IP 13 /* control type: string, callback function: (none) */ |
#define PANEL_FILENAME 14 /* control type: string, callback function: (none) */ |
#define PANEL_TIMER 15 /* control type: timer, callback function: (none) */ |
#define PANEL_TWIN1 16 /* control type: numeric, callback function: (none) */ |
#define PANEL_TWIN0 17 /* control type: numeric, callback function: (none) */ |
#define PANEL_ITRGLEVEL 18 /* control type: numeric, callback function: (none) */ |
#define PANEL_TRGLEVEL 19 /* control type: numeric, callback function: (none) */ |
#define PANEL_FILENAME_EN 20 /* control type: string, callback function: (none) */ |
#define PANEL_FILETYPE 21 /* control type: ring, callback function: (none) */ |
#define PANEL_RANGE 22 /* control type: numeric, callback function: (none) */ |
#define PANEL_PFREQ 23 /* control type: numeric, callback function: (none) */ |
#define PANEL_NBEFORE 24 /* control type: numeric, callback function: (none) */ |
#define PANEL_SAMPLES 25 /* control type: numeric, callback function: (none) */ |
#define PANEL_NCALLS 26 /* control type: numeric, callback function: (none) */ |
#define PANEL_NEVE 27 /* control type: numeric, callback function: (none) */ |
#define PANEL_CEVE 28 /* control type: numeric, callback function: (none) */ |
#define PANEL_ADC2 29 /* control type: graph, callback function: (none) */ |
#define PANEL_TDC2 30 /* control type: graph, callback function: (none) */ |
#define PANEL_ADC1 31 /* control type: graph, callback function: (none) */ |
#define PANEL_TDC1 32 /* control type: graph, callback function: (none) */ |
#define PANEL_DECIMATION 33 /* control type: ring, callback function: (none) */ |
#define PANEL_TRIGGER 34 /* control type: ring, callback function: (none) */ |
#define PANEL_ENABLEDOUTPUT 35 /* control type: radioButton, callback function: (none) */ |
#define PANEL_DEBUG 36 /* control type: radioButton, callback function: (none) */ |
#define PANEL_CH1 37 /* control type: radioButton, callback function: (none) */ |
#define PANEL_GRAPH 38 /* control type: graph, callback function: (none) */ |
#define PANEL_CH0 39 /* control type: radioButton, callback function: (none) */ |
#define PANEL_TEXTMSG 40 /* control type: textMsg, callback function: (none) */ |
#define PANEL_STDIO 41 /* control type: textBox, callback function: (none) */ |
/* Control Arrays: */ |
57,7 → 69,8 |
/* Callback Prototypes: */ |
int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
int CVICALLBACK OpenGuiCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
int CVICALLBACK ExportCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
int CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
int CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
int CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
/cvi/RedPitaya/soccli/redpitaya_gui.uir |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/cvi/RedPitaya/soccli/soccli.c |
---|
6,6 → 6,9 |
#include <userint.h> |
#include "redpitaya_gui.h" |
#include "H1D.h" |
#define NBEFORE 150 |
#define MAXSAMPLES 16384 |
#define MINTRGDELAY -8192 |
17,10 → 20,13 |
static int tfID; |
int pfreq; |
static int plothandle[2]= {0,0}; |
static int tdcplothandle[2]= {0,0}; |
static int adcplothandle[2]= {0,0}; |
int debug ; |
int initialized = 0; |
#define MAX_THREADS 10 |
int nsamples=0; |
int ithreshold; |
float timebins[0XFFFF]; |
static CmtThreadPoolHandle poolHandle = 0; |
int ctrl_c=0; |
29,6 → 35,46 |
int CVICALLBACK SocketCB (unsigned handle, int xType, int errCode, void *callbackData); |
static int export_data (int hid) { |
char filename[0xFF],rootcmd[0xFF]; |
int type=0; |
int neve; |
GetCtrlVal(panelHandle,PANEL_FILENAME,filename); |
GetCtrlVal(panelHandle,PANEL_FILETYPE,&type); |
FILE *fp; |
switch (type) { |
case 0: |
case 1: |
fp =fopen(filename,"wb"); |
if (fp) { |
H1D_Write2File(hid,fp); |
fclose(fp); |
if (type) { |
sprintf(rootcmd ,"thisroot.bat && root.exe H1Dload.cxx(\\\"%s\\\")", filename); |
LaunchExecutable(rootcmd); |
} |
} |
break; |
case 2: |
fp=fopen(filename,"w"); |
if (fp) { |
for (int i=0; i<H1D_GetNbinsX(hid); i++) fprintf(fp,"%f\n", H1D_GetBinContent(hid,i) ); |
fclose(fp); |
} |
break; |
} |
return (0); |
} |
int main (int argc, char *argv[]) { |
if (InitCVIRTE (0, argv, 0) == 0) |
return -1; /* out of memory */ |
39,7 → 85,21 |
SetStdioPort (CVI_STDIO_WINDOW); |
SetSleepPolicy(VAL_SLEEP_MORE); |
CmtNewThreadPool (MAX_THREADS, &poolHandle); |
H1D_Init(1, "ADC ch 1","Pulse height", 100, 0, 5000 ); |
H1D_SetTitleX(1,"ADC (a.u.)"); |
H1D_SetTitleY(1,"N"); |
H1D_Init(3, "TDC ch 1","TDC", 200, 0, 1000 ); |
H1D_SetTitleX(3,"TDC (a.u.)"); |
H1D_SetTitleY(3,"N"); |
H1D_Init(2, "ADC ch 2","Pulse height", 100, 0, 5000 ); |
H1D_SetTitleX(2,"ADC (a.u.)"); |
H1D_SetTitleY(2,"N"); |
H1D_Init(4, "TDC ch 2","TDC", 200, 0, 1000 ); |
H1D_SetTitleX(4,"TDC (a.u.)"); |
H1D_SetTitleY(4,"N"); |
//for (int i=0;i<1000;i++) H1D_Fill(1,i,i); |
H1D_Draw(1,panelHandle,PANEL_ADC1,&adcplothandle[0]); |
printf("size of double = %d\n",sizeof(double)); |
DisplayPanel (panelHandle); |
RunUserInterface (); |
DiscardPanel (panelHandle); |
71,6 → 131,7 |
} |
int analyse(int neve, unsigned char *cdata) { |
int *data = (int *) cdata; |
90,20 → 151,39 |
} |
if ( id != *(data++) ) printf("Error\n"); |
int nsamples = *(data++); |
//printf("nsamples %d\n", nsamples); |
if (nsamples<=0 || nsamples>16*1024){ |
printf("Error nsamples %d\n", nsamples); |
return -1; |
} |
if (i % pfreq == 0) { |
if ( nsamples>0 && i % pfreq == 0) { |
const int col[4]= {VAL_RED,VAL_GREEN,VAL_BLUE,VAL_WHITE}; |
if (plothandle[id]) DeleteGraphPlot (panelHandle, PANEL_GRAPH, plothandle[id], VAL_IMMEDIATE_DRAW); |
//plothandle[id] = PlotXY (panelHandle, PANEL_GRAPH, timebins, (float *) data, nsamples, VAL_FLOAT, VAL_FLOAT, VAL_THIN_LINE, VAL_NO_POINT, VAL_SOLID, 1, col[id]); |
//float fdata[nsamples]; |
//for (int k=0;k<nsamples;k++) fdata[k] = *(float *) (data+k); |
//printf("data0 %f %d\n", fdata[0], data[0]); |
//plothandle[id] = PlotXY (panelHandle, PANEL_GRAPH, timebins, fdata, nsamples, VAL_FLOAT, VAL_FLOAT, VAL_THIN_LINE, VAL_NO_POINT, VAL_SOLID, 1, col[id]); |
plothandle[id] = PlotXY (panelHandle, PANEL_GRAPH, timebins, data, nsamples, VAL_FLOAT, VAL_INTEGER, VAL_THIN_LINE, VAL_NO_POINT, VAL_SOLID, 1, col[id]); |
H1D_Draw(1,panelHandle,PANEL_ADC1,&adcplothandle[0]); |
H1D_Draw(2,panelHandle,PANEL_ADC2,&adcplothandle[1]); |
H1D_Draw(3,panelHandle,PANEL_TDC1,&tdcplothandle[0]); |
H1D_Draw(4,panelHandle,PANEL_TDC2,&tdcplothandle[1]); |
if (debug) for (int k=0; k<10; k++) printf("%d %d (%f , %d)\n", id,k, timebins[k],data[k]); |
} |
data+=nsamples; |
float adcdata = 10000; |
for (int k=0; k<nsamples; k++) { |
if (data[k] < adcdata) adcdata = data[k]; |
if (data[k] < ithreshold && data[k-1] > ithreshold) H1D_Fill(3+id, k,1); |
} |
H1D_Fill(1+id, -adcdata,1); |
data+=nsamples; |
} |
recid = *data++; |
int event = *data++; |
//printf("recid %d event %d\n",recid, event ); |
115,12 → 195,13 |
unsigned char data[100000000]; |
int *idata = (int *) &data[0]; |
static int ncalls = 0; |
int CVICALLBACK SocketCB (unsigned handle, int xType, int errCode, void *callbackData) { |
int nb = 0 ; |
static int event = 0; |
static int ncalls = 0; |
unsigned char cmd; |
switch (xType) { |
case TCP_DISCONNECT: |
159,7 → 240,11 |
} |
printf("Read nb = %d size %d\n", nb, size); |
analyse(neve, data); |
if (ctrl_c==0) StartCB (panelHandle, PANEL_START,EVENT_COMMIT,NULL, 0, 0 ); |
GetCtrlVal(panelHandle,PANEL_CEVE , &event); |
GetCtrlVal(panelHandle,PANEL_NCALLS , &ncalls); |
event +=1; |
SetCtrlVal(panelHandle,PANEL_CEVE , event); |
if (ctrl_c==0 && event < ncalls) StartCB (panelHandle, PANEL_START,EVENT_COMMIT,NULL, 0, 0 ); |
} |
188,12 → 273,12 |
unsigned char mask; |
unsigned char trigger; |
unsigned short nsamples; |
unsigned short delay; |
int delay; |
int nbefore; |
unsigned short decimation; |
unsigned short neve; |
switch (event) { |
case EVENT_COMMIT: { |
ncalls = 0; |
GetCtrlVal(panel,PANEL_IP, ip); |
GetCtrlVal(panel,PANEL_TRIGGER, &trigger); |
GetCtrlVal(panel,PANEL_SAMPLES, &nsamples); |
203,8 → 288,10 |
GetCtrlVal(panel,PANEL_CH1 , &imask[1] ); |
GetCtrlVal(panel,PANEL_PFREQ , &pfreq); |
GetCtrlVal(panel,PANEL_DEBUG , &debug); |
delay= MINTRGDELAY + nsamples - NBEFORE + 1; |
delay= nsamples - NBEFORE + 1; |
GetCtrlVal(panel,PANEL_NBEFORE , &nbefore); |
delay= MINTRGDELAY + nsamples - nbefore + 1; |
//delay= nsamples - NBEFORE + 1; |
mask = 0; |
for (int i=0; i<2; i++) { |
if (imask[i]) mask |= (1<<i); |
212,8 → 299,8 |
double level =0; |
GetCtrlVal(panel,PANEL_TRGLEVEL , &level); |
GetCtrlVal(panel,PANEL_ITRGLEVEL , &ithreshold); |
switch (control) { |
case PANEL_CONNECT: |
ConnectToTCPServerEx (&chandle, 9930, ip, SocketCB, NULL, 0, TCP_ANY_LOCAL_PORT); |
224,6 → 311,7 |
hdr[0] = delay; |
hdr[1] = decimation; |
hdr[2] = level * 1000; |
SetCtrlVal(panel,PANEL_CEVE , 0); |
ClientTCPWrite(chandle,&msg[0],13,5000); // init |
break; |
case PANEL_START: |
290,3 → 378,31 |
} |
return 0; |
} |
int CVICALLBACK ExportCB (int panel, int control, int event, |
void *callbackData, int eventData1, int eventData2) { |
int hid=0; |
switch (event) { |
case EVENT_COMMIT: |
switch (control){ |
case PANEL_EXPORT_1: hid=1; break; |
case PANEL_EXPORT_2: hid=2; break; |
case PANEL_EXPORT_3: hid=3; break; |
case PANEL_EXPORT_4: hid=4; break; |
} |
export_data(hid); |
break; |
} |
return 0; |
} |
int CVICALLBACK ResetCB (int panel, int control, int event, |
void *callbackData, int eventData1, int eventData2) { |
switch (event) { |
case EVENT_COMMIT: |
for (int i=1;i<=4;i++) H1D_Clear(i); |
break; |
} |
return 0; |
} |
/cvi/RedPitaya/soccli/soccli.cws |
---|
1,6 → 1,6 |
[Workspace Header] |
Version = 1302 |
Pathname = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli/soccli.cws" |
Pathname = "/c/home/CVI/RedPitaya/soccli/soccli.cws" |
CVI Dir = "/c/program files (x86)/national instruments/cvi2013" |
CVI Shared Dir = "/C/Program Files (x86)/National Instruments/Shared/CVI" |
CVI Pub Local Dir = "/C/ProgramData/National Instruments/CVI2013" |
13,11 → 13,13 |
Active Project = 1 |
Project 0001 = "soccli.prj" |
Project 0002 = "/c/home/CVI/RedPitaya/RedPitaya.prj" |
Drag Bar Left = 360 |
Window Top = 83 |
Window Left = 143 |
Window Bottom = 792 |
Window Right = 1455 |
Project 0002 Folder User Interface Files Collapsed = True |
Project 0002 FolderId 0 Collapsed = True |
Drag Bar Left = 202 |
Window Top = 97 |
Window Left = 47 |
Window Bottom = 806 |
Window Right = 1502 |
Maximized = False |
Maximized Children = True |
Max32 Number Of Errors = 20 |
31,9 → 33,9 |
Hide Windows = False |
Break At First Statement = False |
Sort Type = "File Name" |
Number of Opened Files = 0 |
Number of Opened Files = 8 |
Window Confinement Region Enabled = True |
MainColumnWidth = 343 |
MainColumnWidth = 185 |
FileDateColumnWidth = 70 |
FileSizeColumnWidth = 70 |
56,25 → 58,44 |
Batch Build Debug = False |
[File 0001] |
Path = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli/soccli.c" |
Path = "/c/home/CVI/instr/HISTO/H1D.fp" |
File Type = "Function Panel" |
Disk Date = 3572595964 |
In Projects = "1," |
[File 0002] |
Path = "/c/home/CVI/RedPitaya/soccli/soccli.c" |
File Type = "CSource" |
Disk Date = 3572526558 |
Disk Date = 3572868741 |
In Projects = "1," |
Window Top = 33 |
Window Left = 10 |
Source Window State = "1,217,217,217,19,23,23,0,0,0,0,0,0,0,0,0,203,0,224,79,349,595,1,0," |
Window Z-Order = 1 |
Source Window State = "0,403,403,403,37,38,37,0,0,152,34,288,0,305,10,2,16,0,318,0,349,595,1,9601," |
[File 0002] |
Path = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli/redpitaya_gui.uir" |
[File 0003] |
Path = "/c/home/CVI/RedPitaya/soccli/redpitaya_gui.uir" |
File Type = "User Interface Resource" |
Disk Date = 3572500974 |
Disk Date = 3572857337 |
In Projects = "1," |
Window Top = 64 |
Window Left = 26 |
Window Height = 232 |
Window Width = 595 |
Window Z-Order = 5 |
[File 0003] |
[File 0004] |
Path = "/c/home/CVI/RedPitaya/RedPitaya_ui.uir" |
File Type = "User Interface Resource" |
Disk Date = 3570147178 |
In Projects = "2," |
Window Top = 64 |
Window Left = 26 |
Window Height = 323 |
Window Width = 683 |
Window Z-Order = 7 |
[File 0005] |
Path = "/c/home/CVI/RedPitaya/RedPitaya.c" |
File Type = "CSource" |
Disk Date = 3572432069 |
81,22 → 102,43 |
In Projects = "2," |
Window Top = 126 |
Window Left = 58 |
Source Window State = "1,129,129,129,56,66,66,0,0,80,0,0,0,0,0,18,120,0,139,44,258,683,1,0," |
Window Z-Order = 6 |
Source Window State = "1,43,43,43,0,26,26,0,0,80,0,0,0,0,0,18,241,0,252,37,258,683,1,0," |
[File 0004] |
Path = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli/soccli.h" |
[File 0006] |
Path = "/c/home/CVI/instr/HISTO/H1D.c" |
File Type = "CSource" |
Disk Date = 3572595964 |
In Projects = "" |
Window Top = 126 |
Window Left = 58 |
Window Z-Order = 4 |
Source Window State = "1,17,17,17,15,24,24,0,0,80,0,0,0,0,0,23,0,0,22,9,323,683,1,0," |
[File 0007] |
Path = "/c/home/CVI/instr/DRS/drs4.c" |
File Type = "CSource" |
Disk Date = 3572595963 |
In Projects = "" |
Window Top = 126 |
Window Left = 58 |
Window Z-Order = 8 |
Source Window State = "1,542,542,542,8,54,8,0,3,80,0,0,0,0,0,18,528,0,542,54,258,683,1,0," |
[File 0008] |
Path = "/c/home/CVI/RedPitaya/soccli/soccli.h" |
File Type = "Include" |
Disk Date = 3572249558 |
Disk Date = 3572533057 |
In Projects = "1," |
Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," |
[File 0005] |
Path = "/c/home/CVI/RedPitaya/RedPitaya_ui.uir" |
File Type = "User Interface Resource" |
Disk Date = 3570147178 |
In Projects = "2," |
[File 0009] |
Path = "/c/home/CVI/RedPitaya/soccli/plottdc.cxx" |
File Type = "Unknown" |
Disk Date = 3570148039 |
In Projects = "1," |
[File 0006] |
[File 0010] |
Path = "/c/home/CVI/RedPitaya/RedPitaya_ui.h" |
File Type = "Include" |
Disk Date = 3570144632 |
103,12 → 145,42 |
In Projects = "2," |
Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," |
[File 0007] |
[File 0011] |
Path = "/c/home/CVI/RedPitaya/plottdc.cxx" |
File Type = "Unknown" |
Disk Date = 3570148039 |
Disk Date = 3572600625 |
In Projects = "2," |
[File 0012] |
Path = "/c/home/CVI/RedPitaya/soccli/mH1D.h" |
File Type = "Include" |
Disk Date = 3572868697 |
In Projects = "" |
Window Top = 33 |
Window Left = 10 |
Window Z-Order = 3 |
Source Window State = "1,0,0,0,0,0,0,0,0,80,0,0,0,0,0,23,0,0,25,56,323,683,1,0," |
[File 0013] |
Path = "/c/home/CVI/instr/HISTO/H1D.h" |
File Type = "Include" |
Disk Date = 3572868701 |
In Projects = "" |
Window Top = 64 |
Window Left = 26 |
Window Z-Order = 2 |
Source Window State = "1,31,31,31,2,13,13,0,0,80,0,0,0,0,0,23,7,0,26,44,323,683,1,0," |
[Tab Order] |
Tab 0001 = "/c/home/CVI/RedPitaya/soccli/soccli.c" |
Tab 0002 = "/c/home/CVI/RedPitaya/soccli/redpitaya_gui.uir" |
Tab 0003 = "/c/home/CVI/RedPitaya/RedPitaya.c" |
Tab 0004 = "/c/home/CVI/instr/DRS/drs4.c" |
Tab 0005 = "/c/home/CVI/instr/HISTO/H1D.c" |
Tab 0006 = "/c/home/CVI/RedPitaya/RedPitaya_ui.uir" |
Tab 0007 = "/c/home/CVI/RedPitaya/soccli/mH1D.h" |
Tab 0008 = "/c/home/CVI/instr/HISTO/H1D.h" |
[Default Build Config 0001 Debug] |
Generate Browse Info = False |
Enable Uninitialized Locals Runtime Warning = True |
/cvi/RedPitaya/soccli/soccli.prj |
---|
1,6 → 1,6 |
[Project Header] |
Version = 1302 |
Pathname = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli.prj" |
Pathname = "/c/home/CVI/RedPitaya/soccli/soccli.prj" |
Project Label = "soccli" |
CVI Dir = "/c/program files (x86)/national instruments/cvi2013" |
CVI Shared Dir = "/C/Program Files (x86)/National Instruments/Shared/CVI" |
10,7 → 10,7 |
VXIplug&play Framework Dir = "/C/Program Files (x86)/IVI Foundation/VISA/winnt" |
IVI Standard Root 64-bit Dir = "/C/Program Files/IVI Foundation/IVI" |
VXIplug&play Framework 64-bit Dir = "/C/Program Files/IVI Foundation/VISA/win64" |
Number of Files = 3 |
Number of Files = 5 |
Target Type = "Executable" |
Flags = 2064 |
Copied From Locked InstrDrv Directory = False |
19,7 → 19,6 |
Don't Display Deploy InstrDrv Dialog = False |
[Folders] |
Instrument Files Folder Not Added Yet = True |
Library Files Folder Not Added Yet = True |
Folder 0 = "Source Files" |
FolderEx 0 = "Source Files" |
27,6 → 26,8 |
FolderEx 1 = "Include Files" |
Folder 2 = "User Interface Files" |
FolderEx 2 = "User Interface Files" |
Folder 3 = "Instrument Files" |
FolderEx 3 = "Instrument Files" |
[File 0001] |
File Type = "CSource" |
34,7 → 35,7 |
Path Is Rel = True |
Path Rel To = "Project" |
Path Rel Path = "soccli.c" |
Path = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli.c" |
Path = "/c/home/CVI/RedPitaya/soccli/soccli.c" |
Exclude = False |
Compile Into Object File = False |
Project Flags = 0 |
47,7 → 48,7 |
Path Is Rel = True |
Path Rel To = "Project" |
Path Rel Path = "soccli.h" |
Path = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli.h" |
Path = "/c/home/CVI/RedPitaya/soccli/soccli.h" |
Exclude = False |
Project Flags = 0 |
Folder = "Include Files" |
59,12 → 60,36 |
Path Is Rel = True |
Path Rel To = "Project" |
Path Rel Path = "redpitaya_gui.uir" |
Path = "/c/Users/rok/Documents/rok/lab/redpitaya/redpitaya_gui.uir" |
Path = "/c/home/CVI/RedPitaya/soccli/redpitaya_gui.uir" |
Exclude = False |
Project Flags = 0 |
Folder = "User Interface Files" |
Folder Id = 2 |
[File 0004] |
File Type = "Function Panel" |
Res Id = 4 |
Path Is Rel = True |
Path Rel To = "Project" |
Path Rel Path = "../../instr/HISTO/H1D.fp" |
Path = "/c/home/CVI/instr/HISTO/H1D.fp" |
Exclude = False |
Project Flags = 0 |
Folder = "Instrument Files" |
Folder Id = 3 |
[File 0005] |
File Type = "Unknown" |
Res Id = 5 |
Path Is Rel = True |
Path Rel To = "Project" |
Path Rel Path = "plottdc.cxx" |
Path = "/c/home/CVI/RedPitaya/soccli/plottdc.cxx" |
Exclude = False |
Project Flags = 0 |
Folder = "Instrument Files" |
Folder Id = 3 |
[Custom Build Configs] |
Num Custom Build Configs = 0 |
121,6 → 146,32 |
Using LoadExternalModule = False |
DLL Exports = "Include File Symbols" |
Register ActiveX Server = False |
Numeric File Version = "1,0,0,0" |
Numeric Prod Version = "1,0,0,0" |
Comments = "" |
Comments Ex = "" |
Company Name = "" |
Company Name Ex = "%company" |
File Description = "soccli (Debug x86)" |
File Description Ex = "%application (%rel_dbg %arch)" |
File Version = "1.0" |
File Version Ex = "%f1.%f2" |
Internal Name = "soccli" |
Internal Name Ex = "%basename" |
Legal Copyright = "Copyright © 2017" |
Legal Copyright Ex = "Copyright © %company %Y" |
Legal Trademarks = "" |
Legal Trademarks Ex = "" |
Original Filename = "soccli.exe" |
Original Filename Ex = "%filename" |
Private Build = "" |
Private Build Ex = "" |
Product Name = " soccli" |
Product Name Ex = "%company %application" |
Product Version = "1.0" |
Product Version Ex = "%p1.%p2" |
Special Build = "" |
Special Build Ex = "" |
Add Type Lib To DLL = False |
Include Type Lib Help Links = False |
TLB Help Style = "HLP" |
331,19 → 382,19 |
Executable File_Debug Is Rel = True |
Executable File_Debug Rel To = "Project" |
Executable File_Debug Rel Path = "soccli.exe" |
Executable File_Debug = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli.exe" |
Executable File_Debug = "/c/home/CVI/RedPitaya/soccli/soccli.exe" |
Executable File_Release Is Rel = True |
Executable File_Release Rel To = "Project" |
Executable File_Release Rel Path = "soccli.exe" |
Executable File_Release = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli.exe" |
Executable File_Release = "/c/home/CVI/RedPitaya/soccli/soccli.exe" |
Executable File_Debug64 Is Rel = True |
Executable File_Debug64 Rel To = "Project" |
Executable File_Debug64 Rel Path = "soccli.exe" |
Executable File_Debug64 = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli.exe" |
Executable File_Debug64 = "/c/home/CVI/RedPitaya/soccli/soccli.exe" |
Executable File_Release64 Is Rel = True |
Executable File_Release64 Rel To = "Project" |
Executable File_Release64 Rel Path = "soccli.exe" |
Executable File_Release64 = "/c/Users/rok/Documents/rok/lab/redpitaya/soccli.exe" |
Executable File_Release64 = "/c/home/CVI/RedPitaya/soccli/soccli.exe" |
Icon File Is Rel = False |
Icon File = "" |
Application Title = "" |