Subversion Repositories f9daq

Compare Revisions

No changes between revisions

Ignore whitespace Rev 144 → Rev 323

/wavejet/trunk/wavejet.c
11,6 → 11,7
#endif /* _CVI_DEBUG_ */
#include "wavejet_ui.h"
 
int ctrl_c=0;
//#define SCOPE_IP "192.168.1.11"
#define MAX_TCP_CONNECT 5 /* time in secs to get a connection */
#define MAX_TCP_READ 3 /* time in secs to wait for the DSO
38,6 → 39,69
}
*/
 
int CVICALLBACK acquire_waveforms(void *functionData) {
struct HDR {
int id;
int length;
int event;
};
struct HDR hdr;
int p1_tra[5]={P1_TRA_1,P1_TRA_2,P1_TRA_3,P1_TRA_4,0};
char outbuf[MAX_ST],inbuf[MAX_ST], tmpstr[100];
static char databuf[1000000];
int status, byte_count;
char filename[0xFF];
GetCtrlVal (p1h, P1_FNAME, filename);
ctrl_c=0;
LECROY_TCP_write(sockfd, "DTFORM BYTE\n");
LECROY_TCP_write(sockfd, "DTSTART 0\n");
LECROY_TCP_write(sockfd, "MLEN 1M\n");
LECROY_TCP_write(sockfd, "DTPOINTS 5000\n");
//LECROY_TCP_write(sockfd, "DTPOINTS 0\n");
FILE *fp = fopen (filename, "wb");
int maxeve;
GetCtrlVal (p1h, P1_NEVE, &maxeve);
for (int neve=0;neve<maxeve;neve++){
SetCtrlVal (p1h, P1_CEVE, neve+1);
sprintf(outbuf,"WSGL?\n");
LECROY_TCP_write(sockfd, outbuf);
LECROY_TCP_read(sockfd, inbuf, sizeof(inbuf), MAX_TCP_READ);
sscanf(inbuf,"%s",tmpstr);
hdr.event=neve;
for (int ch=0;ch<4;ch++){
int on;
GetCtrlVal (p1h, p1_tra[ch], &on);
if (on){
hdr.id=ch;
sprintf(outbuf,"WAVESRC CH%d\n",ch+1);
LECROY_TCP_write(sockfd, outbuf);
sprintf(outbuf,"DTWAVE?\n");
LECROY_TCP_write(sockfd, outbuf);
LECROY_TCP_read(sockfd, databuf, sizeof(databuf), MAX_TCP_READ);
sscanf(databuf,"# %1d %8d",&status,&byte_count);
printf("[%d] wfmid=%d bytes=%d\n", neve,status, byte_count);
if (byte_count<=0) continue;
hdr.length = byte_count+sizeof(hdr);
status = fwrite (&hdr, 1, sizeof(hdr), fp);
status = fwrite (&databuf[10], 1, byte_count, fp);
}
}
if (ctrl_c) break;
}
ctrl_c=0;
status = fclose (fp);
SetCtrlVal(p1h, P1_DTWFM, 0);
return 0;
}
int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, int nCmdShow)
{
44,7 → 108,7
int i;
int status,connected,displen;
int refon;
int tmpindex,tmpint;
int tmpindex,tmpint, dummy;
int p1_tra[5]={P1_TRA_1,P1_TRA_2,P1_TRA_3,P1_TRA_4,0};
int p1_vdiv[5]={P1_VDIV_1,P1_VDIV_2,P1_VDIV_3,P1_VDIV_4,0};
int p1_bwl[5]={P1_BWL_1,P1_BWL_2,P1_BWL_3,P1_BWL_4,0};
52,6 → 116,7
char ip_address[50],tmpstr[100];
char outbuf[MAX_ST],inbuf[MAX_ST];
char display[500000],imgfn[300],ftyp[10];
int daqon=0;
 
FILE *imgfp;
 
289,8 → 354,23
strcpy(outbuf,"GTL\n");
LECROY_TCP_write(sockfd, outbuf);
break;
//case P1_GET_SETUP:
// break;
case P1_DTWFM:
if (!connected) break;
GetCtrlVal(p1h, P1_DTWFM, &daqon);
if (daqon) {
CmtScheduleThreadPoolFunction (poolHandle, acquire_waveforms, (void *)&dummy, &tfID);
} else {
ctrl_c=1;
//CmtWaitForThreadPoolFunctionCompletion (poolHandle, tfID,
// OPT_TP_PROCESS_EVENTS_WHILE_WAITING);
//CmtReleaseThreadPoolFunctionID (poolHandle, tfID)
}
break;
default:
break;
}
/wavejet/trunk/wavejet.cws
1,6 → 1,6
[Workspace Header]
Version = 1302
Pathname = "/c/home/samo/cvi/wavejet/wavejet.cws"
Pathname = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.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"
14,11 → 14,11
Project 0001 = "wavejet.prj"
Project 0001 Folder Library Files Collapsed = True
Project 0001 FolderId 3 Collapsed = True
Drag Bar Left = 348
Window Top = 57
Window Left = 271
Window Bottom = 1058
Window Right = 1931
Drag Bar Left = 202
Window Top = 292
Window Left = 1726
Window Bottom = 1158
Window Right = 3322
Maximized = False
Maximized Children = True
Max32 Number Of Errors = 20
32,9 → 32,9
Hide Windows = False
Break At First Statement = False
Sort Type = "File Name"
Number of Opened Files = 7
Number of Opened Files = 3
Window Confinement Region Enabled = True
MainColumnWidth = 331
MainColumnWidth = 185
FileDateColumnWidth = 70
FileSizeColumnWidth = 70
 
