| /HVtest/HVtest.c |
|---|
| 1,7 → 1,8 |
| #include "MPOD.h" |
| #include "HVtest_ui.h" |
| #define HVSLOT 3 |
| static int p1h, pID, rID, tfID; |
| int CVICALLBACK refreshTimer (int panel, int control, int event, void *callbackData, |
| 14,7 → 15,7 |
| LPSTR lpszCmdLine, int nCmdShow) { |
| int mainonoff,onoff[4]; |
| int ch=200,mo=2; |
| int ch=100*HVSLOT,mo=HVSLOT; |
| int iret; |
| int i, j; |
| double ret; |
| 28,7 → 29,8 |
| return -1; /* out of memory */ |
| MPOD_Start(); |
| MPOD_Open(0,"f9mpod.ijs.si"); |
| MPOD_Open(0,"arich-mpod1.kek.jp"); |
| // MPOD_Open(0,"f9mpod.ijs.si"); |
| crate1 = crateHsnmp[0]; |
| iret=MPOD_GetInt(0,"moduleNumber.0"); |
| /HVtest/HVtest.prj |
|---|
| 1,6 → 1,6 |
| [Project Header] |
| Version = 1302 |
| Pathname = "/c/home/samo/HVtest/HVtest.prj" |
| Pathname = "/c/SAMO/Programi/NI/cvi/HVtest/HVtest.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" |
| 35,7 → 35,7 |
| Path Is Rel = True |
| Path Rel To = "Project" |
| Path Rel Path = "HVtest.c" |
| Path = "/c/home/samo/HVtest/HVtest.c" |
| Path = "/c/SAMO/Programi/NI/cvi/HVtest/HVtest.c" |
| Exclude = False |
| Compile Into Object File = False |
| Project Flags = 0 |
| 47,8 → 47,8 |
| Res Id = 2 |
| Path Is Rel = True |
| Path Rel To = "Project" |
| Path Rel Path = "../../cvi/instr/MPOD/MPOD.fp" |
| Path = "/c/home/cvi/instr/MPOD/MPOD.fp" |
| Path Rel Path = "../instr/MPOD/MPOD.fp" |
| Path = "/c/SAMO/Programi/NI/cvi/instr/MPOD/MPOD.fp" |
| Exclude = False |
| Project Flags = 0 |
| Folder = "Instrument Files" |
| 60,7 → 60,7 |
| Path Is Rel = True |
| Path Rel To = "Project" |
| Path Rel Path = "HVtest_ui.h" |
| Path = "/c/home/samo/HVtest/HVtest_ui.h" |
| Path = "/c/SAMO/Programi/NI/cvi/HVtest/HVtest_ui.h" |
| Exclude = False |
| Project Flags = 0 |
| Folder = "Include Files" |
| 72,7 → 72,7 |
| Path Is Rel = True |
| Path Rel To = "Project" |
| Path Rel Path = "HVtest_ui.uir" |
| Path = "/c/home/samo/HVtest/HVtest_ui.uir" |
| Path = "/c/SAMO/Programi/NI/cvi/HVtest/HVtest_ui.uir" |
| Exclude = False |
| Project Flags = 0 |
| Folder = "User Interface Files" |
| 83,7 → 83,7 |
| Res Id = 5 |
| Path Is Rel = True |
| Path Rel To = "Project" |
| Path Rel Path = "../../../usr/lib/netsnmp.lib" |
| Path Rel Path = "../../../../../usr/lib/netsnmp.lib" |
| Path = "/c/usr/lib/netsnmp.lib" |
| Exclude = False |
| Project Flags = 0 |
| 381,11 → 381,11 |
| [Include Paths] |
| Include Path 1 Is Rel = True |
| Include Path 1 Rel To = "Project" |
| Include Path 1 Rel Path = "../../cvi/instr/MPOD/include" |
| Include Path 1 = "/c/home/cvi/instr/MPOD/include" |
| Include Path 1 Rel Path = "../instr/MPOD/include" |
| Include Path 1 = "/c/SAMO/Programi/NI/cvi/instr/MPOD/include" |
| Include Path 2 Is Rel = True |
| Include Path 2 Rel To = "Project" |
| Include Path 2 Rel Path = "../../../usr/include" |
| Include Path 2 Rel Path = "../../../../../usr/include" |
| Include Path 2 = "/c/usr/include" |
| [Create Executable] |
| 392,19 → 392,19 |
| Executable File_Debug Is Rel = True |
| Executable File_Debug Rel To = "Project" |
| Executable File_Debug Rel Path = "HVtest.exe" |
| Executable File_Debug = "/c/home/samo/HVtest/HVtest.exe" |
| Executable File_Debug = "/c/SAMO/Programi/NI/cvi/HVtest/HVtest.exe" |
| Executable File_Release Is Rel = True |
| Executable File_Release Rel To = "Project" |
| Executable File_Release Rel Path = "HVtest.exe" |
| Executable File_Release = "/c/home/samo/HVtest/HVtest.exe" |
| Executable File_Release = "/c/SAMO/Programi/NI/cvi/HVtest/HVtest.exe" |
| Executable File_Debug64 Is Rel = True |
| Executable File_Debug64 Rel To = "Project" |
| Executable File_Debug64 Rel Path = "HVtest.exe" |
| Executable File_Debug64 = "/c/home/samo/HVtest/HVtest.exe" |
| Executable File_Debug64 = "/c/SAMO/Programi/NI/cvi/HVtest/HVtest.exe" |
| Executable File_Release64 Is Rel = True |
| Executable File_Release64 Rel To = "Project" |
| Executable File_Release64 Rel Path = "HVtest.exe" |
| Executable File_Release64 = "/c/home/samo/HVtest/HVtest.exe" |
| Executable File_Release64 = "/c/SAMO/Programi/NI/cvi/HVtest/HVtest.exe" |
| Icon File Is Rel = False |
| Icon File = "" |
| Application Title = "" |
| /HVtest/HVtest_ui.h |
|---|
| 1,51 → 1,51 |
| /**************************************************************************/ |
| /* 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_SET0 2 /* control type: command, callback function: (none) */ |
| #define P1_EXIT 3 /* control type: command, callback function: (none) */ |
| #define P1_C0 4 /* control type: numeric, callback function: (none) */ |
| #define P1_VFA0 5 /* control type: numeric, callback function: (none) */ |
| #define P1_VRI0 6 /* control type: numeric, callback function: (none) */ |
| #define P1_CD0 7 /* control type: numeric, callback function: (none) */ |
| #define P1_VD0 8 /* control type: numeric, callback function: (none) */ |
| #define P1_V0 9 /* control type: numeric, callback function: (none) */ |
| #define P1_ONOFF0 10 /* control type: radioButton, callback function: (none) */ |
| #define P1_REFRESHTIMER 11 /* control type: timer, callback function: refreshTimer */ |
| #define P1_MSW 12 /* control type: binary, callback function: (none) */ |
| #define P1_G1 13 /* control type: strip, callback function: (none) */ |
| #define P1_MSWLED 14 /* control type: LED, callback function: (none) */ |
| #define P1_MFS 15 /* control type: numeric, callback function: (none) */ |
| #define P1_MST 16 /* control type: numeric, 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 refreshTimer(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_SET0 2 /* control type: command, callback function: (none) */ |
| #define P1_EXIT 3 /* control type: command, callback function: (none) */ |
| #define P1_C0 4 /* control type: numeric, callback function: (none) */ |
| #define P1_VFA0 5 /* control type: numeric, callback function: (none) */ |
| #define P1_VRI0 6 /* control type: numeric, callback function: (none) */ |
| #define P1_CD0 7 /* control type: numeric, callback function: (none) */ |
| #define P1_VD0 8 /* control type: numeric, callback function: (none) */ |
| #define P1_V0 9 /* control type: numeric, callback function: (none) */ |
| #define P1_ONOFF0 10 /* control type: radioButton, callback function: (none) */ |
| #define P1_REFRESHTIMER 11 /* control type: timer, callback function: refreshTimer */ |
| #define P1_MSW 12 /* control type: binary, callback function: (none) */ |
| #define P1_G1 13 /* control type: strip, callback function: (none) */ |
| #define P1_MSWLED 14 /* control type: LED, callback function: (none) */ |
| #define P1_MFS 15 /* control type: numeric, callback function: (none) */ |
| #define P1_MST 16 /* control type: numeric, 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 refreshTimer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| #ifdef __cplusplus |
| } |
| #endif |
| /HVtest/HVtest_ui.uir |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |