| /cvi/apps/ARDUINO/SimpleADC.ino |
|---|
| 0,0 → 1,28 |
| #include <Wire.h> |
| #include <Adafruit_ADS1015.h> |
| Adafruit_ADS1115 ads(0x48); |
| float Voltage = 0.0; |
| void setup(void) |
| { |
| Serial.begin(115200); |
| ads.begin(); |
| } |
| void loop(void) |
| { |
| int16_t adc0; // we read from the ADC, we have a sixteen bit integer as a result |
| adc0 = ads.readADC_SingleEnded(0); |
| float factor = (9.5/3.3); |
| Voltage = (adc0 * 0.1875)/1000*factor; |
| Serial.println(Voltage, 7); |
| delay(200); |
| } |
| /cvi/apps/cvibuild.fourier/Debug/BuildStep.bat |
|---|
| 0,0 → 1,2 |
| @call %1.bat > %1.out |
| @echo Build Step complete for %1 |
| /cvi/apps/cvibuild.fourier/Debug/CC_no_dep_options.txt |
|---|
| 0,0 → 1,0 |
| -force-include-file "fourier.c";"c:\home\Fourier\fourier.c" |
| /cvi/apps/cvibuild.fourier/Debug/CC_options.txt |
|---|
| 0,0 → 1,0 |
| -triple i386-pc-win32 -fno-caret-diagnostics -fno-gnu-keywords -fms-extensions -mms-bitfields -fmath-errno -mdisable-fp-elim -Wno-microsoft -Wno-error=invalid-token-paste -Werror=gnu -Werror=pointer-arith -Wpointer-sign -Wunreachable-code -Wparentheses -Wunused-variable -Wuninitialized -Wdiv-by-zero -Warray-bounds -Wnull-dereference -Wignored-qualifiers -Wreturn-type -Wpanel-handle -Wno-tautological-compare -Wno-empty-body -Wno-missing-braces -Wno-overlength-strings -Wno-cast-align -Wno-missing-noreturn -Wno-invalid-noreturn -Wno-shadow -Wno-switch -Wno-switch-enum -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-value -Wno-used-but-marked-unused -Wno-conversion -Wno-sign-compare -Wno-char-subscripts -Wno-declaration-after-statement -Wno-typecheck-convert -Wno-float-equal -Wno-vla -Wno-attributes -Wno-unknown-attributes -Wno-deprecated-declarations -Wno-packed -Wno-padded -Wno-comment -Wno-format -Wno-implicit-int -Wno-implicit-function-declaration -Wno-builtin-implicit-decl -Wno-missing-declarations -Wno-missing-field-initializers -Wno-trigraphs -Wno-multichar -Wno-long-long -Wno-unknown-pragmas -Wno-ignored-pragmas -Wno-pragma-reset -Wno-pragma-on-off-switch -Wno-pragma-unused -Wno-end-of-directive -Wno-pragma-not-supported -Wno-unexpected-token -Wno-four-char-constants -Wno-discard-qual -Wno-sign-conversion -Wno-variadic-macros -Wno-macro-name -Wno-macro-poisoning -Wno-macro-redefined -Wno-builtin-macro-redefined -Wno-builtin-macro-undefined -Wno-unused-macros -Wno-gnu-designator -Wno-nonnull -Wno-constant-conversion -Wno-out-of-scope-declarations -Wno-static-non-static -Wno-constant-too-large -Wno-#warnings -Wno-undef -Wno-include-next -Wno-extra-tokens -Wno-line-number -Wno-weak -Wno-member-redeclare -Wno-expected-semi -Wno-too-many-args -Wno-literal-range -Wno-unknown-escape -Wno-shift -Wchar-init -Wno-braces-init -Wno-incomplete-field -Wno-tentative -Wno-ordered-comparison -Wno-pointer-compare -Wno-stack-memory -Wno-excess-elements -Wno-missing-terminating -Wno-illegal-storage -Wno-clang -Wno-backslash -Wno-decl-param -Wno-negative-to-unsigned -Wno-extern -Wno-constant-logical-operand -Wno-initializer-overrides -Wno-variadic-call-conv -Wno-main -Womp-nested-parallel -Womp-repeated-ordered -Wpointer-int-conv -Wint-conversion -Wpointer-conv -Wmissing-return-value -Winvalid-return -Wduplicate-decl-spec -Wpromoted-param -Wno-strict-prototypes -Wno-va-named-param -Wno-invalid-token-paste -fdiagnostics-show-option -cvi-debugging=standard -Werror=implicit-function-declaration -Wuninitialized-runtime -I "c:\program files (x86)\national instruments\cvi2013\toolslib\activex\word" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\activex\excel" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\custctrl" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\custctrl\custsupp" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\cvirtsup" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\datasock" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\daqUtil" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\printing" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\toolbox" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\reportgen" -I "c:\program files (x86)\national instruments\cvi2013\toolslib\localui" -I "c:\program files (x86)\national instruments\cvi2013\instr" -I "C:\Program Files (x86)\National Instruments\Shared\CVI\toolslib\custctrl" -I "C:\Program Files (x86)\National Instruments\Shared\CVI\toolslib\custctrl\custsupp" -I "C:\Program Files (x86)\National Instruments\Shared\CVI\instr" -I "C:\ProgramData\National Instruments\CVI2013\instr" -I "c:\program files (x86)\national instruments\cvi2013\include" -I "C:\Program Files (x86)\National Instruments\Shared\CVI\include" -I "C:\ProgramData\National Instruments\CVI2013\include" -I "C:\ProgramData\National Instruments\CVI\include" -I "c:\program files (x86)\national instruments\cvi2013\include\ansi" -I "c:\program files (x86)\national instruments\cvi2013\include\clang\2.9" -I "C:\Program Files (x86)\IVI Foundation\IVI\Include" -I "C:\Program Files (x86)\IVI Foundation\VISA\winnt\include" -I "c:\program files (x86)\national instruments\cvi2013\sdk\include" -I "c:\Program Files (x86)\National Instruments\CVI2013\bin" -I "c:\ProgramData\National Instruments\CVI2013\bin" -I "c:\Program Files (x86)\National Instruments\Shared\CVI\Bin" |
| /cvi/apps/cvibuild.fourier/Debug/CallCC.bat |
|---|
| 0,0 → 1,22 |
| @set INCLUDE= |
| @set LIB= |
| @set FileNum=%1 |
| @shift |
| @set SrcFileName=%1 |
| @shift |
| @set ObjFileName=%1 |
| @shift |
| @set DefProts=%1 |
| @shift |
| @set OutFileName=%1 |
| @shift |
| @set REST=%1 %2 %3 %4 %5 %6 %7 %8 %9 |
| @rem c:\home\Fourier |
| @echo Compiling %FileNum% %SrcFileName% |
| @"c:\program files (x86)\national instruments\cvi2013\bin\clang\2.9\clang.exe" -cc1 -nostdinc -emit-obj -add-plugin cvi-emit-defprots -plugin-arg-cvi-emit-defprots %DefProts% %REST% -std=c99 @"CC_no_dep_options.txt" @"CC_options.txt" -D_CVI_="1302" -D_NI_i386_="1" -D_NI_mswin_="1" -D_NI_mswin32_="1" -D_CVI_DEBUG_="1" -D_CVI_EXE_="1" -D_LINK_CVIRTE_="1" -D_CVI_FDS_="1" -D_CVI_USE_FUNCS_FOR_VARS_="1" -D__DEFALIGN="8" -D_NI_VC_="220" -D_WIN32="1" -DWIN32="1" -D__WIN32__="1" -D_WINDOWS="1" -D__NT__="1" -D_M_IX86="400" -D__FLAT__="1" -D_PUSHPOP_SUPPORTED="1" -D_CVI_C99_EXTENSIONS_="1" -D_CVI_PROFILE_LEVEL_="0" -D_TARGET_FILE_VERSION_="\"1.0.0.0\"" -D_TARGET_PRODUCT_VERSION_="\"1.0.0.0\"" -D_OPENMP="200505" -D_CVI_CONFIGURATION_NAME_="\"Debug\"" -D_CVI_RTE_SHARED_="1" -DWIN32_LEAN_AND_MEAN -o %ObjFileName% %SrcFileName% > %OutFileName% 2>&1 |
| @if errorlevel 1 goto err |
| @echo Compile succeeded for %FileNum% %SrcFileName% |
| @exit 0 |
| :err |
| @echo Compile failed for %FileNum% %SrcFileName% |
| @exit 1 |
| /cvi/apps/cvibuild.fourier/Debug/CallLink.bat |
|---|
| 0,0 → 1,9 |
| @"c:\program files (x86)\national instruments\cvi2013\bin\cvilink.exe" -cmd:link_options.txt -flags:0 -expiry:0 > Link.out 2>&1 |
| @if errorlevel 1 goto err |
| @echo Link success |
| @echo Link complete |
| @exit 0 |
| :err |
| @echo Link complete |
| @echo Link failed |
| @exit 1 |
| /cvi/apps/cvibuild.fourier/Debug/CallRC.bat |
|---|
| 0,0 → 1,8 |
| @echo "c:\program files (x86)\national instruments\cvi2013\sdk\bin\rc.exe" /d _CVI_ /i "c:\program files (x86)\national instruments\cvi2013\sdk\include" /fo %2 %1 |
| @"c:\program files (x86)\national instruments\cvi2013\sdk\bin\rc.exe" /d _CVI_ /i "c:\program files (x86)\national instruments\cvi2013\sdk\include" /fo %2 %1 > Rc.out 2>&1 |
| @if errorlevel 1 goto err |
| @echo RC complete |
| @exit 0 |
| :err |
| @echo RC failed |
| @exit 1 |
| /cvi/apps/cvibuild.fourier/Debug/Jamfile |
|---|
| 0,0 → 1,42 |
| CCFLAGS = -g ; |
| HDRS = "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\activex\\word" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\activex\\excel" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\custctrl" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\custctrl\\custsupp" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\cvirtsup" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\datasock" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\daqUtil" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\printing" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\toolbox" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\reportgen" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\toolslib\\localui" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\instr" |
| "C:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\toolslib\\custctrl" |
| "C:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\toolslib\\custctrl\\custsupp" |
| "C:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\instr" |
| "C:\\ProgramData\\National Instruments\\CVI2013\\instr" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\include" |
| "C:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\include" |
| "C:\\ProgramData\\National Instruments\\CVI2013\\include" |
| "C:\\ProgramData\\National Instruments\\CVI\\include" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\include\\ansi" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\include\\clang\\2.9" |
| "C:\\Program Files (x86)\\IVI Foundation\\IVI\\Include" |
| "C:\\Program Files (x86)\\IVI Foundation\\VISA\\winnt\\include" |
| "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\include" |
| "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin" |
| "c:\\ProgramData\\National Instruments\\CVI2013\\bin" |
| "c:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\Bin" |
| ; |
| include Jamfile_instr ; |
| LOCATE on "fourier.c" = "c:\\home\\Fourier" ; |
| Object "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.obj" : "c:\\home\\Fourier\\fourier.c" ; |
| FILENUM on "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.obj" = 1 ; |
| DEFPROTS on "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.obj" = "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.obj.cvidefprots" ; |
| OUTFILE on "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.obj" = "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.obj.out" ; |
| PrjObjects += "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.obj" ; |
| Object "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\resources.res" : "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\resources.in.rc" ; |
| MainFromObjects "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : $(PrjObjects) $(InstrObjects) ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\link_options.txt" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\resources.res" ; |
| Depends all : "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" ; |
| /cvi/apps/cvibuild.fourier/Debug/Jamfile_instr |
|---|
| 0,0 → 1,41 |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.obj" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\advapi32.lib" ; |
| NoCare "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\advapi32.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\ProgramData\\National Instruments\\CVI2013\\bin\\msvc\\analysis.lib" ; |
| NoCare "c:\\ProgramData\\National Instruments\\CVI2013\\bin\\msvc\\analysis.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cviauto.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cviauto.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cviddc.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cviddc.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvidotnet.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvidotnet.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvinetstreams.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvinetstreams.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvinetv.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvinetv.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvintwrk.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvintwrk.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvitdms.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\cvitdms.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\gdi32.lib" ; |
| NoCare "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\gdi32.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\gpib.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\gpib.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\Bin\\msvc\\ivi.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\Bin\\msvc\\ivi.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\kernel32.lib" ; |
| NoCare "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\kernel32.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\nivxi.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\nivxi.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\omp.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\bin\\msvc\\omp.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\CVI2013\\toolslib\\toolbox\\msvc\\toolbox.obj" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\CVI2013\\toolslib\\toolbox\\msvc\\toolbox.obj" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\user32.lib" ; |
| NoCare "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\user32.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\uuid.lib" ; |
| NoCare "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\uuid.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\Bin\\msvc\\visa.lib" ; |
| NoCare "c:\\Program Files (x86)\\National Instruments\\Shared\\CVI\\Bin\\msvc\\visa.lib" ; |
| Depends "c:\\home\\Fourier\\cvibuild.fourier\\Debug\\fourier.exe" : "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\winmm.lib" ; |
| NoCare "c:\\program files (x86)\\national instruments\\cvi2013\\sdk\\lib\\msvc\\winmm.lib" ; |
| /cvi/apps/cvibuild.fourier/Debug/dlldependencies.txt |
|---|
| 0,0 → 1,6 |
| cvi.lib |
| cvirte.dll |
| kernel32.lib |
| KERNEL32.dll |
| user32.lib |
| USER32.dll |
| /cvi/apps/cvibuild.fourier/Debug/fourier.exe |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Property changes: |
| Added: svn:mime-type |
| +application/octet-stream |
| \ No newline at end of property |
| /cvi/apps/cvibuild.fourier/Debug/fourier.obj |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Property changes: |
| Added: svn:mime-type |
| +application/octet-stream |
| \ No newline at end of property |
| /cvi/apps/cvibuild.fourier/Debug/fourier.obj.cvidefprots |
|---|
| 0,0 → 1,48 |
| [SetDimming] |
| Class="Function" |
| Prototype="void SetDimming(int state);" |
| [main] |
| Class="Function" |
| Prototype="int main(int argc, char **argv);" |
| [ExitCB] |
| Class="Function" |
| Prototype="int ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);" |
| [StopCB] |
| Class="Function" |
| Prototype="int StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);" |
| [ComCallback1] |
| Class="Function" |
| Prototype="void ComCallback1(int portNumber, int eventMask, void *callbackdata);" |
| [SetPosition] |
| Class="Function" |
| Prototype="int SetPosition(int pos);" |
| [SetSpeed] |
| Class="Function" |
| Prototype="int SetSpeed(float v);" |
| [ComCallback2] |
| Class="Function" |
| Prototype="void ComCallback2(int portNumber, int eventMask, void *callbackdata);" |
| [StartCB] |
| Class="Function" |
| Prototype="int StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);" |
| [GoToEndCB] |
| Class="Function" |
| Prototype="int GoToEndCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);" |
| [GoToZeroCB] |
| Class="Function" |
| Prototype="int GoToZeroCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);" |
| [ResetCB] |
| Class="Function" |
| Prototype="int ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);" |
| /cvi/apps/cvibuild.fourier/Debug/link_options.txt |
|---|
| 0,0 → 1,37 |
| -nologo |
| -out:c:\home\Fourier\cvibuild.fourier\Debug\fourier.exe |
| -arch:x86 |
| -timestamp |
| -debug:2 |
| -res:c:\home\Fourier\cvibuild.fourier\Debug\resources.res |
| -entry:_CVIWinMainStartupCodeForDebugging@0 |
| -base:0x400000 |
| -linked:c:\home\Fourier\cvibuild.fourier\Debug\linkersummary.txt |
| -dlldeps:c:\home\Fourier\cvibuild.fourier\Debug\dlldependencies.txt |
| -licensing:c:\home\Fourier\cvibuild.fourier\Debug\linkerlicensing.txt |
| -browsedeps:c:\home\Fourier\cvibuild.fourier\Debug\moduledependencies.txt |
| -stackreserve:1048576 |
| -stackcommit:4096 |
| -in:c:\home\Fourier\cvibuild.fourier\Debug\fourier.obj |
| -more:c:\program files (x86)\national instruments\cvi2013\bin\msvc\cvistart.lib |
| -more:c:\program files (x86)\national instruments\cvi2013\bin\msvc\cvi.lib |
| -more:c:\program files (x86)\national instruments\cvi2013\sdk\lib\msvc\advapi32.lib |
| -more:c:\ProgramData\National Instruments\CVI2013\bin\msvc\analysis.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\cviauto.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\cviddc.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\cvidotnet.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\cvinetstreams.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\cvinetv.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\cvintwrk.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\cvitdms.lib |
| -more:c:\program files (x86)\national instruments\cvi2013\sdk\lib\msvc\gdi32.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\gpib.lib |
| -more:c:\Program Files (x86)\National Instruments\Shared\CVI\Bin\msvc\ivi.lib |
| -more:c:\program files (x86)\national instruments\cvi2013\sdk\lib\msvc\kernel32.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\nivxi.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\bin\msvc\omp.lib |
| -more:c:\Program Files (x86)\National Instruments\CVI2013\toolslib\toolbox\msvc\toolbox.obj |
| -more:c:\program files (x86)\national instruments\cvi2013\sdk\lib\msvc\user32.lib |
| -more:c:\program files (x86)\national instruments\cvi2013\sdk\lib\msvc\uuid.lib |
| -more:c:\Program Files (x86)\National Instruments\Shared\CVI\Bin\msvc\visa.lib |
| -more:c:\program files (x86)\national instruments\cvi2013\sdk\lib\msvc\winmm.lib |
| /cvi/apps/cvibuild.fourier/Debug/linkersummary.txt |
|---|
| 0,0 → 1,7 |
| fourier.obj |
| cvi.lib |
| cvistart.lib |
| kernel32.lib |
| user32.lib |
| EXE Symbol Module |
| Resource Module |
| /cvi/apps/cvibuild.fourier/Debug/moduledependencies.txt |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Property changes: |
| Added: svn:mime-type |
| +application/octet-stream |
| \ No newline at end of property |
| /cvi/apps/cvibuild.fourier/Debug/resources.in.rc |
|---|
| 0,0 → 1,37 |
| #include "c:\program files (x86)\national instruments\cvi2013\sdk\include\winver.h" |
| 2 ICON "c:\\program files (x86)\\national instruments\\cvi2013\\bin\\default.ico" |
| STRINGTABLE DISCARDABLE |
| BEGIN |
| 65535 "fourier" |
| END |
| VS_VERSION_INFO VERSIONINFO |
| FILEVERSION 1,0,0,0 |
| PRODUCTVERSION 1,0,0,0 |
| FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
| FILEFLAGS 0x1L |
| FILEOS VOS__WINDOWS32 |
| FILETYPE VFT_APP |
| FILESUBTYPE VFT_UNKNOWN |
| BEGIN |
| BLOCK "StringFileInfo" |
| BEGIN |
| BLOCK "040904b0" |
| BEGIN |
| VALUE "CompanyName", "\0" |
| VALUE "FileDescription", "fourier (Debug x86)\0" |
| VALUE "FileVersion", "1.0\0" |
| VALUE "InternalName", "fourier\0" |
| VALUE "LegalCopyright", "Copyright © 2020\0" |
| VALUE "OriginalFilename", "fourier.exe\0" |
| VALUE "ProductName", " fourier\0" |
| VALUE "ProductVersion", "1.0\0" |
| END |
| END |
| BLOCK "VarFileInfo" |
| BEGIN |
| VALUE "Translation", 0x409, 0x4b0 |
| END |
| END |
| /cvi/apps/cvibuild.fourier/Debug/resources.res |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Property changes: |
| Added: svn:mime-type |
| +application/octet-stream |
| \ No newline at end of property |
| /cvi/apps/fourier.c |
|---|
| 0,0 → 1,343 |
| #include <cvirte.h> |
| #include <userint.h> |
| #include "fourier.h" |
| #include <utility.h> |
| #include <ansi_c.h> |
| #include <rs232.h> |
| int read_term_index; |
| int read_term; |
| int read_cnt; |
| int bytes_read; |
| int pCOM1; |
| int pCOM2; |
| #define TEXT_LENGTH 2000 |
| char read_data[TEXT_LENGTH]; |
| char read_data2[TEXT_LENGTH]; |
| static int panel; |
| #define MAX_THREADS 10 |
| static CmtThreadPoolHandle poolHandle = 0; |
| void SetDimming(int state) { |
| SetCtrlAttribute (panel, p1_START, ATTR_DIMMED, state); |
| SetCtrlAttribute (panel, p1_EXIT, ATTR_DIMMED, state); |
| SetCtrlAttribute (panel, p1_STOP, ATTR_DIMMED, state); |
| } |
| int main (int argc, char *argv[]) |
| { |
| SetStdioPort (CVI_STDIO_WINDOW); |
| SetStdioWindowOptions (10000, 0, 0); |
| SetStdioWindowVisibility(1); |
| if (InitCVIRTE (0, argv, 0) == 0) |
| return -1; /* out of memory */ |
| if ((panel= LoadPanel (0, "fourier.uir", p1)) < 0) |
| return -1; |
| //CmtNewThreadPool (MAX_THREADS, &poolHandle); |
| DisplayPanel (panel); |
| SetDimming(0); |
| //StartCB(panel, 0, EVENT_COMMIT, NULL, 0 ,0); |
| RunUserInterface (); |
| DiscardPanel (panel); |
| return 0; |
| } |
| int CVICALLBACK ExitCB (int panel, int control, int event, |
| void *callbackData, int eventData1, int eventData2) |
| { |
| switch (event) |
| { |
| case EVENT_COMMIT: |
| QuitUserInterface (0); |
| break; |
| } |
| return 0; |
| } |
| int CVICALLBACK StopCB (int panel, int control, int event, |
| void *callbackData, int eventData1, int eventData2) |
| { |
| switch (event) |
| { |
| case EVENT_COMMIT: |
| CloseCom(pCOM1); |
| CloseCom(pCOM2); |
| break; |
| } |
| return 0; |
| } |
| /* Callback Function */ |
| void ComCallback1(int portNumber, int eventMask, void *callbackdata) { |
| if (eventMask & LWRS_RXFLAG) { |
| //printf("Received specified character\n"); |
| int strLen = GetInQLen (pCOM1); |
| bytes_read = ComRd (pCOM1, read_data, strLen); |
| float voltage; |
| sscanf(read_data,"%f",&voltage); |
| //printf("%f %d %d#%s#", temp,state[0], state[1], read_data); |
| int RS232Error = ReturnRS232Err (); |
| if (ReturnRS232Err ()) { |
| sprintf(read_data,"#%s\n", GetRS232ErrorString(RS232Error)); |
| MessagePopup("RS232Err",read_data); |
| } else { |
| //float ohm; |
| //double tset; |
| //char onoff; |
| //double Voltage, Current; |
| //char cres[200]; |
| //int i=0; |
| //int onoff1 = 0; |
| SetCtrlVal(panel, p1_VMON, voltage); |
| //Voltage =K617_vsource_get(); |
| //Current =K617_get(cres,&i); |
| //K617_vsource_set(vset); |
| //K617_vsource_operate(onoff1); |
| //SetCtrlVal(pa,PA_VOLTAGE,Voltage); |
| //SetCtrlVal(pa,PA_CURRENT,Current); |
| PlotStripChart (panel, p1_GRAPH, &voltage, 1, 0, 0, VAL_FLOAT); |
| } |
| } |
| if (eventMask & LWRS_TXEMPTY) printf("Transmit queue now empty\n"); |
| if (eventMask & LWRS_RECEIVE) { |
| printf("50 or more bytes in input queue\n"); |
| } |
| } |
| int pozicija = 0; |
| int SetPosition(int pos){ |
| int nb=0; |
| char str[20]; |
| sprintf(str, "X%d\n", pos); |
| int len = strlen(str); |
| nb = ComWrt (pCOM2, str, len); |
| return nb; |
| } |
| float vx = 100.0; |
| int SetSpeed(float v){ |
| int nb = 0; |
| char vxset[20]; |
| sprintf(vxset, "$110=%.2f\n", v); |
| printf("Speed %s", vxset); |
| int len1 = strlen(vxset); |
| nb = ComWrt (pCOM2, vxset, len1); |
| return nb; |
| } |
| int first = 1; |
| /* Callback Function */ |
| void ComCallback2(int portNumber, int eventMask, void *callbackdata) { |
| if (eventMask & LWRS_RXFLAG) { |
| //printf("Received specified character\n"); |
| int strLen = GetInQLen (pCOM2); |
| bytes_read = ComRd (pCOM2, read_data2, strLen); |
| printf("%s\n", read_data2); |
| if(first){ |
| SetSpeed(100.00); |
| first = 0; |
| } |
| GetCtrlVal(panel,p1_POZICIJA, &pozicija); |
| SetPosition(pozicija); |
| //printf("%f %d %d#%s#", temp,state[0], state[1], read_data); |
| int RS232Error = ReturnRS232Err (); |
| if (ReturnRS232Err ()) { |
| sprintf(read_data2,"#%s\n", GetRS232ErrorString(RS232Error)); |
| MessagePopup("RS232Err",read_data2); |
| } else { |
| //float ohm; |
| //double tset; |
| //char onoff; |
| //double Voltage, Current; |
| //char cres[200]; |
| //int i=0; |
| //int onoff1 = 0; |
| //SetCtrlVal(panel, p1_VMON, voltage); |
| //Voltage =K617_vsource_get(); |
| //Current =K617_get(cres,&i); |
| //K617_vsource_set(vset); |
| //K617_vsource_operate(onoff1); |
| //SetCtrlVal(pa,PA_VOLTAGE,Voltage); |
| //SetCtrlVal(pa,PA_CURRENT,Current); |
| //PlotStripChart (panel, p1_GRAPH, &voltage, 1, 0, 0, VAL_FLOAT); |
| } |
| } |
| //if (eventMask & LWRS_TXEMPTY) printf("Transmit queue now empty\n"); |
| if (eventMask & LWRS_RECEIVE) { |
| printf("50 or more bytes in input queue\n"); |
| } |
| } |
| int CVICALLBACK StartCB (int panel, int control, int event, |
| void *callbackData, int eventData1, int eventData2) |
| { |
| int ierr; |
| int ierr2; |
| switch (event) { |
| case EVENT_COMMIT: |
| first = 1; |
| GetCtrlVal(panel,p1_COM1,&pCOM1); |
| GetCtrlVal(panel,p1_COM2,&pCOM2); |
| //printf("%d %d\n", pCOM1, pCOM2); |
| ierr = OpenComConfig (pCOM1, "", 115200, 0, 8, 1, 512, 512); |
| /* Turn off Hardware handshaking (loopback test will not function with it on) */ |
| SetCTSMode (pCOM1, LWRS_HWHANDSHAKE_OFF); |
| /* Make sure Serial buffers are empty */ |
| FlushInQ (pCOM1); |
| FlushOutQ (pCOM1); |
| int notifyCount1 = 50; /* Wait for at least 50 bytes in queue. */ |
| int eventChar1 = 10; /* Wait for LF. */ |
| int eventMask1 = LWRS_RXFLAG | LWRS_TXEMPTY | LWRS_RECEIVE; |
| ierr2 = OpenComConfig (pCOM2, "", 115200, 0, 8, 1, 512, 512); |
| /* Turn off Hardware handshaking (loopback test will not function with it on) */ |
| SetCTSMode (pCOM2, LWRS_HWHANDSHAKE_OFF); |
| printf("ierr %d %d\n", ierr, ierr2); |
| /* Make sure Serial buffers are empty */ |
| FlushInQ (pCOM2); |
| FlushOutQ (pCOM2); |
| int notifyCount2 = 50; /* Wait for at least 50 bytes in queue. */ |
| int eventChar2 = 10; /* Wait for LF. */ |
| int eventMask2 = LWRS_RXFLAG | LWRS_TXEMPTY | LWRS_RECEIVE; |
| //InstallComCallback (pCOM1, eventMask1, notifyCount1, eventChar1, ComCallback1, NULL); |
| InstallComCallback (pCOM2, eventMask2, notifyCount2, eventChar2, ComCallback2, NULL); |
| break; |
| } |
| return 0; |
| } |
| int CVICALLBACK GoToEndCB (int panel, int control, int event, |
| void *callbackData, int eventData1, int eventData2) |
| { |
| switch (event) |
| { |
| case EVENT_COMMIT: |
| break; |
| } |
| return 0; |
| } |
| int CVICALLBACK GoToZeroCB (int panel, int control, int event, |
| void *callbackData, int eventData1, int eventData2) |
| { |
| switch (event) |
| { |
| case EVENT_COMMIT: |
| int nb = 0; |
| nb = ComWrt (pCOM2, "X0\n", 4); |
| return nb; |
| break; |
| } |
| return 0; |
| } |
| int CVICALLBACK ResetCB (int panel, int control, int event, |
| void *callbackData, int eventData1, int eventData2) |
| { |
| switch (event) |
| { |
| case EVENT_COMMIT: |
| break; |
| } |
| return 0; |
| } |
| /cvi/apps/fourier.cws |
|---|
| 0,0 → 1,205 |
| [Workspace Header] |
| Version = 1302 |
| Pathname = "/c/home/Fourier/fourier.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" |
| CVI Pub Global Dir = "/C/ProgramData/National Instruments/CVI" |
| IVI Standard Root Dir = "/C/Program Files (x86)/IVI Foundation/IVI" |
| IVI Standard Root 64-bit Dir = "/C/Program Files/IVI Foundation/IVI" |
| VXIplug&play Framework Dir = "/C/Program Files (x86)/IVI Foundation/VISA/winnt" |
| VXIplug&play Framework 64-bit Dir = "/C/Program Files/IVI Foundation/VISA/win64" |
| Number of Projects = 1 |
| Active Project = 1 |
| Project 0001 = "fourier.prj" |
| Drag Bar Left = 320 |
| Window Top = 147 |
| Window Left = 287 |
| Window Bottom = 936 |
| Window Right = 1979 |
| Maximized = True |
| Maximized Children = True |
| Max32 Number Of Errors = 20 |
| Track Include File Dependencies = True |
| Prompt For Missing Includes = True |
| Stop On First Error File = False |
| Bring Up Err Win At Start = True |
| Bring Up Err Win For Errors = False |
| Save Changes Before Running = "Always" |
| Save Changes Before Compiling = "Always" |
| Hide Windows = False |
| Break At First Statement = False |
| Sort Type = "File Name" |
| Number of Opened Files = 6 |
| Window Confinement Region Enabled = True |
| MainColumnWidth = 303 |
| FileDateColumnWidth = 70 |
| FileSizeColumnWidth = 70 |
| [Project Header 0001] |
| Version = 1302 |
| Don't Update DistKit = False |
| Platform Code = 4 |
| Build Configuration = "Debug" |
| Warn User If Debugging Release = 1 |
| Batch Build Release = False |
| Batch Build Debug = False |
| [File 0001] |
| Path = "/c/home/Fourier/fourier.uir" |
| File Type = "User Interface Resource" |
| Disk Date = 3629705820 |
| In Projects = "1," |
| Window Top = 33 |
| Window Left = 10 |
| Window Height = 427 |
| Window Width = 768 |
| Window Z-Order = 2 |
| [File 0002] |
| Path = "/c/home/Fourier/fourier.c" |
| File Type = "CSource" |
| Disk Date = 3629707155 |
| In Projects = "1," |
| Window Top = 405 |
| Window Left = 202 |
| Window Z-Order = 1 |
| Source Window State = "1,248,249,248,66,66,66,0,0,173,0,161,0,0,0,46,155,0,182,36,427,768,1,40," |
| [File 0003] |
| Path = "/c/home/cvi/apps/TempCtrl/TempCtrl.c" |
| File Type = "CSource" |
| Disk Date = 3615354561 |
| In Projects = "" |
| Window Top = 157 |
| Window Left = 74 |
| Window Z-Order = 5 |
| Source Window State = "1,0,0,0,0,0,0,0,0,80,0,0,0,0,0,25,124,0,246,36,427,768,1,0," |
| [File 0004] |
| Path = "/c/home/cvi/apps/TempCtrl/TempCtrl.uir" |
| File Type = "User Interface Resource" |
| Disk Date = 3615354561 |
| In Projects = "" |
| Window Top = 188 |
| Window Left = 90 |
| Window Height = 427 |
| Window Width = 768 |
| Window Z-Order = 6 |
| [File 0005] |
| Path = "/c/home/cvi/instr/TempControllerSwitch/arduino_monitor.c" |
| File Type = "CSource" |
| Disk Date = 3627898504 |
| In Projects = "" |
| Window Top = 281 |
| Window Left = 138 |
| Window Z-Order = 3 |
| Source Window State = "1,611,613,611,15,29,15,0,0,80,0,0,0,0,0,25,592,0,612,38,427,768,1,0," |
| [File 0006] |
| Path = "/c/Program Files (x86)/National Instruments/CVI2013/include/rs232.h" |
| File Type = "Include" |
| Disk Date = 3486495600 |
| In Projects = "" |
| Window Top = 95 |
| Window Left = 42 |
| Window Z-Order = 4 |
| Source Window State = "1,60,60,60,12,21,21,0,3,80,0,0,0,0,0,25,48,0,60,12,427,768,1,0," |
| [Tab Order] |
| Tab 0001 = "/c/home/Fourier/fourier.uir" |
| Tab 0002 = "/c/home/Fourier/fourier.c" |
| Tab 0003 = "/c/home/cvi/apps/TempCtrl/TempCtrl.c" |
| Tab 0004 = "/c/home/cvi/apps/TempCtrl/TempCtrl.uir" |
| Tab 0005 = "/c/home/cvi/instr/TempControllerSwitch/arduino_monitor.c" |
| Tab 0006 = "/c/Program Files (x86)/National Instruments/CVI2013/include/rs232.h" |
| [Default Build Config 0001 Debug] |
| Generate Browse Info = True |
| Enable Uninitialized Locals Runtime Warning = True |
| Batch Build = False |
| Profile = "Disabled" |
| Debugging Level = "Standard" |
| Execution Trace = "Disabled" |
| Command Line Args = "" |
| Working Directory = "" |
| Environment Options = "" |
| External Process Path = "" |
| [Default Build Config 0001 Release] |
| Generate Browse Info = True |
| Enable Uninitialized Locals Runtime Warning = True |
| Batch Build = False |
| Profile = "Disabled" |
| Debugging Level = "Standard" |
| Execution Trace = "Disabled" |
| Command Line Args = "" |
| Working Directory = "" |
| Environment Options = "" |
| External Process Path = "" |
| [Default Build Config 0001 Debug64] |
| Generate Browse Info = True |
| Enable Uninitialized Locals Runtime Warning = True |
| Batch Build = False |
| Profile = "Disabled" |
| Debugging Level = "Standard" |
| Execution Trace = "Disabled" |
| Command Line Args = "" |
| Working Directory = "" |
| Environment Options = "" |
| External Process Path = "" |
| [Default Build Config 0001 Release64] |
| Generate Browse Info = True |
| Enable Uninitialized Locals Runtime Warning = True |
| Batch Build = False |
| Profile = "Disabled" |
| Debugging Level = "Standard" |
| Execution Trace = "Disabled" |
| Command Line Args = "" |
| Working Directory = "" |
| Environment Options = "" |
| External Process Path = "" |
| [Build Dependencies 0001] |
| Number of Dependencies = 0 |
| [Build Options 0001] |
| Generate Browse Info = True |
| Enable Uninitialized Locals Runtime Warning = True |
| Execution Trace = "Disabled" |
| Profile = "Disabled" |
| Debugging Level = "Standard" |
| Break On Library Errors = True |
| Break On First Chance Exceptions = False |
| [Execution Target 0001] |
| Execution Target Address = "Local desktop computer" |
| Execution Target Port = 0 |
| Execution Target Type = 0 |
| [SCC Options 0001] |
| Use global settings = True |
| SCC Provider = "" |
| SCC Project = "" |
| Local Path = "" |
| Auxiliary Path = "" |
| Perform Same Action For .h File As For .uir File = "Ask" |
| Perform Same Action For .cds File As For .prj File = "Ask" |
| Username = "" |
| Comment = "" |
| Use Default Username = False |
| Use Default Comment = False |
| Suppress CVI Error Messages = False |
| Always show confirmation dialog = True |
| [DLL Debugging Support 0001] |
| External Process Path = "" |
| [Command Line Args 0001] |
| Command Line Args = "" |
| Working Directory = "" |
| Environment Options = "" |
| /cvi/apps/fourier.exe |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Property changes: |
| Added: svn:mime-type |
| +application/octet-stream |
| \ No newline at end of property |
| /cvi/apps/fourier.h |
|---|
| 0,0 → 1,59 |
| /**************************************************************************/ |
| /* 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: ExitCB */ |
| #define p1_STOP 3 /* control type: command, callback function: StopCB */ |
| #define p1_GOTOEND 4 /* control type: command, callback function: GoToEndCB */ |
| #define p1_GOTOZERO 5 /* control type: command, callback function: GoToZeroCB */ |
| #define p1_RESET 6 /* control type: command, callback function: ResetCB */ |
| #define p1_START 7 /* control type: command, callback function: StartCB */ |
| #define p1_COM1 8 /* control type: numeric, callback function: (none) */ |
| #define p1_VMON 9 /* control type: numeric, callback function: (none) */ |
| #define p1_COM2 10 /* control type: numeric, callback function: (none) */ |
| #define p1_GRAPH 11 /* control type: strip, callback function: (none) */ |
| #define p1_SPLITTER_2 12 /* control type: splitter, callback function: (none) */ |
| #define p1_SPLITTER 13 /* control type: splitter, callback function: (none) */ |
| #define p1_SPLITTER_4 14 /* control type: splitter, callback function: (none) */ |
| #define p1_SPLITTER_3 15 /* control type: splitter, callback function: (none) */ |
| #define p1_RAZDALJA 16 /* control type: numeric, callback function: (none) */ |
| #define p1_HITROSTX 17 /* control type: numeric, callback function: (none) */ |
| #define p1_STOPPOS 18 /* control type: numeric, callback function: (none) */ |
| #define p1_STARTPOS 19 /* control type: numeric, callback function: (none) */ |
| #define p1_POZICIJA 20 /* control type: numeric, callback function: (none) */ |
| /* Control Arrays: */ |
| #define CTRLARRAY 1 |
| /* Menu Bars, Menus, and Menu Items: */ |
| /* (no menu bars in the resource file) */ |
| /* Callback Prototypes: */ |
| int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| int CVICALLBACK GoToEndCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| int CVICALLBACK GoToZeroCB(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); |
| #ifdef __cplusplus |
| } |
| #endif |
| /cvi/apps/fourier.prj |
|---|
| 0,0 → 1,419 |
| [Project Header] |
| Version = 1302 |
| Pathname = "/c/home/Fourier/fourier.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" |
| CVI Pub Global Dir = "/C/ProgramData/National Instruments/CVI" |
| IVI Standard Root Dir = "/C/Program Files (x86)/IVI Foundation/IVI" |
| 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 = 2 |
| Target Type = "Executable" |
| Flags = 2064 |
| Copied From Locked InstrDrv Directory = False |
| Copied from VXIPNP Directory = False |
| Locked InstrDrv Name = "" |
| Don't Display Deploy InstrDrv Dialog = False |
| [Folders] |
| Include Files Folder Not Added Yet = True |
| Instrument Files Folder Not Added Yet = True |
| Library Files Folder Not Added Yet = True |
| Folder 0 = "User Interface Files" |
| FolderEx 0 = "User Interface Files" |
| Folder 1 = "Source Files" |
| FolderEx 1 = "Source Files" |
| [File 0001] |
| File Type = "User Interface Resource" |
| Res Id = 1 |
| Path Is Rel = True |
| Path Rel To = "Project" |
| Path Rel Path = "fourier.uir" |
| Path = "/c/home/Fourier/fourier.uir" |
| Exclude = False |
| Project Flags = 0 |
| Folder = "User Interface Files" |
| Folder Id = 0 |
| [File 0002] |
| File Type = "CSource" |
| Res Id = 2 |
| Path Is Rel = True |
| Path Rel To = "Project" |
| Path Rel Path = "fourier.c" |
| Path = "/c/home/Fourier/fourier.c" |
| Exclude = False |
| Compile Into Object File = False |
| Project Flags = 0 |
| Folder = "Source Files" |
| Folder Id = 1 |
| [Custom Build Configs] |
| Num Custom Build Configs = 0 |
| [Default Build Config Debug] |
| Config Name = "Debug" |
| Is 64-Bit = False |
| Is Release = False |
| Default Calling Convention = "cdecl" |
| Optimization Level = "Optimize for speed (level 2)" |
| Require Prototypes = True |
| Show Warning IDs in Build Output = False |
| Selected Warning Level = "Common" |
| Warning List None = "" |
| Warning List Common = "" |
| Warning List Extended = "" |
| Warning List All = "" |
| Warning Mode = 0 |
| Enable Unreferenced Identifiers Warning = True |
| Enable Pointer Mismatch Warning = True |
| Enable Unreachable Code Warning = True |
| Enable Assignment In Conditional Warning = True |
| Uninitialized Locals Compile Warning = "Aggressive" |
| Require Return Values = True |
| Enable C99 Extensions = True |
| Enable OpenMP Extensions = False |
| Stack Size = 250000 |
| Stack Reserve = 1048576 |
| Stack Commit = 4096 |
| Image Base Address = 4194304 |
| Image Base Address x64 = 4194304 |
| Compiler Defines = "/DWIN32_LEAN_AND_MEAN" |
| Sign = False |
| Sign Store = "" |
| Sign Certificate = "" |
| Sign Timestamp URL = "" |
| Sign URL = "" |
| Manifest Embed = False |
| Icon File Is Rel = False |
| Icon File = "" |
| Application Title = "" |
| Use IVI Subdirectories for Import Libraries = False |
| Use VXIPNP Subdirectories for Import Libraries = False |
| Use Dflt Import Lib Base Name = True |
| Where to Copy DLL = "Do not copy" |
| Custom Directory to Copy DLL Is Rel = False |
| Custom Directory to Copy DLL = "" |
| Generate Source Documentation = "None" |
| Runtime Support = "Full Runtime Support" |
| Runtime Binding = "Shared" |
| Embed Project .UIRs = False |
| Generate Map File = False |
| Embed Timestamp = True |
| Create Console Application = False |
| 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 = "fourier (Debug x86)" |
| File Description Ex = "%application (%rel_dbg %arch)" |
| File Version = "1.0" |
| File Version Ex = "%f1.%f2" |
| Internal Name = "fourier" |
| Internal Name Ex = "%basename" |
| Legal Copyright = "Copyright © 2018" |
| Legal Copyright Ex = "Copyright © %company %Y" |
| Legal Trademarks = "" |
| Legal Trademarks Ex = "" |
| Original Filename = "fourier.exe" |
| Original Filename Ex = "%filename" |
| Private Build = "" |
| Private Build Ex = "" |
| Product Name = " fourier" |
| 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" |
| Type Lib FP File Is Rel = False |
| Type Lib FP File = "" |
| [Default Build Config Release] |
| Config Name = "Release" |
| Is 64-Bit = False |
| Is Release = True |
| Default Calling Convention = "cdecl" |
| Optimization Level = "Optimize for speed (level 2)" |
| Require Prototypes = True |
| Show Warning IDs in Build Output = False |
| Selected Warning Level = "Common" |
| Warning List None = "" |
| Warning List Common = "" |
| Warning List Extended = "" |
| Warning List All = "" |
| Warning Mode = 0 |
| Enable Unreferenced Identifiers Warning = True |
| Enable Pointer Mismatch Warning = True |
| Enable Unreachable Code Warning = True |
| Enable Assignment In Conditional Warning = True |
| Uninitialized Locals Compile Warning = "Aggressive" |
| Require Return Values = True |
| Enable C99 Extensions = True |
| Enable OpenMP Extensions = False |
| Stack Size = 250000 |
| Stack Reserve = 1048576 |
| Stack Commit = 4096 |
| Image Base Address = 4194304 |
| Image Base Address x64 = 4194304 |
| Compiler Defines = "/DWIN32_LEAN_AND_MEAN" |
| Sign = False |
| Sign Store = "" |
| Sign Certificate = "" |
| Sign Timestamp URL = "" |
| Sign URL = "" |
| Manifest Embed = False |
| Icon File Is Rel = False |
| Icon File = "" |
| Application Title = "" |
| Use IVI Subdirectories for Import Libraries = False |
| Use VXIPNP Subdirectories for Import Libraries = False |
| Use Dflt Import Lib Base Name = True |
| Where to Copy DLL = "Do not copy" |
| Custom Directory to Copy DLL Is Rel = False |
| Custom Directory to Copy DLL = "" |
| Generate Source Documentation = "None" |
| Runtime Support = "Full Runtime Support" |
| Runtime Binding = "Shared" |
| Embed Project .UIRs = False |
| Generate Map File = False |
| Embed Timestamp = True |
| Create Console Application = False |
| Using LoadExternalModule = False |
| DLL Exports = "Include File Symbols" |
| Register ActiveX Server = False |
| Add Type Lib To DLL = False |
| Include Type Lib Help Links = False |
| TLB Help Style = "HLP" |
| Type Lib FP File Is Rel = False |
| Type Lib FP File = "" |
| [Default Build Config Debug64] |
| Config Name = "Debug64" |
| Is 64-Bit = True |
| Is Release = False |
| Default Calling Convention = "cdecl" |
| Optimization Level = "Optimize for speed (level 2)" |
| Require Prototypes = True |
| Show Warning IDs in Build Output = False |
| Selected Warning Level = "Common" |
| Warning List None = "" |
| Warning List Common = "" |
| Warning List Extended = "" |
| Warning List All = "" |
| Warning Mode = 0 |
| Enable Unreferenced Identifiers Warning = True |
| Enable Pointer Mismatch Warning = True |
| Enable Unreachable Code Warning = True |
| Enable Assignment In Conditional Warning = True |
| Uninitialized Locals Compile Warning = "Aggressive" |
| Require Return Values = True |
| Enable C99 Extensions = True |
| Enable OpenMP Extensions = False |
| Stack Size = 250000 |
| Stack Reserve = 1048576 |
| Stack Commit = 4096 |
| Image Base Address = 4194304 |
| Image Base Address x64 = 4194304 |
| Compiler Defines = "/DWIN32_LEAN_AND_MEAN" |
| Sign = False |
| Sign Store = "" |
| Sign Certificate = "" |
| Sign Timestamp URL = "" |
| Sign URL = "" |
| Manifest Embed = False |
| Icon File Is Rel = False |
| Icon File = "" |
| Application Title = "" |
| Use IVI Subdirectories for Import Libraries = False |
| Use VXIPNP Subdirectories for Import Libraries = False |
| Use Dflt Import Lib Base Name = True |
| Where to Copy DLL = "Do not copy" |
| Custom Directory to Copy DLL Is Rel = False |
| Custom Directory to Copy DLL = "" |
| Generate Source Documentation = "None" |
| Runtime Support = "Full Runtime Support" |
| Runtime Binding = "Shared" |
| Embed Project .UIRs = False |
| Generate Map File = False |
| Embed Timestamp = True |
| Create Console Application = False |
| Using LoadExternalModule = False |
| DLL Exports = "Include File Symbols" |
| Register ActiveX Server = False |
| Add Type Lib To DLL = False |
| Include Type Lib Help Links = False |
| TLB Help Style = "HLP" |
| Type Lib FP File Is Rel = False |
| Type Lib FP File = "" |
| [Default Build Config Release64] |
| Config Name = "Release64" |
| Is 64-Bit = True |
| Is Release = True |
| Default Calling Convention = "cdecl" |
| Optimization Level = "Optimize for speed (level 2)" |
| Require Prototypes = True |
| Show Warning IDs in Build Output = False |
| Selected Warning Level = "Common" |
| Warning List None = "" |
| Warning List Common = "" |
| Warning List Extended = "" |
| Warning List All = "" |
| Warning Mode = 0 |
| Enable Unreferenced Identifiers Warning = True |
| Enable Pointer Mismatch Warning = True |
| Enable Unreachable Code Warning = True |
| Enable Assignment In Conditional Warning = True |
| Uninitialized Locals Compile Warning = "Aggressive" |
| Require Return Values = True |
| Enable C99 Extensions = True |
| Enable OpenMP Extensions = False |
| Stack Size = 250000 |
| Stack Reserve = 1048576 |
| Stack Commit = 4096 |
| Image Base Address = 4194304 |
| Image Base Address x64 = 4194304 |
| Compiler Defines = "/DWIN32_LEAN_AND_MEAN" |
| Sign = False |
| Sign Store = "" |
| Sign Certificate = "" |
| Sign Timestamp URL = "" |
| Sign URL = "" |
| Manifest Embed = False |
| Icon File Is Rel = False |
| Icon File = "" |
| Application Title = "" |
| Use IVI Subdirectories for Import Libraries = False |
| Use VXIPNP Subdirectories for Import Libraries = False |
| Use Dflt Import Lib Base Name = True |
| Where to Copy DLL = "Do not copy" |
| Custom Directory to Copy DLL Is Rel = False |
| Custom Directory to Copy DLL = "" |
| Generate Source Documentation = "None" |
| Runtime Support = "Full Runtime Support" |
| Runtime Binding = "Shared" |
| Embed Project .UIRs = False |
| Generate Map File = False |
| Embed Timestamp = True |
| Create Console Application = False |
| Using LoadExternalModule = False |
| DLL Exports = "Include File Symbols" |
| Register ActiveX Server = False |
| Add Type Lib To DLL = False |
| Include Type Lib Help Links = False |
| TLB Help Style = "HLP" |
| Type Lib FP File Is Rel = False |
| Type Lib FP File = "" |
| [Compiler Options] |
| Default Calling Convention = "cdecl" |
| Require Prototypes = True |
| Require Return Values = False |
| Enable Pointer Mismatch Warning = False |
| Enable Unreachable Code Warning = False |
| Enable Unreferenced Identifiers Warning = False |
| Enable Assignment In Conditional Warning = False |
| O Option Compatible With 5.0 = False |
| Enable C99 Extensions = True |
| Uninitialized Locals Compile Warning = "Disabled" |
| Precompile Prefix Header = False |
| Prefix Header File = "" |
| [Run Options] |
| Stack Size = 250000 |
| Stack Commit = 4096 |
| Image Base Address = 4194304 |
| Image Base Address x64 = 4194304 |
| [Compiler Defines] |
| Compiler Defines = "/DWIN32_LEAN_AND_MEAN" |
| [Create Executable] |
| Executable File_Debug Is Rel = True |
| Executable File_Debug Rel To = "Project" |
| Executable File_Debug Rel Path = "fourier.exe" |
| Executable File_Debug = "/c/home/Fourier/fourier.exe" |
| Executable File_Release Is Rel = True |
| Executable File_Release Rel To = "Project" |
| Executable File_Release Rel Path = "fourier.exe" |
| Executable File_Release = "/c/home/Fourier/fourier.exe" |
| Executable File_Debug64 Is Rel = True |
| Executable File_Debug64 Rel To = "Project" |
| Executable File_Debug64 Rel Path = "fourier.exe" |
| Executable File_Debug64 = "/c/home/Fourier/fourier.exe" |
| Executable File_Release64 Is Rel = True |
| Executable File_Release64 Rel To = "Project" |
| Executable File_Release64 Rel Path = "fourier.exe" |
| Executable File_Release64 = "/c/home/Fourier/fourier.exe" |
| Icon File Is Rel = False |
| Icon File = "" |
| Application Title = "" |
| DLL Exports = "Include File Symbols" |
| Use IVI Subdirectories for Import Libraries = False |
| Use VXIPNP Subdirectories for Import Libraries = False |
| Use Dflt Import Lib Base Name = True |
| Where to Copy DLL = "Do not copy" |
| Custom Directory to Copy DLL Is Rel = False |
| Custom Directory to Copy DLL = "" |
| Generate Source Documentation = "None" |
| Add Type Lib To DLL = False |
| Include Type Lib Help Links = False |
| TLB Help Style = "HLP" |
| Type Lib FP File Is Rel = False |
| Type Lib FP File = "" |
| Type Lib Guid = "" |
| Runtime Support = "Full Runtime Support" |
| Instrument Driver Support Only = False |
| Embed Project .UIRs = False |
| Generate Map File = False |
| [External Compiler Support] |
| UIR Callbacks File Option = 0 |
| Using LoadExternalModule = False |
| Create Project Symbols File = True |
| UIR Callbacks Obj File Is Rel = False |
| UIR Callbacks Obj File = "" |
| Project Symbols H File Is Rel = False |
| Project Symbols H File = "" |
| Project Symbols Obj File Is Rel = False |
| Project Symbols Obj File = "" |
| [ActiveX Server Options] |
| Specification File Is Rel = False |
| Specification File = "" |
| Source File Is Rel = False |
| Source File = "" |
| Include File Is Rel = False |
| Include File = "" |
| IDL File Is Rel = False |
| IDL File = "" |
| Register ActiveX Server = False |
| [Signing Info] |
| Sign = False |
| Sign Debug Build = False |
| Store = "" |
| Certificate = "" |
| Timestamp URL = "" |
| URL = "" |
| [Manifest Info] |
| Embed = False |
| [tpcSection] |
| tpcEnabled = 0 |
| tpcOverrideEnvironment = 0 |
| tpcEnabled x64 = 0 |
| tpcOverrideEnvironment x64 = 0 |
| /cvi/apps/fourier.uir |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Property changes: |
| Added: svn:mime-type |
| +application/octet-stream |
| \ No newline at end of property |