42,108 → 42,72
Version = 1302
Don't Update DistKit = False
Platform Code = 4
Build Configuration = "Release"
Build Configuration = "Debug"
Warn User If Debugging Release = 1
Batch Build Release = False
Batch Build Debug = False
 
[File 0001]
Path = "/c/home/samo/cvi/wavejet/wavejet.c"
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.c"
File Type = "CSource"
Disk Date = 3527894768
Disk Date = 3634817016
In Projects = "1,"
Window Top = 31
Window Left = 8
Window Height = -16281
Window Z-Order = 2
Source Window State = "1,9,10,9,0,0,0,0,0,80,0,0,0,0,0,25,0,0,11,1,349,683,1,0,"
Window Top = 64
Window Left = 26
Window Z-Order = 1
Source Window State = "1,51,51,51,13,36,13,0,0,169,0,0,0,0,0,40,64,0,88,54,349,683,1,0,"
 
[File 0002]
Path = "/c/home/samo/cvi/wavejet/lecroy_tcp.c"
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/lecroy_tcp.c"
File Type = "CSource"
Disk Date = 3527591230
Disk Date = 3634782235
In Projects = "1,"
Window Top = 112
Window Left = 56
Window Height = -16281
Window Z-Order = 7
Source Window State = "1,0,0,0,0,0,0,0,0,80,0,0,0,0,0,25,0,0,233,28,349,683,1,0,"
Window Z-Order = 3
Source Window State = "1,111,111,111,4,19,19,0,0,80,0,0,0,0,0,25,165,0,212,4,349,683,1,0,"
 
[File 0003]
Path = "/c/home/samo/cvi/wavejet/wavejet_ui.uir"
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet_ui.uir"
File Type = "User Interface Resource"
Disk Date = 3527806244
Disk Date = 3634816685
In Projects = "1,"
Window Top = 46
Window Left = 20
Window Height = 349
Window Width = 683
Window Z-Order = 6
Window Z-Order = 2
 
[File 0004]
Path = "/c/home/samo/cvi/wavejet/lecroy_tcp.h"
File Type = "Include"
Disk Date = 3527591230
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet_uic.c"
File Type = "CSource"
Disk Date = 3634782235
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,"
Window Top = 126
Window Left = 58
Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,349,683,1,0,"
 
[File 0005]
Path = "/c/Program Files (x86)/National Instruments/CVI2013/sdk/lib/msvc/WS2_32.Lib"
File Type = "Library"
Disk Date = 3486470400
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/lecroy_tcp.h"
File Type = "Include"
Disk Date = 3634782235
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 0006]
Path = "/c/home/samo/cvi/wavejet/wavejet_uic.h"
File Type = "Include"
Disk Date = 3527893841
In Projects = ""
Window Top = 33
Window Left = 10
Window Z-Order = 5
Source Window State = "1,0,0,0,0,0,0,0,0,80,0,0,0,0,0,25,0,0,0,0,349,683,1,0,"
 
[File 0007]
Path = "/c/home/samo/cvi/wavejet/wavejet_ui.h"
File Type = "Include"
Disk Date = 3527806245
In Projects = ""
Window Top = 64
Window Left = 26
Window Z-Order = 4
Source Window State = "1,0,0,0,0,0,0,0,0,80,0,0,0,0,0,25,0,0,0,0,349,683,1,0,"
 
[File 0008]
Path = "/c/home/samo/cvi/wavejet/wavejet_uic.c"
File Type = "CSource"
Disk Date = 3527893841
Path = "/c/program files (x86)/national instruments/cvi2013/sdk/lib/msvc/WS2_32.Lib"
File Type = "Library"
Disk Date = 3486495600
In Projects = "1,"
Window Top = 126
Window Left = 58
Window Z-Order = 3
Source Window State = "1,0,0,0,0,0,0,0,0,80,0,0,0,0,0,25,0,0,0,0,349,683,1,0,"
 
[File 0009]
Path = "/c/home/cvi/instr/MIKRO/MIKRO.c"
File Type = "CSource"
Disk Date = 3527895045
In Projects = ""
Window Top = 95
Window Left = 42
Window Z-Order = 1
Source Window State = "1,318,319,318,0,0,0,0,0,159,0,0,0,0,0,56,262,0,322,2,349,683,1,0,"
 
[Tab Order]
Tab 0001 = "/c/home/samo/cvi/wavejet/lecroy_tcp.c"
Tab 0002 = "/c/home/samo/cvi/wavejet/wavejet.c"
Tab 0003 = "/c/home/samo/cvi/wavejet/wavejet_ui.uir"
Tab 0004 = "/c/home/samo/cvi/wavejet/wavejet_uic.h"
Tab 0005 = "/c/home/samo/cvi/wavejet/wavejet_ui.h"
Tab 0006 = "/c/home/cvi/instr/MIKRO/MIKRO.c"
Tab 0007 = "/c/home/samo/cvi/wavejet/wavejet_uic.c"
Tab 0001 = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.c"
Tab 0002 = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet_ui.uir"
Tab 0003 = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/lecroy_tcp.c"
 
[Default Build Config 0001 Debug]
Generate Browse Info = True
Generate Browse Info = False
Enable Uninitialized Locals Runtime Warning = True
Batch Build = False
Profile = "Disabled"
155,7 → 119,7
External Process Path = ""
 
[Default Build Config 0001 Release]
Generate Browse Info = True
Generate Browse Info = False
Enable Uninitialized Locals Runtime Warning = True
Batch Build = False
Profile = "Disabled"
167,7 → 131,7
External Process Path = ""
 
[Default Build Config 0001 Debug64]
Generate Browse Info = True
Generate Browse Info = False
Enable Uninitialized Locals Runtime Warning = True
Batch Build = False
Profile = "Disabled"
179,7 → 143,7
External Process Path = ""
 
[Default Build Config 0001 Release64]
Generate Browse Info = True
Generate Browse Info = False
Enable Uninitialized Locals Runtime Warning = True
Batch Build = False
Profile = "Disabled"
194,7 → 158,7
Number of Dependencies = 0
 
[Build Options 0001]
Generate Browse Info = True
Generate Browse Info = False
Enable Uninitialized Locals Runtime Warning = True
Execution Trace = "Disabled"
Profile = "Disabled"
/wavejet/trunk/wavejet.prj
1,6 → 1,6
[Project Header]
Version = 1302
Pathname = "/c/home/samo/cvi/wavejet/wavejet.prj"
Pathname = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.prj"
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"
34,7 → 34,7
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "lecroy_tcp.c"
Path = "/c/home/samo/cvi/wavejet/lecroy_tcp.c"
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/lecroy_tcp.c"
Exclude = False
Compile Into Object File = False
Project Flags = 0
47,7 → 47,7
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "wavejet.c"
Path = "/c/home/samo/cvi/wavejet/wavejet.c"
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.c"
Exclude = False
Compile Into Object File = False
Project Flags = 0
60,7 → 60,7
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "wavejet_uic.c"
Path = "/c/home/samo/cvi/wavejet/wavejet_uic.c"
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet_uic.c"
Exclude = False
Compile Into Object File = False
Project Flags = 0
73,7 → 73,7
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "lecroy_tcp.h"
Path = "/c/home/samo/cvi/wavejet/lecroy_tcp.h"
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/lecroy_tcp.h"
Exclude = False
Project Flags = 0
Folder = "Include Files"
85,7 → 85,7
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "wavejet_ui.uir"
Path = "/c/home/samo/cvi/wavejet/wavejet_ui.uir"
Path = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet_ui.uir"
Exclude = False
Project Flags = 0
Folder = "User Interface Files"
98,7 → 98,7
Path Rel To = "CVI"
Path Rel To Override = "CVI"
Path Rel Path = "sdk/lib/msvc/WS2_32.Lib"
Path = "/c/program files (x86)/national instruments/cvi2013/sdk/lib/msvc/WS2_32.Lib"
Path = "/c/Program Files (x86)/National Instruments/CVI2013/sdk/lib/msvc/WS2_32.Lib"
Exclude = False
Project Flags = 0
Folder = "Library Files"
144,7 → 144,7
Icon File Is Rel = True
Icon File Rel To = "Project"
Icon File Rel Path = "wavejet.ico"
Icon File = "/c/home/samo/cvi/wavejet/wavejet.ico"
Icon File = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.ico"
Application Title = ""
Use IVI Subdirectories for Import Libraries = False
Use VXIPNP Subdirectories for Import Libraries = False
166,7 → 166,7
Numeric Prod Version = "1,0,0,0"
Comments = ""
Comments Ex = ""
Company Name = "Jozef Stefan Institute"
Company Name = ""
Company Name Ex = "%company"
File Description = "wavejet (Debug x86)"
File Description Ex = "%application (%rel_dbg %arch)"
174,7 → 174,7
File Version Ex = "%f1.%f2"
Internal Name = "wavejet"
Internal Name Ex = "%basename"
Legal Copyright = "Copyright © Jozef Stefan Institute 2016"
Legal Copyright = "Copyright © 2019"
Legal Copyright Ex = "Copyright © %company %Y"
Legal Trademarks = ""
Legal Trademarks Ex = ""
182,7 → 182,7
Original Filename Ex = "%filename"
Private Build = ""
Private Build Ex = ""
Product Name = "Jozef Stefan Institute wavejet"
Product Name = " wavejet"
Product Name Ex = "%company %application"
Product Version = "1.0"
Product Version Ex = "%p1.%p2"
251,7 → 251,7
Numeric Prod Version = "1,0,0,0"
Comments = ""
Comments Ex = ""
Company Name = "Jozef Stefan Institute"
Company Name = ""
Company Name Ex = "%company"
File Description = "wavejet (Release x86)"
File Description Ex = "%application (%rel_dbg %arch)"
259,7 → 259,7
File Version Ex = "%f1.%f2"
Internal Name = "wavejet"
Internal Name Ex = "%basename"
Legal Copyright = "Copyright © Jozef Stefan Institute 2016"
Legal Copyright = "Copyright © 2019"
Legal Copyright Ex = "Copyright © %company %Y"
Legal Trademarks = ""
Legal Trademarks Ex = ""
267,7 → 267,7
Original Filename Ex = "%filename"
Private Build = ""
Private Build Ex = ""
Product Name = "Jozef Stefan Institute wavejet"
Product Name = " wavejet"
Product Name Ex = "%company %application"
Product Version = "1.0"
Product Version Ex = "%p1.%p2"
424,19 → 424,19
Executable File_Debug Is Rel = True
Executable File_Debug Rel To = "Project"
Executable File_Debug Rel Path = "wavejet.exe"
Executable File_Debug = "/c/home/samo/cvi/wavejet/wavejet.exe"
Executable File_Debug = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.exe"
Executable File_Release Is Rel = True
Executable File_Release Rel To = "Project"
Executable File_Release Rel Path = "wavejet.exe"
Executable File_Release = "/c/home/samo/cvi/wavejet/wavejet.exe"
Executable File_Release = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.exe"
Executable File_Debug64 Is Rel = True
Executable File_Debug64 Rel To = "Project"
Executable File_Debug64 Rel Path = "wavejet.exe"
Executable File_Debug64 = "/c/home/samo/cvi/wavejet/wavejet.exe"
Executable File_Debug64 = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.exe"
Executable File_Release64 Is Rel = True
Executable File_Release64 Rel To = "Project"
Executable File_Release64 Rel Path = "wavejet.exe"
Executable File_Release64 = "/c/home/samo/cvi/wavejet/wavejet.exe"
Executable File_Release64 = "/c/Users/rok/Documents/rok/lab/osciloskopi/wavejet/trunk/wavejet.exe"
Icon File Is Rel = False
Icon File = ""
Application Title = ""
444,7 → 444,7
Numeric Prod Version = "1,0,0,0"
Comments = ""
Comments Ex = ""
Company Name = "Jozef Stefan Institute"
Company Name = ""
Company Name Ex = "%company"
File Description = "wavejet (Release x86)"
File Description Ex = "%application (%rel_dbg %arch)"
452,7 → 452,7
File Version Ex = "%f1.%f2"
Internal Name = "wavejet"
Internal Name Ex = "%basename"
Legal Copyright = "Copyright © Jozef Stefan Institute 2016"
Legal Copyright = "Copyright © 2019"
Legal Copyright Ex = "Copyright © %company %Y"
Legal Trademarks = ""
Legal Trademarks Ex = ""
460,7 → 460,7
Original Filename Ex = "%filename"
Private Build = ""
Private Build Ex = ""
Product Name = "Jozef Stefan Institute wavejet"
Product Name = " wavejet"
Product Name Ex = "%company %application"
Product Version = "1.0"
Product Version Ex = "%p1.%p2"
/wavejet/trunk/wavejet_ui.h
1,74 → 1,79
/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File */
/* */
/* 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_EXIT 2 /* control type: command, callback function: (none) */
#define P1_UPDATE 3 /* control type: command, callback function: (none) */
#define P1_IP 4 /* control type: string, callback function: (none) */
#define P1_ID 5 /* control type: string, callback function: (none) */
#define P1_GET_SETUP 6 /* control type: command, callback function: (none) */
#define P1_REFRESH 7 /* control type: radioButton, callback function: (none) */
#define P1_CONNECT 8 /* control type: textButton, callback function: (none) */
#define P1_TEST 9 /* control type: command, callback function: (none) */
#define P1_TSRC 10 /* control type: ring, callback function: (none) */
#define P1_TDIVx 11 /* control type: numeric, callback function: (none) */
#define P1_TRDL 12 /* control type: numeric, callback function: (none) */
#define P1_OFST_1 13 /* control type: numeric, callback function: (none) */
#define P1_TLVL 14 /* control type: numeric, callback function: (none) */
#define P1_TDIV 15 /* control type: ring, callback function: (none) */
#define P1_TSLP 16 /* control type: slide, callback function: (none) */
#define P1_TEXT1 17 /* control type: textBox, callback function: (none) */
#define P1_TRMD 18 /* control type: ring, callback function: (none) */
#define P1_DSAV 19 /* control type: ring, callback function: (none) */
#define P1_PERS 20 /* control type: ring, callback function: (none) */
#define P1_TRA_4 21 /* control type: radioButton, callback function: (none) */
#define P1_TRA_3 22 /* control type: radioButton, callback function: (none) */
#define P1_TRA_2 23 /* control type: radioButton, callback function: (none) */
#define P1_TRA_1 24 /* control type: radioButton, callback function: (none) */
#define P1_BWL_4 25 /* control type: ring, callback function: (none) */
#define P1_BWL_3 26 /* control type: ring, callback function: (none) */
#define P1_BWL_2 27 /* control type: ring, callback function: (none) */
#define P1_VDIV_4 28 /* control type: ring, callback function: (none) */
#define P1_VDIV_3 29 /* control type: ring, callback function: (none) */
#define P1_VDIV_2 30 /* control type: ring, callback function: (none) */
#define P1_VDIV_1 31 /* control type: ring, callback function: (none) */
#define P1_BWL_1 32 /* control type: ring, callback function: (none) */
#define P1_IPF 33 /* control type: ring, callback function: (none) */
#define P1_DISPLAY 34 /* control type: picture, callback function: (none) */
#define P1_DEC1 35 /* control type: deco, callback function: (none) */
#define P1_TIMER 36 /* control type: timer, callback function: cb_timer */
#define P1_DECO_VERT 37 /* control type: deco, callback function: (none) */
#define P1_DECO_TRIG 38 /* control type: deco, callback function: (none) */
#define P1_DECO_HOR 39 /* control type: deco, callback function: (none) */
 
 
/* Control Arrays: */
 
/* (no control arrays in the resource file) */
 
 
/* 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
/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File */
/* */
/* 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_EXIT 2 /* control type: command, callback function: (none) */
#define P1_UPDATE 3 /* control type: command, callback function: (none) */
#define P1_IP 4 /* control type: string, callback function: (none) */
#define P1_ID 5 /* control type: string, callback function: (none) */
#define P1_GET_SETUP 6 /* control type: command, callback function: (none) */
#define P1_REFRESH 7 /* control type: radioButton, callback function: (none) */
#define P1_DTWFM 8 /* control type: textButton, callback function: (none) */
#define P1_CONNECT 9 /* control type: textButton, callback function: (none) */
#define P1_TEST 10 /* control type: command, callback function: (none) */
#define P1_TSRC 11 /* control type: ring, callback function: (none) */
#define P1_TDIVx 12 /* control type: numeric, callback function: (none) */
#define P1_TRDL 13 /* control type: numeric, callback function: (none) */
#define P1_OFST_1 14 /* control type: numeric, callback function: (none) */
#define P1_CEVE 15 /* control type: numeric, callback function: (none) */
#define P1_NEVE 16 /* control type: numeric, callback function: (none) */
#define P1_TLVL 17 /* control type: numeric, callback function: (none) */
#define P1_TDIV 18 /* control type: ring, callback function: (none) */
#define P1_TSLP 19 /* control type: slide, callback function: (none) */
#define P1_TEXT1 20 /* control type: textBox, callback function: (none) */
#define P1_TRMD 21 /* control type: ring, callback function: (none) */
#define P1_DSAV 22 /* control type: ring, callback function: (none) */
#define P1_PERS 23 /* control type: ring, callback function: (none) */
#define P1_TRA_4 24 /* control type: radioButton, callback function: (none) */
#define P1_TRA_3 25 /* control type: radioButton, callback function: (none) */
#define P1_TRA_2 26 /* control type: radioButton, callback function: (none) */
#define P1_TRA_1 27 /* control type: radioButton, callback function: (none) */
#define P1_BWL_4 28 /* control type: ring, callback function: (none) */
#define P1_BWL_3 29 /* control type: ring, callback function: (none) */
#define P1_BWL_2 30 /* control type: ring, callback function: (none) */
#define P1_VDIV_4 31 /* control type: ring, callback function: (none) */
#define P1_VDIV_3 32 /* control type: ring, callback function: (none) */
#define P1_VDIV_2 33 /* control type: ring, callback function: (none) */
#define P1_VDIV_1 34 /* control type: ring, callback function: (none) */
#define P1_BWL_1 35 /* control type: ring, callback function: (none) */
#define P1_IPF 36 /* control type: ring, callback function: (none) */
#define P1_FNAME 37 /* control type: string, callback function: (none) */
#define P1_DISPLAY 38 /* control type: picture, callback function: (none) */
#define P1_DEC1 39 /* control type: deco, callback function: (none) */
#define P1_TIMER 40 /* control type: timer, callback function: cb_timer */
#define P1_DECO_VERT 41 /* control type: deco, callback function: (none) */
#define P1_DECO_TRIG 42 /* control type: deco, callback function: (none) */
#define P1_DECO_HOR 43 /* control type: deco, callback function: (none) */
#define P1_DECO_VERT_2 44 /* control type: deco, callback function: (none) */
 
 
/* Control Arrays: */
 
/* (no control arrays in the resource file) */
 
 
/* 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
/wavejet/trunk/wavejet_ui.uir
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream