Browse Source

파일 정리

main
최승민 1 month ago
parent
commit
fa34270f8e
  1. BIN
      ADLINK.zip
  2. 2
      README.md
  3. BIN
      Setup/Release/Setup.msi
  4. BIN
      Setup/Release/setup.exe
  5. 30976
      Setup/Setup.vdproj
  6. BIN
      Setup1/Release/Setup1.msi
  7. BIN
      Setup1/Release/setup.exe
  8. 689
      Setup1/Setup1.vdproj
  9. 268
      UpgradeLog.htm
  10. 268
      UpgradeLog2.htm
  11. 268
      UpgradeLog3.htm
  12. 268
      UpgradeLog4.htm
  13. BIN
      build_log.txt
  14. 13
      leak_test_project.Setup/Product.wxs
  15. 3
      leak_test_project.slnx
  16. 2
      leak_test_project/Manual/02_초기_설정.md
  17. 8
      leak_test_project/Manual/03_메인_화면.md
  18. 4
      leak_test_project/Manual/07_시험_프로세스.md
  19. 4
      leak_test_project/Models/ProjectModels.cs
  20. 39
      leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml
  21. 8
      leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml.user
  22. 13
      leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml
  23. 8
      leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml.user
  24. 1
      leak_test_project/Services/Board4251.cs
  25. 1
      leak_test_project/Services/SentinelC28Service.cs
  26. 52
      leak_test_project/ViewModels/HomeViewModel.cs
  27. 12
      leak_test_project/Views/HomeView.xaml
  28. 40
      leak_test_project/bin/Debug/Logs/2026-04-10_system.log
  29. BIN
      leak_test_project/bin/Debug/PCI-Dask64.dll
  30. BIN
      leak_test_project/bin/Debug/app.publish/leak_test_project.exe
  31. 14
      leak_test_project/bin/Debug/config.xml
  32. 21
      leak_test_project/bin/Debug/leak_test_project.application
  33. BIN
      leak_test_project/bin/Debug/leak_test_project.exe
  34. 74
      leak_test_project/bin/Debug/leak_test_project.exe.manifest
  35. BIN
      leak_test_project/bin/Debug/leak_test_project.pdb
  36. 68
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/DAQHeader.h
  37. 1516
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.bas
  38. 1796
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.cs
  39. 2027
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.h
  40. 1649
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.pas
  41. 1544
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.vb
  42. 1661
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.cs
  43. 1882
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.h
  44. 1421
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.vb
  45. BIN
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask.lib
  46. BIN
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.dll
  47. BIN
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.lib
  48. BIN
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/pdask_bc.lib
  49. BIN
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/DASK Installation Guide.pdf
  50. BIN
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK Function Reference.pdf
  51. BIN
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK User Manual.pdf
  52. 3036
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/RelNotes.txt
  53. 20
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint.sln
  54. 81
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/D6208_AO_OnePoint.csproj
  55. 956
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Dask.cs
  56. 88
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.Designer.cs
  57. 55
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.cs
  58. 120
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.resx
  59. 20
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Program.cs
  60. 33
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/AssemblyInfo.cs
  61. 71
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.Designer.cs
  62. 117
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.resx
  63. 30
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.Designer.cs
  64. 7
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.settings
  65. 20
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO.sln
  66. 81
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/D7250_DIO.csproj
  67. 800
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Dask.cs
  68. 127
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.Designer.cs
  69. 89
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.cs
  70. 120
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.resx
  71. 20
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Program.cs
  72. 33
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/AssemblyInfo.cs
  73. 71
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.Designer.cs
  74. 117
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.resx
  75. 30
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.Designer.cs
  76. 7
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.settings
  77. 20
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.sln
  78. 81
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.csproj
  79. 800
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Dask.cs
  80. 88
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.Designer.cs
  81. 62
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.cs
  82. 120
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.resx
  83. 20
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Program.cs
  84. 33
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/AssemblyInfo.cs
  85. 71
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.Designer.cs
  86. 117
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.resx
  87. 30
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.Designer.cs
  88. 7
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.settings
  89. 20
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.sln
  90. 81
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.csproj
  91. 800
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Dask.cs
  92. 63
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.Designer.cs
  93. 61
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.cs
  94. 120
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.resx
  95. 20
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Program.cs
  96. 33
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/AssemblyInfo.cs
  97. 71
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.Designer.cs
  98. 117
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.resx
  99. 30
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.Designer.cs
  100. 7
      leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.settings

BIN
ADLINK.zip

Binary file not shown.

2
README.md

@ -63,7 +63,7 @@ leak_test_project/
- 측정값(sccm), SPEC 범위(UL/LL), 판정(OK/NG) 실시간 확인 - 측정값(sccm), SPEC 범위(UL/LL), 판정(OK/NG) 실시간 확인
- 판정 결과에 따른 배경색 자동 변경 (OK=녹색, NG=빨간색) - 판정 결과에 따른 배경색 자동 변경 (OK=녹색, NG=빨간색)
- 좌/우 채널별 상태(Status) 및 오류(Error) 메시지 표시 - 좌/우 채널별 상태(Status) 및 오류(Error) 메시지 표시
- 센서 ID 정보 (LowID, 제조일, 시리얼, 라인, 제품 구분) 실시간 표시 - 센서 ID 정보 (ID, 제조일, 시리얼, 라인, 제품 구분) 실시간 표시
- **ID 테스트 (L/R)** 버튼을 통한 센서 단독 통신 테스트 기능 - **ID 테스트 (L/R)** 버튼을 통한 센서 단독 통신 테스트 기능
### 2. 자동 시험 프로세스 (TestProcessService) ### 2. 자동 시험 프로세스 (TestProcessService)

BIN
Setup/Release/Setup.msi

Binary file not shown.

BIN
Setup/Release/setup.exe

Binary file not shown.

30976
Setup/Setup.vdproj

File diff suppressed because it is too large

BIN
Setup1/Release/Setup1.msi

Binary file not shown.

BIN
Setup1/Release/setup.exe

Binary file not shown.

689
Setup1/Setup1.vdproj

@ -0,0 +1,689 @@
"DeployProject"
{
"VSVersion" = "3:800"
"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}"
"IsWebType" = "8:FALSE"
"ProjectName" = "8:Setup1"
"LanguageId" = "3:1042"
"CodePage" = "3:949"
"UILanguageId" = "3:1042"
"SccProjectName" = "8:"
"SccLocalPath" = "8:"
"SccAuxPath" = "8:"
"SccProvider" = "8:"
"Hierarchy"
{
"Entry"
{
"MsmKey" = "8:_BDA89A38FB90491D8677F9F61BFE58EF"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
}
"Configurations"
{
"Debug"
{
"DisplayName" = "8:Debug"
"IsDebugOnly" = "11:TRUE"
"IsReleaseOnly" = "11:FALSE"
"OutputFilename" = "8:Debug\\Setup1.msi"
"PackageFilesAs" = "3:2"
"PackageFileSize" = "3:-2147483648"
"CabType" = "3:1"
"Compression" = "3:2"
"SignOutput" = "11:FALSE"
"CertificateFile" = "8:"
"PrivateKeyFile" = "8:"
"TimeStampServer" = "8:"
"InstallerBootstrapper" = "3:2"
}
"Release"
{
"DisplayName" = "8:Release"
"IsDebugOnly" = "11:FALSE"
"IsReleaseOnly" = "11:TRUE"
"OutputFilename" = "8:Release\\Setup1.msi"
"PackageFilesAs" = "3:2"
"PackageFileSize" = "3:-2147483648"
"CabType" = "3:1"
"Compression" = "3:2"
"SignOutput" = "11:FALSE"
"CertificateFile" = "8:"
"PrivateKeyFile" = "8:"
"TimeStampServer" = "8:"
"InstallerBootstrapper" = "3:2"
}
}
"Deployable"
{
"CustomAction"
{
}
"DefaultFeature"
{
"Name" = "8:DefaultFeature"
"Title" = "8:"
"Description" = "8:"
}
"ExternalPersistence"
{
"LaunchCondition"
{
}
}
"File"
{
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BDA89A38FB90491D8677F9F61BFE58EF"
{
"SourcePath" = "8:..\\leak_test_project\\bin\\Release\\leak_test_project.exe"
"TargetName" = "8:leak_test_project.exe"
"Tag" = "8:"
"Folder" = "8:_BD9EAF16D8B4406C86DFAADC3DFE7CBC"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Vital" = "11:TRUE"
"ReadOnly" = "11:FALSE"
"Hidden" = "11:FALSE"
"System" = "11:FALSE"
"Permanent" = "11:FALSE"
"SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1"
"Register" = "3:1"
"Exclude" = "11:FALSE"
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
}
"FileType"
{
}
"Folder"
{
"{1525181F-901A-416C-8A58-119130FE478E}:_168AD8B046834C1EA526FDC2362A1627"
{
"Name" = "8:#1919"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:ProgramMenuFolder"
"Folders"
{
}
}
"{1525181F-901A-416C-8A58-119130FE478E}:_966813E6546A452AA7A4BDFA135C84D8"
{
"Name" = "8:#1916"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:DesktopFolder"
"Folders"
{
}
}
"{3C67513D-01DD-4637-8A68-80971EB9504F}:_BD9EAF16D8B4406C86DFAADC3DFE7CBC"
{
"DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]"
"Name" = "8:#1925"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:TARGETDIR"
"Folders"
{
}
}
}
"LaunchCondition"
{
}
"Locator"
{
}
"MsiBootstrapper"
{
"LangId" = "3:1042"
"RequiresElevation" = "11:FALSE"
}
"Product"
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Setup1"
"ProductCode" = "8:{B593CAF7-50B6-473C-9A4C-0AE9EC06EB69}"
"PackageCode" = "8:{C52B34AD-9C56-4434-A425-EE8A2D9B8348}"
"UpgradeCode" = "8:{94F66916-40E9-4AA7-A7D8-251F926256D2}"
"AspNetVersion" = "8:2.0.50727.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:FALSE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.0.0"
"Manufacturer" = "8:COMPUTER1"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
"Title" = "8:Setup1"
"Subject" = "8:"
"ARPCONTACT" = "8:COMPUTER1"
"Keywords" = "8:"
"ARPCOMMENTS" = "8:"
"ARPURLINFOABOUT" = "8:"
"ARPPRODUCTICON" = "8:"
"ARPIconIndex" = "3:0"
"SearchPath" = "8:"
"UseSystemSearchPath" = "11:TRUE"
"TargetPlatform" = "3:0"
"PreBuildEvent" = "8:"
"PostBuildEvent" = "8:"
"RunPostBuildEvent" = "3:0"
}
"Registry"
{
"HKLM"
{
"Keys"
{
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_07FC6772798B49ECADA69954DD4F0B52"
{
"Name" = "8:Software"
"Condition" = "8:"
"AlwaysCreate" = "11:FALSE"
"DeleteAtUninstall" = "11:FALSE"
"Transitive" = "11:FALSE"
"Keys"
{
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_42F6C644E4D54C04BB16042F26EB8A93"
{
"Name" = "8:[Manufacturer]"
"Condition" = "8:"
"AlwaysCreate" = "11:FALSE"
"DeleteAtUninstall" = "11:FALSE"
"Transitive" = "11:FALSE"
"Keys"
{
}
"Values"
{
}
}
}
"Values"
{
}
}
}
}
"HKCU"
{
"Keys"
{
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_5DD40767F49740FABC0433B725B4CE2B"
{
"Name" = "8:Software"
"Condition" = "8:"
"AlwaysCreate" = "11:FALSE"
"DeleteAtUninstall" = "11:FALSE"
"Transitive" = "11:FALSE"
"Keys"
{
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_F71517E33974467D8B234135D86F411E"
{
"Name" = "8:[Manufacturer]"
"Condition" = "8:"
"AlwaysCreate" = "11:FALSE"
"DeleteAtUninstall" = "11:FALSE"
"Transitive" = "11:FALSE"
"Keys"
{
}
"Values"
{
}
}
}
"Values"
{
}
}
}
}
"HKCR"
{
"Keys"
{
}
}
"HKU"
{
"Keys"
{
}
}
"HKPU"
{
"Keys"
{
}
}
}
"Sequences"
{
}
"Shortcut"
{
"{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_E0D3DF43E6F746F68FAAD261C8242F29"
{
"Name" = "8:Shortcut to %sleak_test_project.exe"
"Arguments" = "8:"
"Description" = "8:"
"ShowCmd" = "3:1"
"IconIndex" = "3:0"
"Transitive" = "11:FALSE"
"Target" = "8:_BDA89A38FB90491D8677F9F61BFE58EF"
"Folder" = "8:_966813E6546A452AA7A4BDFA135C84D8"
"WorkingFolder" = "8:_BD9EAF16D8B4406C86DFAADC3DFE7CBC"
"Icon" = "8:"
"Feature" = "8:"
}
}
"UserInterface"
{
"{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_39B931F091AE4C22A876F911EAFCB65F"
{
"UseDynamicProperties" = "11:FALSE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdBasicDialogs.wim"
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_4F116053C70847B59C242EF887603E8A"
{
"Name" = "8:#1902"
"Sequence" = "3:2"
"Attributes" = "3:3"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_BC3C4A8A383C47A0ACA1DF2E84733EB8"
{
"Sequence" = "3:100"
"DisplayName" = "8:마침"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminFinishedDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
}
}
}
}
"{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_5A03024520484DB9B0DAD72ED6DD2775"
{
"UseDynamicProperties" = "11:FALSE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdUserInterface.wim"
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_6293FB2DC5BF41108DE1ACBD1382668E"
{
"Name" = "8:#1902"
"Sequence" = "3:1"
"Attributes" = "3:3"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B8721924583C4E129524A5BC6FF9E873"
{
"Sequence" = "3:100"
"DisplayName" = "8:마침"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdFinishedDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"UpdateText"
{
"Name" = "8:UpdateText"
"DisplayName" = "8:#1058"
"Description" = "8:#1158"
"Type" = "3:15"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:1"
"Value" = "8:#1258"
"DefaultValue" = "8:#1258"
"UsePlugInResources" = "11:TRUE"
}
}
}
}
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_D32DD10BF47D4C1DA77CCD7B39B6C448"
{
"Name" = "8:#1901"
"Sequence" = "3:2"
"Attributes" = "3:2"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E1094BC3121B4A8481D89679A087094A"
{
"Sequence" = "3:100"
"DisplayName" = "8:진행률"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminProgressDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"ShowProgress"
{
"Name" = "8:ShowProgress"
"DisplayName" = "8:#1009"
"Description" = "8:#1109"
"Type" = "3:5"
"ContextData" = "8:1;True=1;False=0"
"Attributes" = "3:0"
"Setting" = "3:0"
"Value" = "3:1"
"DefaultValue" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
}
}
}
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_D368AA2C3E894C6E9B9E4F663B915C00"
{
"Name" = "8:#1900"
"Sequence" = "3:2"
"Attributes" = "3:1"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_66C7A280677542F698350C3D2A100180"
{
"Sequence" = "3:300"
"DisplayName" = "8:설치 확인"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminConfirmDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
}
}
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_9CCC2B09C8FD4391B21A2E9AED1FB4A0"
{
"Sequence" = "3:100"
"DisplayName" = "8:환영"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminWelcomeDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"CopyrightWarning"
{
"Name" = "8:CopyrightWarning"
"DisplayName" = "8:#1002"
"Description" = "8:#1102"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:1"
"Value" = "8:#1202"
"DefaultValue" = "8:#1202"
"UsePlugInResources" = "11:TRUE"
}
"Welcome"
{
"Name" = "8:Welcome"
"DisplayName" = "8:#1003"
"Description" = "8:#1103"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:1"
"Value" = "8:#1203"
"DefaultValue" = "8:#1203"
"UsePlugInResources" = "11:TRUE"
}
}
}
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_CFE439A462B1461EAC49DBAF66F2B446"
{
"Sequence" = "3:200"
"DisplayName" = "8:설치 폴더"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminFolderDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
}
}
}
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_D6DB45365BDF4E8BAE0C48C2337965D2"
{
"Name" = "8:#1901"
"Sequence" = "3:1"
"Attributes" = "3:2"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_5BFEC1290D2349B98A42CEA62D1B52E6"
{
"Sequence" = "3:100"
"DisplayName" = "8:진행률"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdProgressDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"ShowProgress"
{
"Name" = "8:ShowProgress"
"DisplayName" = "8:#1009"
"Description" = "8:#1109"
"Type" = "3:5"
"ContextData" = "8:1;True=1;False=0"
"Attributes" = "3:0"
"Setting" = "3:0"
"Value" = "3:1"
"DefaultValue" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
}
}
}
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_D99B132739A244E8820912FE34D79B2B"
{
"Name" = "8:#1900"
"Sequence" = "3:1"
"Attributes" = "3:1"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_5D2590475DC847BBA50C5212F237A708"
{
"Sequence" = "3:200"
"DisplayName" = "8:설치 폴더"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdFolderDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"InstallAllUsersVisible"
{
"Name" = "8:InstallAllUsersVisible"
"DisplayName" = "8:#1059"
"Description" = "8:#1159"
"Type" = "3:5"
"ContextData" = "8:1;True=1;False=0"
"Attributes" = "3:0"
"Setting" = "3:0"
"Value" = "3:1"
"DefaultValue" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
}
}
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E7AB59F144B842BCA4334ED5C9C271ED"
{
"Sequence" = "3:100"
"DisplayName" = "8:환영"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdWelcomeDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
"CopyrightWarning"
{
"Name" = "8:CopyrightWarning"
"DisplayName" = "8:#1002"
"Description" = "8:#1102"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:1"
"Value" = "8:#1202"
"DefaultValue" = "8:#1202"
"UsePlugInResources" = "11:TRUE"
}
"Welcome"
{
"Name" = "8:Welcome"
"DisplayName" = "8:#1003"
"Description" = "8:#1103"
"Type" = "3:3"
"ContextData" = "8:"
"Attributes" = "3:0"
"Setting" = "3:1"
"Value" = "8:#1203"
"DefaultValue" = "8:#1203"
"UsePlugInResources" = "11:TRUE"
}
}
}
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_FD26B9BF12B14607835CDA42807B4CD8"
{
"Sequence" = "3:300"
"DisplayName" = "8:설치 확인"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdConfirmDlg.wid"
"Properties"
{
"BannerBitmap"
{
"Name" = "8:BannerBitmap"
"DisplayName" = "8:#1001"
"Description" = "8:#1101"
"Type" = "3:8"
"ContextData" = "8:Bitmap"
"Attributes" = "3:4"
"Setting" = "3:1"
"UsePlugInResources" = "11:TRUE"
}
}
}
}
}
}
"MergeModule"
{
}
"ProjectOutput"
{
}
}
}

268
UpgradeLog.htm

@ -0,0 +1,268 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
마이그레이션 보고서
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1
{
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2
{
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3
{
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a
{
color: #1382CE;
}
/* Table styles */
table
{
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th
{
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td
{
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink
{
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover
{
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered
{
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell
{
width: 100%;
}
/* Padding around the content after the h1 */
#content
{
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table
{
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table
{
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
{
min-width:18px;
min-height:18px;
background-repeat:no-repeat;
background-position:center;
}
/* Success icon encoded */
.IconSuccessEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABcElEQVR4Xq2TsUsCURzHv15g8ZJcBWlyiYYgCIWcb9DFRRwMW5TA2c0/QEFwFkxxUQdxVlBwCYWOi6IhWgQhBLHJUCkhLr/BW8S7gvrAg+N+v8/v+x68Z8MGy+XSCyABQAXgBgHGALoASkIIDWSLeLBetdHryMjd5IxQPWT4rn1c/P7+xxp72Cs9m5SZ0Bq2vPnbPFafK2zDvmNHypdC0BPkLlQhxJsCAhQoZwdZU5mwxh720qGo8MzTxTTKZDPCx2HoVzp6lz0Q9tKhyx0kGs8Ny+TkWRKk8lCROwEduhyg9l/6lunOPSfmH3NUH6uQ0KHLAe7JYvJjevm+DAMGJHToKtigE+vwvIidxLamb8IBY9e+C5LiXREkfho3TSd06HJA13/oh6T51MTsfQbHrsMynQ5dDihFjiK8JJAU9AKIWTp76dCVN7HWHrajmUEGvyF9nkbAE6gLIS7kTUyuf2gscLoJrElZo/Mvj+nPz/kLTmfnEwP3tB0AAAAASUVORK5CYII=);
}
/* Information icon encoded */
.IconInfoEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style><script type="text/javascript" language="javascript">
// Startup
// Hook up the the loaded event for the document/window, to linkify the document content
var startupFunction = function() { linkifyElement("messages"); };
if(window.attachEvent)
{
window.attachEvent('onload', startupFunction);
}
else if (window.addEventListener)
{
window.addEventListener('load', startupFunction, false);
}
else
{
document.addEventListener('load', startupFunction, false);
}
// Toggles the visibility of table rows with the specified name
function toggleTableRowsByName(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
if(!!currentName && currentName.indexOf(name) == 0)
{
var isVisible = allRows[i].style.display == '';
isVisible ? allRows[i].style.display = 'none' : allRows[i].style.display = '';
}
}
}
function scrollToFirstVisibleRow(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
var isVisible = allRows[i].style.display == '';
if(!!currentName && currentName.indexOf(name) == 0 && isVisible)
{
allRows[i].scrollIntoView(true);
return true;
}
}
return false;
}
// Linkifies the specified text content, replaces candidate links with html links
function linkify(text)
{
if(!text || 0 === text.length)
{
return text;
}
// Find http, https and ftp links and replace them with hyper links
var urlLink = /(http|https|ftp)\:\/\/[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?\/?([a-zA-Z0-9\-\._\?\,\/\\\+&%\$#\=~;\{\}])*/gi;
return text.replace(urlLink, '<a href="$&">$&</a>') ;
}
// Linkifies the specified element by ID
function linkifyElement(id)
{
var element = document.getElementById(id);
if(!!element)
{
element.innerHTML = linkify(element.innerHTML);
}
}
function ToggleMessageVisibility(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
toggleTableRowsByName("MessageRowClass" + projectName);
toggleTableRowsByName('MessageRowHeaderShow' + projectName);
toggleTableRowsByName('MessageRowHeaderHide' + projectName);
}
function ScrollToFirstVisibleMessage(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
// First try the 'Show messages' row
if(!scrollToFirstVisibleRow('MessageRowHeaderShow' + projectName))
{
// Failed to find a visible row for 'Show messages', try an actual message row
scrollToFirstVisibleRow('MessageRowClass' + projectName);
}
}
</script></head><body><h1 _locID="ConversionReport">
마이그레이션 보고서 - </h1><div id="content"><h2 _locID="OverviewTitle">개요</h2><div id="overview"><table><tr><th></th><th _locID="ProjectTableHeader">프로젝트</th><th _locID="PathTableHeader">경로</th><th _locID="ErrorsTableHeader">오류</th><th _locID="WarningsTableHeader">경고</th><th _locID="MessagesTableHeader">메시지</th></tr><tr><td class="IconErrorEncoded" /><td><strong><a href="#leak_test_project.Setup">leak_test_project.Setup</a></strong></td><td>leak_test_project.Setup\leak_test_project.Setup.wixproj</td><td class="textCentered"><a href="#leak_test_project.SetupError">1</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr></table></div><h2 _locID="SolutionAndProjectsTitle">솔루션 및 프로젝트</h2><div id="messages"><a name="leak_test_project.Setup" /><h3>leak_test_project.Setup</h3><table><tr id="leak_test_project.SetupHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">메시지</th></tr><tr name="ErrorRowClassleak_test_project.Setup"><td class="IconErrorEncoded"><a name="leak_test_project.SetupError" /></td><td class="messageCell"><strong>leak_test_project.Setup\leak_test_project.Setup.wixproj:
</strong><span>이 프로젝트 형식을 기반으로 하는 애플리케이션을 찾지 못했습니다. 추가 정보를 보려면 이 링크를 확인하십시오. 930c7802-8a8c-48f9-8165-68863bccd9dd</span></td></tr></table></div></div></body></html>

268
UpgradeLog2.htm

@ -0,0 +1,268 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
마이그레이션 보고서
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1
{
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2
{
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3
{
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a
{
color: #1382CE;
}
/* Table styles */
table
{
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th
{
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td
{
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink
{
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover
{
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered
{
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell
{
width: 100%;
}
/* Padding around the content after the h1 */
#content
{
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table
{
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table
{
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
{
min-width:18px;
min-height:18px;
background-repeat:no-repeat;
background-position:center;
}
/* Success icon encoded */
.IconSuccessEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABcElEQVR4Xq2TsUsCURzHv15g8ZJcBWlyiYYgCIWcb9DFRRwMW5TA2c0/QEFwFkxxUQdxVlBwCYWOi6IhWgQhBLHJUCkhLr/BW8S7gvrAg+N+v8/v+x68Z8MGy+XSCyABQAXgBgHGALoASkIIDWSLeLBetdHryMjd5IxQPWT4rn1c/P7+xxp72Cs9m5SZ0Bq2vPnbPFafK2zDvmNHypdC0BPkLlQhxJsCAhQoZwdZU5mwxh720qGo8MzTxTTKZDPCx2HoVzp6lz0Q9tKhyx0kGs8Ny+TkWRKk8lCROwEduhyg9l/6lunOPSfmH3NUH6uQ0KHLAe7JYvJjevm+DAMGJHToKtigE+vwvIidxLamb8IBY9e+C5LiXREkfho3TSd06HJA13/oh6T51MTsfQbHrsMynQ5dDihFjiK8JJAU9AKIWTp76dCVN7HWHrajmUEGvyF9nkbAE6gLIS7kTUyuf2gscLoJrElZo/Mvj+nPz/kLTmfnEwP3tB0AAAAASUVORK5CYII=);
}
/* Information icon encoded */
.IconInfoEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style><script type="text/javascript" language="javascript">
// Startup
// Hook up the the loaded event for the document/window, to linkify the document content
var startupFunction = function() { linkifyElement("messages"); };
if(window.attachEvent)
{
window.attachEvent('onload', startupFunction);
}
else if (window.addEventListener)
{
window.addEventListener('load', startupFunction, false);
}
else
{
document.addEventListener('load', startupFunction, false);
}
// Toggles the visibility of table rows with the specified name
function toggleTableRowsByName(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
if(!!currentName && currentName.indexOf(name) == 0)
{
var isVisible = allRows[i].style.display == '';
isVisible ? allRows[i].style.display = 'none' : allRows[i].style.display = '';
}
}
}
function scrollToFirstVisibleRow(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
var isVisible = allRows[i].style.display == '';
if(!!currentName && currentName.indexOf(name) == 0 && isVisible)
{
allRows[i].scrollIntoView(true);
return true;
}
}
return false;
}
// Linkifies the specified text content, replaces candidate links with html links
function linkify(text)
{
if(!text || 0 === text.length)
{
return text;
}
// Find http, https and ftp links and replace them with hyper links
var urlLink = /(http|https|ftp)\:\/\/[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?\/?([a-zA-Z0-9\-\._\?\,\/\\\+&%\$#\=~;\{\}])*/gi;
return text.replace(urlLink, '<a href="$&">$&</a>') ;
}
// Linkifies the specified element by ID
function linkifyElement(id)
{
var element = document.getElementById(id);
if(!!element)
{
element.innerHTML = linkify(element.innerHTML);
}
}
function ToggleMessageVisibility(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
toggleTableRowsByName("MessageRowClass" + projectName);
toggleTableRowsByName('MessageRowHeaderShow' + projectName);
toggleTableRowsByName('MessageRowHeaderHide' + projectName);
}
function ScrollToFirstVisibleMessage(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
// First try the 'Show messages' row
if(!scrollToFirstVisibleRow('MessageRowHeaderShow' + projectName))
{
// Failed to find a visible row for 'Show messages', try an actual message row
scrollToFirstVisibleRow('MessageRowClass' + projectName);
}
}
</script></head><body><h1 _locID="ConversionReport">
마이그레이션 보고서 - </h1><div id="content"><h2 _locID="OverviewTitle">개요</h2><div id="overview"><table><tr><th></th><th _locID="ProjectTableHeader">프로젝트</th><th _locID="PathTableHeader">경로</th><th _locID="ErrorsTableHeader">오류</th><th _locID="WarningsTableHeader">경고</th><th _locID="MessagesTableHeader">메시지</th></tr><tr><td class="IconErrorEncoded" /><td><strong><a href="#leak_test_project.Setup(로드 중)">leak_test_project.Setup(로드 중)</a></strong></td><td>leak_test_project.Setup\leak_test_project.Setup.wixproj</td><td class="textCentered"><a href="#leak_test_project.Setup(로드 중)Error">1</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr></table></div><h2 _locID="SolutionAndProjectsTitle">솔루션 및 프로젝트</h2><div id="messages"><a name="leak_test_project.Setup(로드 중)" /><h3>leak_test_project.Setup(로드 중)</h3><table><tr id="leak_test_project.Setup(로드 중)HeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">메시지</th></tr><tr name="ErrorRowClassleak_test_project.Setup(로드 중)"><td class="IconErrorEncoded"><a name="leak_test_project.Setup(로드 중)Error" /></td><td class="messageCell"><strong>leak_test_project.Setup\leak_test_project.Setup.wixproj:
</strong><span>이 프로젝트 형식을 기반으로 하는 애플리케이션을 찾지 못했습니다. 추가 정보를 보려면 이 링크를 확인하십시오. 930c7802-8a8c-48f9-8165-68863bccd9dd</span></td></tr></table></div></div></body></html>

268
UpgradeLog3.htm

@ -0,0 +1,268 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
마이그레이션 보고서
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1
{
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2
{
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3
{
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a
{
color: #1382CE;
}
/* Table styles */
table
{
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th
{
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td
{
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink
{
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover
{
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered
{
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell
{
width: 100%;
}
/* Padding around the content after the h1 */
#content
{
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table
{
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table
{
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
{
min-width:18px;
min-height:18px;
background-repeat:no-repeat;
background-position:center;
}
/* Success icon encoded */
.IconSuccessEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABcElEQVR4Xq2TsUsCURzHv15g8ZJcBWlyiYYgCIWcb9DFRRwMW5TA2c0/QEFwFkxxUQdxVlBwCYWOi6IhWgQhBLHJUCkhLr/BW8S7gvrAg+N+v8/v+x68Z8MGy+XSCyABQAXgBgHGALoASkIIDWSLeLBetdHryMjd5IxQPWT4rn1c/P7+xxp72Cs9m5SZ0Bq2vPnbPFafK2zDvmNHypdC0BPkLlQhxJsCAhQoZwdZU5mwxh720qGo8MzTxTTKZDPCx2HoVzp6lz0Q9tKhyx0kGs8Ny+TkWRKk8lCROwEduhyg9l/6lunOPSfmH3NUH6uQ0KHLAe7JYvJjevm+DAMGJHToKtigE+vwvIidxLamb8IBY9e+C5LiXREkfho3TSd06HJA13/oh6T51MTsfQbHrsMynQ5dDihFjiK8JJAU9AKIWTp76dCVN7HWHrajmUEGvyF9nkbAE6gLIS7kTUyuf2gscLoJrElZo/Mvj+nPz/kLTmfnEwP3tB0AAAAASUVORK5CYII=);
}
/* Information icon encoded */
.IconInfoEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style><script type="text/javascript" language="javascript">
// Startup
// Hook up the the loaded event for the document/window, to linkify the document content
var startupFunction = function() { linkifyElement("messages"); };
if(window.attachEvent)
{
window.attachEvent('onload', startupFunction);
}
else if (window.addEventListener)
{
window.addEventListener('load', startupFunction, false);
}
else
{
document.addEventListener('load', startupFunction, false);
}
// Toggles the visibility of table rows with the specified name
function toggleTableRowsByName(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
if(!!currentName && currentName.indexOf(name) == 0)
{
var isVisible = allRows[i].style.display == '';
isVisible ? allRows[i].style.display = 'none' : allRows[i].style.display = '';
}
}
}
function scrollToFirstVisibleRow(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
var isVisible = allRows[i].style.display == '';
if(!!currentName && currentName.indexOf(name) == 0 && isVisible)
{
allRows[i].scrollIntoView(true);
return true;
}
}
return false;
}
// Linkifies the specified text content, replaces candidate links with html links
function linkify(text)
{
if(!text || 0 === text.length)
{
return text;
}
// Find http, https and ftp links and replace them with hyper links
var urlLink = /(http|https|ftp)\:\/\/[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?\/?([a-zA-Z0-9\-\._\?\,\/\\\+&%\$#\=~;\{\}])*/gi;
return text.replace(urlLink, '<a href="$&">$&</a>') ;
}
// Linkifies the specified element by ID
function linkifyElement(id)
{
var element = document.getElementById(id);
if(!!element)
{
element.innerHTML = linkify(element.innerHTML);
}
}
function ToggleMessageVisibility(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
toggleTableRowsByName("MessageRowClass" + projectName);
toggleTableRowsByName('MessageRowHeaderShow' + projectName);
toggleTableRowsByName('MessageRowHeaderHide' + projectName);
}
function ScrollToFirstVisibleMessage(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
// First try the 'Show messages' row
if(!scrollToFirstVisibleRow('MessageRowHeaderShow' + projectName))
{
// Failed to find a visible row for 'Show messages', try an actual message row
scrollToFirstVisibleRow('MessageRowClass' + projectName);
}
}
</script></head><body><h1 _locID="ConversionReport">
마이그레이션 보고서 - </h1><div id="content"><h2 _locID="OverviewTitle">개요</h2><div id="overview"><table><tr><th></th><th _locID="ProjectTableHeader">프로젝트</th><th _locID="PathTableHeader">경로</th><th _locID="ErrorsTableHeader">오류</th><th _locID="WarningsTableHeader">경고</th><th _locID="MessagesTableHeader">메시지</th></tr><tr><td class="IconErrorEncoded" /><td><strong><a href="#leak_test_project.Setup(로드 중)">leak_test_project.Setup(로드 중)</a></strong></td><td>leak_test_project.Setup\leak_test_project.Setup.wixproj</td><td class="textCentered"><a href="#leak_test_project.Setup(로드 중)Error">1</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr></table></div><h2 _locID="SolutionAndProjectsTitle">솔루션 및 프로젝트</h2><div id="messages"><a name="leak_test_project.Setup(로드 중)" /><h3>leak_test_project.Setup(로드 중)</h3><table><tr id="leak_test_project.Setup(로드 중)HeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">메시지</th></tr><tr name="ErrorRowClassleak_test_project.Setup(로드 중)"><td class="IconErrorEncoded"><a name="leak_test_project.Setup(로드 중)Error" /></td><td class="messageCell"><strong>leak_test_project.Setup\leak_test_project.Setup.wixproj:
</strong><span>이 프로젝트 형식을 기반으로 하는 애플리케이션을 찾지 못했습니다. 추가 정보를 보려면 이 링크를 확인하십시오. 930c7802-8a8c-48f9-8165-68863bccd9dd</span></td></tr></table></div></div></body></html>

268
UpgradeLog4.htm

@ -0,0 +1,268 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
마이그레이션 보고서
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1
{
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2
{
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3
{
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a
{
color: #1382CE;
}
/* Table styles */
table
{
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th
{
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td
{
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink
{
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover
{
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered
{
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell
{
width: 100%;
}
/* Padding around the content after the h1 */
#content
{
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table
{
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table
{
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
{
min-width:18px;
min-height:18px;
background-repeat:no-repeat;
background-position:center;
}
/* Success icon encoded */
.IconSuccessEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABcElEQVR4Xq2TsUsCURzHv15g8ZJcBWlyiYYgCIWcb9DFRRwMW5TA2c0/QEFwFkxxUQdxVlBwCYWOi6IhWgQhBLHJUCkhLr/BW8S7gvrAg+N+v8/v+x68Z8MGy+XSCyABQAXgBgHGALoASkIIDWSLeLBetdHryMjd5IxQPWT4rn1c/P7+xxp72Cs9m5SZ0Bq2vPnbPFafK2zDvmNHypdC0BPkLlQhxJsCAhQoZwdZU5mwxh720qGo8MzTxTTKZDPCx2HoVzp6lz0Q9tKhyx0kGs8Ny+TkWRKk8lCROwEduhyg9l/6lunOPSfmH3NUH6uQ0KHLAe7JYvJjevm+DAMGJHToKtigE+vwvIidxLamb8IBY9e+C5LiXREkfho3TSd06HJA13/oh6T51MTsfQbHrsMynQ5dDihFjiK8JJAU9AKIWTp76dCVN7HWHrajmUEGvyF9nkbAE6gLIS7kTUyuf2gscLoJrElZo/Mvj+nPz/kLTmfnEwP3tB0AAAAASUVORK5CYII=);
}
/* Information icon encoded */
.IconInfoEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style><script type="text/javascript" language="javascript">
// Startup
// Hook up the the loaded event for the document/window, to linkify the document content
var startupFunction = function() { linkifyElement("messages"); };
if(window.attachEvent)
{
window.attachEvent('onload', startupFunction);
}
else if (window.addEventListener)
{
window.addEventListener('load', startupFunction, false);
}
else
{
document.addEventListener('load', startupFunction, false);
}
// Toggles the visibility of table rows with the specified name
function toggleTableRowsByName(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
if(!!currentName && currentName.indexOf(name) == 0)
{
var isVisible = allRows[i].style.display == '';
isVisible ? allRows[i].style.display = 'none' : allRows[i].style.display = '';
}
}
}
function scrollToFirstVisibleRow(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
var isVisible = allRows[i].style.display == '';
if(!!currentName && currentName.indexOf(name) == 0 && isVisible)
{
allRows[i].scrollIntoView(true);
return true;
}
}
return false;
}
// Linkifies the specified text content, replaces candidate links with html links
function linkify(text)
{
if(!text || 0 === text.length)
{
return text;
}
// Find http, https and ftp links and replace them with hyper links
var urlLink = /(http|https|ftp)\:\/\/[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?\/?([a-zA-Z0-9\-\._\?\,\/\\\+&%\$#\=~;\{\}])*/gi;
return text.replace(urlLink, '<a href="$&">$&</a>') ;
}
// Linkifies the specified element by ID
function linkifyElement(id)
{
var element = document.getElementById(id);
if(!!element)
{
element.innerHTML = linkify(element.innerHTML);
}
}
function ToggleMessageVisibility(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
toggleTableRowsByName("MessageRowClass" + projectName);
toggleTableRowsByName('MessageRowHeaderShow' + projectName);
toggleTableRowsByName('MessageRowHeaderHide' + projectName);
}
function ScrollToFirstVisibleMessage(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
// First try the 'Show messages' row
if(!scrollToFirstVisibleRow('MessageRowHeaderShow' + projectName))
{
// Failed to find a visible row for 'Show messages', try an actual message row
scrollToFirstVisibleRow('MessageRowClass' + projectName);
}
}
</script></head><body><h1 _locID="ConversionReport">
마이그레이션 보고서 - </h1><div id="content"><h2 _locID="OverviewTitle">개요</h2><div id="overview"><table><tr><th></th><th _locID="ProjectTableHeader">프로젝트</th><th _locID="PathTableHeader">경로</th><th _locID="ErrorsTableHeader">오류</th><th _locID="WarningsTableHeader">경고</th><th _locID="MessagesTableHeader">메시지</th></tr><tr><td class="IconErrorEncoded" /><td><strong><a href="#leak_test_project.Setup(로드 중)">leak_test_project.Setup(로드 중)</a></strong></td><td>leak_test_project.Setup\leak_test_project.Setup.wixproj</td><td class="textCentered"><a href="#leak_test_project.Setup(로드 중)Error">1</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr></table></div><h2 _locID="SolutionAndProjectsTitle">솔루션 및 프로젝트</h2><div id="messages"><a name="leak_test_project.Setup(로드 중)" /><h3>leak_test_project.Setup(로드 중)</h3><table><tr id="leak_test_project.Setup(로드 중)HeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">메시지</th></tr><tr name="ErrorRowClassleak_test_project.Setup(로드 중)"><td class="IconErrorEncoded"><a name="leak_test_project.Setup(로드 중)Error" /></td><td class="messageCell"><strong>leak_test_project.Setup\leak_test_project.Setup.wixproj:
</strong><span>이 프로젝트 형식을 기반으로 하는 애플리케이션을 찾지 못했습니다. 추가 정보를 보려면 이 링크를 확인하십시오. 930c7802-8a8c-48f9-8165-68863bccd9dd</span></td></tr></table></div></div></body></html>

BIN
build_log.txt

Binary file not shown.

13
leak_test_project.Setup/Product.wxs

@ -0,0 +1,13 @@
<?xml version="1.0" encoding=
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Product Id="*" Name="leak_test_project" Language="1033" Version="1.0.0.0" Manufacturer="MobiDigm" UpgradeCode="12345678-1234-1234-1234-123456789012">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<Media Id="1" Cabinet="cab1.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
"UTF-8"?> <Directory Id="ProgramFilesFolder" />
</Directory>
<Feature Id="ProductFeature" Title="leak_test_project" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
</Product>
</Wix>

3
leak_test_project.slnx

@ -1,3 +1,4 @@
<Solution> <Solution>
<Project Path="leak_test_project/leak_test_project.csproj" Id="e02e2608-51f9-4338-b1a6-e6ac94362aae" /> <Project Path="leak_test_project/leak_test_project.csproj" Id="e02e2608-51f9-4338-b1a6-e6ac94362aae" />
</Solution> <Project Path="Setup1/Setup1.vdproj" Type="Installer" />
</Solution>

2
leak_test_project/Manual/02_초기_설정.md

@ -159,7 +159,7 @@ OfflinePreview=false
1. **`ID Test (L)`** 버튼을 클릭합니다. 1. **`ID Test (L)`** 버튼을 클릭합니다.
2. 좌측 채널의 진행 메시지가 순서대로 표시됩니다: 2. 좌측 채널의 진행 메시지가 순서대로 표시됩니다:
- `시험 시작``센서 정보 읽는 중``ID 테스트 완료` (또는 `ID 테스트 실패`) - `시험 시작``센서 정보 읽는 중``ID 테스트 완료` (또는 `ID 테스트 실패`)
3. 좌측 채널의 **ID / LOW ID** 영역에 읽은 제품 ID가 표시되면 정상입니다. 3. 좌측 채널의 **ID** 영역에 읽은 제품 ID가 표시되면 정상입니다.
> **참고**: ID Test는 DIO 시작 신호 없이도 4251 보드의 센서 판독 기능만 단독으로 테스트합니다. 실제 LEAK 시험은 수행하지 않습니다. > **참고**: ID Test는 DIO 시작 신호 없이도 4251 보드의 센서 판독 기능만 단독으로 테스트합니다. 실제 LEAK 시험은 수행하지 않습니다.

8
leak_test_project/Manual/03_메인_화면.md

@ -16,7 +16,7 @@
│ LEFT LEAK TESTER │ RIGHT LEAK TESTER │ │ LEFT LEAK TESTER │ RIGHT LEAK TESTER │
├─────────────────────────────┼──────────────────────────────────┤ ├─────────────────────────────┼──────────────────────────────────┤
│ 시작 시간 │ 2026-06-23 ... │ 시작 시간 │ 2026-06-23 ... │ │ 시작 시간 │ 2026-06-23 ... │ 시작 시간 │ 2026-06-23 ... │
│ ID/LOW ID │ ABC123 / 00FF │ ID/LOW ID │ DEF456 / 01AA │ ID │ ABC123456789012 │ ID │ DEF4567890123456
│ 측정값 │ 0.5234 sccm │ 측정값 │ 0.3124 sccm │ │ 측정값 │ 0.5234 sccm │ 측정값 │ 0.3124 sccm │
│ │ SPEC UL: 1.00 │ │ SPEC UL: 1.00 │ │ │ SPEC UL: 1.00 │ │ SPEC UL: 1.00 │
│ │ SPEC LL: -1.00 │ │ SPEC LL: -1.00 │ │ │ SPEC LL: -1.00 │ │ SPEC LL: -1.00 │
@ -73,11 +73,11 @@
| 값 | `yyyy-MM-dd HH:mm:ss` 형식 (예: `2026-05-08 10:30:15`) | | 값 | `yyyy-MM-dd HH:mm:ss` 형식 (예: `2026-05-08 10:30:15`) |
| 갱신 시점 | 시험이 시작될 때마다 현재 시각으로 자동 갱신 | | 갱신 시점 | 시험이 시작될 때마다 현재 시각으로 자동 갱신 |
#### ③ ID / LOW ID (Row 2) #### ③ ID (Row 2)
| 항목 | 설명 | | 항목 | 설명 |
|------|------| |------|------|
| 라벨 | `ID / LOW ID` (회색 헤더 배경) | | 라벨 | `ID` (회색 헤더 배경) |
| 값 | `{제품ID} / {Low ID}` 형식으로 조합 표시 | | 값 | 16자리 제품 ID 표시 |
| 데이터 소스 | 4251 보드를 통해 ZMDI 센서에서 읽은 값 | | 데이터 소스 | 4251 보드를 통해 ZMDI 센서에서 읽은 값 |
| 갱신 시점 | 시험 시작 시 초기화, 센서 판독 완료 시 표시 | | 갱신 시점 | 시험 시작 시 초기화, 센서 판독 완료 시 표시 |

4
leak_test_project/Manual/07_시험_프로세스.md

@ -29,7 +29,7 @@
┌──────────────────────────────────────────────────────┐ ┌──────────────────────────────────────────────────────┐
│ 2단계: 센서 정보 읽기 │ │ 2단계: 센서 정보 읽기 │
│ · 4251 보드를 통해 ZMDI 센서에서 제품 ID 판독 │ │ · 4251 보드를 통해 ZMDI 센서에서 제품 ID 판독 │
│ · ID / LOW ID를 메인 화면에 표시 │ │ · ID를 메인 화면에 표시
│ · ID 읽기 실패 시: "ID 읽기 실패" 오류 출력 후 │ │ · ID 읽기 실패 시: "ID 읽기 실패" 오류 출력 후 │
│ "NG" 판정으로 DB 비동기 저장 및 조기 종료 (Skip) │ │ "NG" 판정으로 DB 비동기 저장 및 조기 종료 (Skip) │
│ (DB 저장 실패 시 "DB 저장 실패" 문구 표시) │ │ (DB 저장 실패 시 "DB 저장 실패" 문구 표시) │
@ -112,7 +112,7 @@ Sentinel C28 센서에서 수신한 데이터는 채널 번호(ChannelNo)로 구
3. 500ms 대기 (UI 피드백용) 3. 500ms 대기 (UI 피드백용)
4. "센서 정보 읽는 중" 메시지 표시 4. "센서 정보 읽는 중" 메시지 표시
5. 4251 보드를 통해 ZMDI 센서 ID 판독 5. 4251 보드를 통해 ZMDI 센서 ID 판독
6. 성공 시: ID / LOW ID 표시 + "ID 테스트 완료" 6. 성공 시: ID 표시 + "ID 테스트 완료"
7. 실패 시: ID를 "-"로 표시 + "ID 테스트 실패" 7. 실패 시: ID를 "-"로 표시 + "ID 테스트 실패"
8. 세마포어 잠금 해제 8. 세마포어 잠금 해제

4
leak_test_project/Models/ProjectModels.cs

@ -126,7 +126,6 @@ namespace leak_test_project.Models
public string TestDate { get; set; } public string TestDate { get; set; }
public string TestTime { get; set; } public string TestTime { get; set; }
public string SerialNo { get; set; } public string SerialNo { get; set; }
public string LowID { get; set; }
/// <summary>센서 자체 판정 결과 (A=Accept, R=Reject). SPEC 교차 검증에 사용.</summary> /// <summary>센서 자체 판정 결과 (A=Accept, R=Reject). SPEC 교차 검증에 사용.</summary>
public string SensorJudgment { get; set; } public string SensorJudgment { get; set; }
@ -143,9 +142,6 @@ namespace leak_test_project.Models
/// </summary> /// </summary>
public class SensorIdData public class SensorIdData
{ {
/// <summary>센서 메모리에서 읽은 원본 Low ID 문자열</summary>
public string LowID { get; set; } = "";
/// <summary>제조 년도</summary> /// <summary>제조 년도</summary>
public int Year { get; set; } public int Year { get; set; }

39
leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>1.0.0.*</ApplicationVersion>
<BootstrapperEnabled>True</BootstrapperEnabled>
<Configuration>Release</Configuration>
<CreateWebPageOnPublish>False</CreateWebPageOnPublish>
<GenerateManifests>true</GenerateManifests>
<Install>True</Install>
<InstallFrom>Disk</InstallFrom>
<IsRevisionIncremented>True</IsRevisionIncremented>
<IsWebBootstrapper>False</IsWebBootstrapper>
<MapFileExtensions>True</MapFileExtensions>
<OpenBrowserOnPublish>False</OpenBrowserOnPublish>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net9.0-windows\app.publish\</PublishDir>
<PublishUrl>bin\publish\</PublishUrl>
<PublishProtocol>ClickOnce</PublishProtocol>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishSingleFile>False</PublishSingleFile>
<SelfContained>False</SelfContained>
<SignatureAlgorithm>(없음)</SignatureAlgorithm>
<SignManifests>False</SignManifests>
<SkipPublishVerification>false</SkipPublishVerification>
<TargetFramework>net9.0-windows</TargetFramework>
<UpdateEnabled>False</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateRequired>False</UpdateRequired>
<WebPageFileName>Publish.html</WebPageFileName>
</PropertyGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.NetCore.DesktopRuntime.9.0.x64">
<Install>True</Install>
<ProductName>.NET 데스크톱 런타임 9.0.17 (x64)</ProductName>
</BootstrapperPackage>
</ItemGroup>
</Project>

8
leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml.user

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<History>True|2026-06-25T02:53:03.4858059Z||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

13
leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net9.0-windows</TargetFramework>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>

8
leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml.user

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<History>True|2026-06-25T05:28:15.0458856Z||;True|2026-06-25T13:57:36.3233571+09:00||;True|2026-06-25T12:56:04.8828587+09:00||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

1
leak_test_project/Services/Board4251.cs

@ -395,7 +395,6 @@ namespace leak_test_project.Services
// 특정 규칙이 있다면 여기서 분할함. // 특정 규칙이 있다면 여기서 분할함.
var data = new SensorIdData var data = new SensorIdData
{ {
LowID = rawId,
ID = rawId, // 16자리 전체를 ID로 사용 ID = rawId, // 16자리 전체를 ID로 사용
Serial = "", // 시리얼 번호는 현재 존재하지 않으므로 강제로 파싱하지 않음 Serial = "", // 시리얼 번호는 현재 존재하지 않으므로 강제로 파싱하지 않음
Item = "N/A" Item = "N/A"

1
leak_test_project/Services/SentinelC28Service.cs

@ -1,6 +1,7 @@
using System; using System;
using System.Diagnostics; using System.Diagnostics;
using System.Timers; using System.Timers;
using Timer = System.Timers.Timer;
using leak_test_project.Infrastructure; using leak_test_project.Infrastructure;
using leak_test_project.Utils; using leak_test_project.Utils;

52
leak_test_project/ViewModels/HomeViewModel.cs

@ -45,28 +45,7 @@ namespace leak_test_project.ViewModels
public string LeftStartTime { get => _leftStartTime; set => SetProperty(ref _leftStartTime, value); } public string LeftStartTime { get => _leftStartTime; set => SetProperty(ref _leftStartTime, value); }
private string _leftId = ""; private string _leftId = "";
public string LeftId public string LeftId { get => _leftId; set => SetProperty(ref _leftId, value); }
{
get => _leftId;
set
{
if (SetProperty(ref _leftId, value))
OnPropertyChanged(nameof(LeftIdCombined));
}
}
private string _leftLowId = "";
public string LeftLowId
{
get => _leftLowId;
set
{
if (SetProperty(ref _leftLowId, value))
OnPropertyChanged(nameof(LeftIdCombined));
}
}
public string LeftIdCombined => $"{LeftId} / {LeftLowId}";
private string _leftError = ""; private string _leftError = "";
public string LeftError { get => _leftError; set => SetProperty(ref _leftError, value); } public string LeftError { get => _leftError; set => SetProperty(ref _leftError, value); }
@ -89,28 +68,7 @@ namespace leak_test_project.ViewModels
public string RightStartTime { get => _rightStartTime; set => SetProperty(ref _rightStartTime, value); } public string RightStartTime { get => _rightStartTime; set => SetProperty(ref _rightStartTime, value); }
private string _rightId = ""; private string _rightId = "";
public string RightId public string RightId { get => _rightId; set => SetProperty(ref _rightId, value); }
{
get => _rightId;
set
{
if (SetProperty(ref _rightId, value))
OnPropertyChanged(nameof(RightIdCombined));
}
}
private string _rightLowId = "";
public string RightLowId
{
get => _rightLowId;
set
{
if (SetProperty(ref _rightLowId, value))
OnPropertyChanged(nameof(RightIdCombined));
}
}
public string RightIdCombined => $"{RightId} / {RightLowId}";
private string _rightError = ""; private string _rightError = "";
public string RightError { get => _rightError; set => SetProperty(ref _rightError, value); } public string RightError { get => _rightError; set => SetProperty(ref _rightError, value); }
@ -300,12 +258,10 @@ namespace leak_test_project.ViewModels
if (args.TestIndex == 0) if (args.TestIndex == 0)
{ {
LeftId = d.ID; LeftId = d.ID;
LeftLowId = d.LowID;
} }
else else
{ {
RightId = d.ID; RightId = d.ID;
RightLowId = d.LowID;
} }
}); });
@ -346,7 +302,7 @@ namespace leak_test_project.ViewModels
{ {
LeftValue = ""; LeftJudgment = ""; IsLeftOk = false; LeftValue = ""; LeftJudgment = ""; IsLeftOk = false;
LeftStartTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); LeftStartTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
LeftId = ""; LeftLowId = ""; LeftId = "";
LeftError = ""; LeftError = "";
} }
@ -354,7 +310,7 @@ namespace leak_test_project.ViewModels
{ {
RightValue = ""; RightJudgment = ""; IsRightOk = false; RightValue = ""; RightJudgment = ""; IsRightOk = false;
RightStartTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); RightStartTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
RightId = ""; RightLowId = ""; RightId = "";
RightError = ""; RightError = "";
} }

12
leak_test_project/Views/HomeView.xaml

@ -83,17 +83,17 @@
</Border> </Border>
</Grid> </Grid>
<!-- 2. ID / LOW ID --> <!-- 2. ID -->
<Grid Grid.Row="2"> <Grid Grid.Row="2">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="130"/> <ColumnDefinition Width="130"/>
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Border Grid.Column="0" Style="{StaticResource HeaderBorder}"> <Border Grid.Column="0" Style="{StaticResource HeaderBorder}">
<TextBlock Text="ID / LOW ID" Style="{StaticResource HeaderLabel}"/> <TextBlock Text="ID" Style="{StaticResource HeaderLabel}"/>
</Border> </Border>
<Border Grid.Column="1" Style="{StaticResource CellBorder}"> <Border Grid.Column="1" Style="{StaticResource CellBorder}">
<TextBlock Text="{Binding LeftIdCombined}" Style="{StaticResource ValueLabel}"/> <TextBlock Text="{Binding LeftId}" Style="{StaticResource ValueLabel}"/>
</Border> </Border>
</Grid> </Grid>
@ -256,17 +256,17 @@
</Border> </Border>
</Grid> </Grid>
<!-- 2. ID / LOW ID --> <!-- 2. ID -->
<Grid Grid.Row="2"> <Grid Grid.Row="2">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="130"/> <ColumnDefinition Width="130"/>
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Border Grid.Column="0" Style="{StaticResource HeaderBorder}"> <Border Grid.Column="0" Style="{StaticResource HeaderBorder}">
<TextBlock Text="ID / LOW ID" Style="{StaticResource HeaderLabel}"/> <TextBlock Text="ID" Style="{StaticResource HeaderLabel}"/>
</Border> </Border>
<Border Grid.Column="1" Style="{StaticResource CellBorder}"> <Border Grid.Column="1" Style="{StaticResource CellBorder}">
<TextBlock Text="{Binding RightIdCombined}" Style="{StaticResource ValueLabel}"/> <TextBlock Text="{Binding RightId}" Style="{StaticResource ValueLabel}"/>
</Border> </Border>
</Grid> </Grid>

40
leak_test_project/bin/Debug/Logs/2026-04-10_system.log

@ -1,40 +0,0 @@
[10:57:23.540] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:or2800326003e
[10:57:24.360] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:or2800326003e
[10:57:25.176] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:or2800326003e
[10:57:25.996] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_001101:or2800326003e
[10:57:25.996] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:or2800326003e
[11:27:53.912] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e
[11:27:54.720] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e
[11:27:55.532] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e
[11:27:56.342] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_001101:ow2800326003e
[11:27:56.342] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e
[11:29:30.538] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e
[11:29:31.343] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e
[11:29:32.156] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e
[11:29:33.452] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_002101:owt28006727ea97c7801
[11:29:34.263] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_002101:owt28006727ea97c7801
[11:29:38.203] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e
[11:29:39.013] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e
[11:29:39.827] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e
[11:29:40.640] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_001101:ow2800326003e
[11:29:40.641] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e
[11:30:02.158] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e
[11:30:02.970] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e
[11:30:03.782] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e
[11:30:04.399] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e
[11:31:35.380] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e
[11:31:36.186] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e
[11:31:36.998] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e
[11:31:39.570] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_002101:owt28006727ea97c7801
[11:31:40.392] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_002101:owt28006727ea97c7801
[11:31:41.203] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_002101:owt28006727ea97c7801
[11:31:42.014] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_002101:owt28006727ea97c7801
[11:31:42.014] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801
[11:31:42.521] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:owt28006727ea97c7801
[11:32:17.987] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e
[11:32:18.794] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e
[11:32:19.609] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e
[11:32:20.227] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e
[11:34:56.304] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e
[11:34:57.111] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e
[11:34:57.922] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e

BIN
leak_test_project/bin/Debug/PCI-Dask64.dll

Binary file not shown.

BIN
leak_test_project/bin/Debug/app.publish/leak_test_project.exe

Binary file not shown.

14
leak_test_project/bin/Debug/config.xml

@ -1,14 +0,0 @@
<?xml version="1.0"?>
<AppConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SelectedIdSensor>Board4253</SelectedIdSensor>
<LeftPort>COM9</LeftPort>
<RightPort>COM8</RightPort>
<ZmdiBaudRate>19200</ZmdiBaudRate>
<SensorPort>COM1</SensorPort>
<SensorBaudRate>9600</SensorBaudRate>
<Board4253Port>COM11</Board4253Port>
<Board4253BaudRate>115200</Board4253BaudRate>
<Board4253Timeout>500</Board4253Timeout>
<SpecUL>1</SpecUL>
<SpecLL>-1</SpecLL>
</AppConfig>

21
leak_test_project/bin/Debug/leak_test_project.application

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="leak_test_project.application" version="1.0.0.27" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="leak_test_project" asmv2:product="leak_test_project" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" />
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.7.2" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="leak_test_project.exe.manifest" size="3936">
<assemblyIdentity name="leak_test_project.exe" version="1.0.0.27" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>oBxYPjguQtv1EuRHadukWOmGPPqWPod5v+TZToduxNk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
</asmv1:assembly>

BIN
leak_test_project/bin/Debug/leak_test_project.exe

Binary file not shown.

74
leak_test_project/bin/Debug/leak_test_project.exe.manifest

@ -1,74 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<asmv1:assemblyIdentity name="leak_test_project.exe" version="1.0.0.27" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<application />
<entryPoint>
<assemblyIdentity name="leak_test_project" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<commandLine file="leak_test_project.exe" parameters="" />
</entryPoint>
<trustInfo>
<security>
<applicationRequestMinimum>
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!--
UAC 매니페스트 옵션
Windows 사용자 계정 컨트롤 수준을 변경하려면
requestedExecutionLevel 노드를 다음 중 하나로 바꾸세요.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
이전 버전과의 호환성을 위해 파일 및 레지스트리 가상화를 사용하려면
requestedExecutionLevel 노드를 삭제하세요.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentOS>
<osVersionInfo>
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
</osVersionInfo>
</dependentOS>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="leak_test_project.exe" size="237568">
<assemblyIdentity name="leak_test_project" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>NEvi6EY1Ysg2m7d04Ix80K81U0DF+ZZKnv+9QRT3SMc=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<file name="PCI-Dask.dll" size="335872">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>pDB54gSYV5M/tu2DZtDUj13HUp3HrRLSNr97K/nGHh4=</dsig:DigestValue>
</hash>
</file>
<file name="leak_test_project.exe.config" size="189">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8=</dsig:DigestValue>
</hash>
</file>
</asmv1:assembly>

BIN
leak_test_project/bin/Debug/leak_test_project.pdb

Binary file not shown.

68
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/DAQHeader.h

@ -1,68 +0,0 @@
#ifndef _DAQHEADER_H
#define _DAQHEADER_H
/*==========================================
Map of DAQ File
+-------------------------+
| |
| Header |
| |
+-------------------------+
| ChannelRange |
| (Optional) |
+-------------------------+
| ChannelCompensation |
| (Only for PCI-9524) |
+-------------------------+
| |
| DAQ data |
| |
| |
+-------------------------+
============================================*/
#pragma pack(push, before_include)
#pragma pack(1)
/*size is 60 bytes*/
typedef struct _DAQFILE_HEADER
{
char ID[10]; //ex "ADLinkDAQ1"
short card_type; //Pci7250, Pci9112...(include DG, HR, HG)
short num_of_channel; //1, 2,...
unsigned char channel_no; //used only num_of_channel is 1
long num_of_scan;
short data_width; //0: 8 bits, 1: 16 bits, 2: 32 bits
short channel_order; //0: 0-1-2-3, 1: 3-2-1-0, 2: custom
short ad_range;
double scan_rate;
short num_of_channel_range;
char start_date[8]; //"12/31/99"
char start_time[8]; //"18:30:25"
char start_millisec[3]; //"360"
char reserved[6];
}
DAQFileHeader;
typedef struct _CHANNEL_RANGE
{
unsigned char channel;
unsigned char range;
}
DAQChannelRange;
typedef struct _Channel_Compensation_9524
{
double residual_offset;
double residual_scaling;
}
ChannelCompensation9524;
#pragma pack(pop, before_include)
#endif

1516
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.bas

File diff suppressed because it is too large

1796
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.cs

File diff suppressed because it is too large

2027
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.h

File diff suppressed because it is too large

1649
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.pas

File diff suppressed because it is too large

1544
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.vb

File diff suppressed because it is too large

1661
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.cs

File diff suppressed because it is too large

1882
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.h

File diff suppressed because it is too large

1421
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.vb

File diff suppressed because it is too large

BIN
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask.lib

Binary file not shown.

BIN
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.dll

Binary file not shown.

BIN
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.lib

Binary file not shown.

BIN
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/pdask_bc.lib

Binary file not shown.

BIN
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/DASK Installation Guide.pdf

Binary file not shown.

BIN
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK Function Reference.pdf

Binary file not shown.

BIN
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK User Manual.pdf

Binary file not shown.

3036
leak_test_project/bin/Release/ADLINK/PCIS-DASK/RelNotes.txt

File diff suppressed because it is too large

20
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint.sln

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D6208_AO_OnePoint", "D6208_AO_OnePoint\D6208_AO_OnePoint.csproj", "{B2C25848-3284-4C83-8F36-288F7F0F9E29}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B2C25848-3284-4C83-8F36-288F7F0F9E29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B2C25848-3284-4C83-8F36-288F7F0F9E29}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B2C25848-3284-4C83-8F36-288F7F0F9E29}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B2C25848-3284-4C83-8F36-288F7F0F9E29}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

81
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/D6208_AO_OnePoint.csproj

@ -1,81 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{B2C25848-3284-4C83-8F36-288F7F0F9E29}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>D6208_AO_OnePoint</RootNamespace>
<AssemblyName>D6208_AO_OnePoint</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Dask.cs" />
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<SubType>Designer</SubType>
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

956
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Dask.cs

@ -1,956 +0,0 @@
using System.Runtime.InteropServices;
using System;
public delegate void CallbackDelegate();
public class DASK
{
//ADLink PCI Card Type
public const ushort PCI_6208V = 1;
public const ushort PCI_6208A = 2;
public const ushort PCI_6308V = 3;
public const ushort PCI_6308A = 4;
public const ushort PCI_7200 = 5;
public const ushort PCI_7230 = 6;
public const ushort PCI_7233 = 7;
public const ushort PCI_7234 = 8;
public const ushort PCI_7248 = 9;
public const ushort PCI_7249 = 10;
public const ushort PCI_7250 = 11;
public const ushort PCI_7252 = 12;
public const ushort PCI_7296 = 13;
public const ushort PCI_7300A_RevA = 14;
public const ushort PCI_7300A_RevB = 15;
public const ushort PCI_7432 = 16;
public const ushort PCI_7433 = 17;
public const ushort PCI_7434 = 18;
public const ushort PCI_8554 = 19;
public const ushort PCI_9111DG = 20;
public const ushort PCI_9111HR = 21;
public const ushort PCI_9112 = 22;
public const ushort PCI_9113 = 23;
public const ushort PCI_9114DG = 24;
public const ushort PCI_9114HG = 25;
public const ushort PCI_9118DG = 26;
public const ushort PCI_9118HG = 27;
public const ushort PCI_9118HR = 28;
public const ushort PCI_9810 = 29;
public const ushort PCI_9812 = 30;
public const ushort PCI_7396 = 31;
public const ushort PCI_9116 = 32;
public const ushort PCI_7256 = 33;
public const ushort PCI_7258 = 34;
public const ushort PCI_7260 = 35;
public const ushort PCI_7452 = 36;
public const ushort PCI_7442 = 37;
public const ushort PCI_7443 = 38;
public const ushort PCI_7444 = 39;
public const ushort PCI_9221 = 40;
public const ushort MAX_CARD =32;
//Error Number
public const short NoError =0;
public const short ErrorUnknownCardType =-1;
public const short ErrorInvalidCardNumber =-2;
public const short ErrorTooManyCardRegistered =-3;
public const short ErrorCardNotRegistered =-4;
public const short ErrorFuncNotSupport =-5;
public const short ErrorInvalidIoChannel =-6;
public const short ErrorInvalidAdRange =-7;
public const short ErrorContIoNotAllowed =-8;
public const short ErrorDiffRangeNotSupport =-9;
public const short ErrorLastChannelNotZero =-10;
public const short ErrorChannelNotDescending =-11;
public const short ErrorChannelNotAscending =-12;
public const short ErrorOpenDriverFailed =-13;
public const short ErrorOpenEventFailed =-14;
public const short ErrorTransferCountTooLarge =-15;
public const short ErrorNotDoubleBufferMode =-16;
public const short ErrorInvalidSampleRate =-17;
public const short ErrorInvalidCounterMode =-18;
public const short ErrorInvalidCounter =-19;
public const short ErrorInvalidCounterState =-20;
public const short ErrorInvalidBinBcdParam =-21;
public const short ErrorBadCardType =-22;
public const short ErrorInvalidDaRefVoltage =-23;
public const short ErrorAdTimeOut =-24;
public const short ErrorNoAsyncAI =-25;
public const short ErrorNoAsyncAO =-26;
public const short ErrorNoAsyncDI =-27;
public const short ErrorNoAsyncDO =-28;
public const short ErrorNotInputPort =-29;
public const short ErrorNotOutputPort =-30;
public const short ErrorInvalidDioPort =-31;
public const short ErrorInvalidDioLine =-32;
public const short ErrorContIoActive =-33;
public const short ErrorDblBufModeNotAllowed =-34;
public const short ErrorConfigFailed =-35;
public const short ErrorInvalidPortDirection =-36;
public const short ErrorBeginThreadError =-37;
public const short ErrorInvalidPortWidth =-38;
public const short ErrorInvalidCtrSource =-39;
public const short ErrorOpenFile =-40;
public const short ErrorAllocateMemory =-41;
public const short ErrorDaVoltageOutOfRange =-42;
public const short ErrorDaExtRefNotAllowed =-43;
public const short ErrorDIODataWidthError =-44;
public const short ErrorTaskCodeError =-45;
public const short ErrortriggercountError =-46;
public const short ErrorInvalidTriggerMode =-47;
public const short ErrorInvalidTriggerType =-48;
public const short ErrorInvalidCounterValue =-50;
public const short ErrorInvalidEventHandle =-60;
public const short ErrorNoMessageAvailable =-61;
public const short ErrorEventMessgaeNotAdded =-62;
public const short ErrorCalibrationTimeOut =-63;
public const short ErrorUndefinedParameter =-64;
public const short ErrorInvalidBufferID =-65;
//Error number for driver API
public const short ErrorConfigIoctl = -201;
public const short ErrorAsyncSetIoctl = -202;
public const short ErrorDBSetIoctl = -203;
public const short ErrorDBHalfReadyIoctl = -204;
public const short ErrorContOPIoctl = -205;
public const short ErrorContStatusIoctl = -206;
public const short ErrorPIOIoctl = -207;
public const short ErrorDIntSetIoctl = -208;
public const short ErrorWaitEvtIoctl = -209;
public const short ErrorOpenEvtIoctl = -210;
public const short ErrorCOSIntSetIoctl = -211;
public const short ErrorMemMapIoctl = -212;
public const short ErrorMemUMapSetIoctl = -213;
public const short ErrorCTRIoctl = -214;
public const short ErrorGetResIoctl = -215;
public const short ErrorCalIoctl = -216;
//Synchronous Mode
public const ushort SYNCH_OP =1;
public const ushort ASYNCH_OP =2;
//AD Range
public const ushort AD_B_10_V =1;
public const ushort AD_B_5_V =2;
public const ushort AD_B_2_5_V =3;
public const ushort AD_B_1_25_V =4;
public const ushort AD_B_0_625_V =5;
public const ushort AD_B_0_3125_V =6;
public const ushort AD_B_0_5_V =7;
public const ushort AD_B_0_05_V =8;
public const ushort AD_B_0_005_V =9;
public const ushort AD_B_1_V =10;
public const ushort AD_B_0_1_V =11;
public const ushort AD_B_0_01_V =12;
public const ushort AD_B_0_001_V =13;
public const ushort AD_U_20_V =14;
public const ushort AD_U_10_V =15;
public const ushort AD_U_5_V =16;
public const ushort AD_U_2_5_V =17;
public const ushort AD_U_1_25_V =18;
public const ushort AD_U_1_V =19;
public const ushort AD_U_0_1_V =20;
public const ushort AD_U_0_01_V =21;
public const ushort AD_U_0_001_V =22;
public const ushort AD_B_2_V =23;
public const ushort AD_U_2_V =24;
public const ushort AD_B_0_2_V =25;
//Clock Mode
public const ushort TRIG_SOFTWARE =0;
public const ushort TRIG_INT_PACER =1;
public const ushort TRIG_EXT_STROBE =2;
public const ushort TRIG_HANDSHAKE =3;
public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A
public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A
public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B
public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B
public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B
//Virtual Sampling Rate for using external clock as the clock source
public const double CLKSRC_EXT_SampRate =10000;
//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V -------------------
//Output Mode
public const ushort P6208_CURRENT_0_20MA =0;
public const ushort P6208_CURRENT_4_20MA =3;
public const ushort P6208_CURRENT_5_25MA =1;
public const ushort P6308_CURRENT_0_20MA =0;
public const ushort P6308_CURRENT_4_20MA =3;
public const ushort P6308_CURRENT_5_25MA =1;
//AO Setting
public const ushort P6308V_AO_CH0_3 =0;
public const ushort P6308V_AO_CH4_7 =1;
public const ushort P6308V_AO_UNIPOLAR =0;
public const ushort P6308V_AO_BIPOLAR =1;
//-------- Constants for PCI-7200 --------------------
//InputMode
public const ushort DI_WAITING =0x02;
public const ushort DI_NOWAITING =0x00;
public const ushort DI_TRIG_RISING =0x04;
public const ushort DI_TRIG_FALLING =0x00;
public const ushort IREQ_RISING =0x08;
public const ushort IREQ_FALLING =0x00;
//Output Mode
public const ushort OREQ_ENABLE =0x10;
public const ushort OREQ_DISABLE =0x00;
public const ushort OTRIG_HIGH =0x20;
public const ushort OTRIG_LOW =0x00;
//-------- Constants for PCI-7248/7296/7396/7442 ---------------
//DIO Port Direction
public const ushort INPUT_PORT = 1;
public const ushort OUTPUT_PORT = 2;
//DIO Line Direction
public const ushort INPUT_LINE = 1;
public const ushort OUTPUT_LINE = 2;
//Channel & Port
public const ushort Channel_P1A =0;
public const ushort Channel_P1B =1;
public const ushort Channel_P1C =2;
public const ushort Channel_P1CL =3;
public const ushort Channel_P1CH =4;
public const ushort Channel_P1AE =10;
public const ushort Channel_P1BE =11;
public const ushort Channel_P1CE =12;
public const ushort Channel_P2A =5;
public const ushort Channel_P2B =6;
public const ushort Channel_P2C =7;
public const ushort Channel_P2CL =8;
public const ushort Channel_P2CH =9;
public const ushort Channel_P2AE =15;
public const ushort Channel_P2BE =16;
public const ushort Channel_P2CE =17;
public const ushort Channel_P3A =10;
public const ushort Channel_P3B =11;
public const ushort Channel_P3C =12;
public const ushort Channel_P3CL =13;
public const ushort Channel_P3CH =14;
public const ushort Channel_P4A =15;
public const ushort Channel_P4B =16;
public const ushort Channel_P4C =17;
public const ushort Channel_P4CL =18;
public const ushort Channel_P4CH =19;
public const ushort Channel_P5A =20;
public const ushort Channel_P5B =21;
public const ushort Channel_P5C =22;
public const ushort Channel_P5CL =23;
public const ushort Channel_P5CH =24;
public const ushort Channel_P6A =25;
public const ushort Channel_P6B =26;
public const ushort Channel_P6C =27;
public const ushort Channel_P6CL =28;
public const ushort Channel_P6CH =29;
//the following are used for PCI7396
public const ushort Channel_P1 =30;
public const ushort Channel_P2 =31;
public const ushort Channel_P3 =32;
public const ushort Channel_P4 =33;
public const ushort Channel_P1E =34; //only used by DIO_PortConfig function
public const ushort Channel_P2E =35; //only used by DIO_PortConfig function
public const ushort Channel_P3E =36; //only used by DIO_PortConfig function
public const ushort Channel_P4E =37; //only used by DIO_PortConfig function
//7442
public const ushort P7442_CH0 = 0;
public const ushort P7442_CH1 = 1;
public const ushort P7442_TTL0 = 2;
public const ushort P7442_TTL1 = 3;
// P7443
public const ushort P7443_CH0 = 0;
public const ushort P7443_CH1 = 1;
public const ushort P7443_CH2 = 2;
public const ushort P7443_CH3 = 3;
public const ushort P7443_TTL0 = 4;
public const ushort P7443_TTL1 = 5;
// P7444
public const ushort P7444_CH0 = 0;
public const ushort P7444_CH1 = 1;
public const ushort P7444_CH2 = 2;
public const ushort P7444_CH3 = 3;
public const ushort P7444_TTL0 = 4;
public const ushort P7444_TTL1 = 5;
//-------- Constants for PCI-7300A -------------------
//Wait Status
public const ushort P7300_WAIT_NO =0;
public const ushort P7300_WAIT_TRG =1;
public const ushort P7300_WAIT_FIFO =2;
public const ushort P7300_WAIT_BOTH =3;
//Terminator control
public const ushort P7300_TERM_OFF =0;
public const ushort P7300_TERM_ON =1;
//DI control signals polarity for PCI-7300A Rev. B
public const ushort P7300_DIREQ_POS =0x00000000;
public const ushort P7300_DIREQ_NEG =0x00000001;
public const ushort P7300_DIACK_POS =0x00000000;
public const ushort P7300_DIACK_NEG =0x00000002;
public const ushort P7300_DITRIG_POS =0x00000000;
public const ushort P7300_DITRIG_NEG =0x00000004;
//DO control signals polarity for PCI-7300A Rev. B
public const ushort P7300_DOREQ_POS =0x00000000;
public const ushort P7300_DOREQ_NEG =0x00000008;
public const ushort P7300_DOACK_POS =0x00000000;
public const ushort P7300_DOACK_NEG =0x00000010;
public const ushort P7300_DOTRIG_POS =0x00000000;
public const ushort P7300_DOTRIG_NEG =0x00000020;
//-------- Constants for PCI-7432/7433/7434 ---------------
public const ushort PORT_DI_LOW =0;
public const ushort PORT_DI_HIGH =1;
public const ushort PORT_DO_LOW =0;
public const ushort PORT_DO_HIGH =1;
public const ushort P7432R_DO_LED =1;
public const ushort P7433R_DO_LED =0;
public const ushort P7434R_DO_LED =2;
public const ushort P7432R_DI_SLOT =1;
public const ushort P7433R_DI_SLOT =2;
public const ushort P7434R_DI_SLOT =0;
//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 ---
public const short INT1_DISABLE =-1; //INT1 Disabled
public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260
public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396
public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396
public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396
public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554
public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554
public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260
public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442
public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442
public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442
public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442
public const short INT2_DISABLE =-1; //INT2 Disabled
public const short INT2_COS =0; //INT2 COS : only available for PCI-7396
public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396
public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396
public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396
public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554
public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260
public const short INT2_WDT =4; //INT2 by WDT
public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user
public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow
//-------- Constants for PCI-8554 --------------------
//Clock Source of Cunter N
public const ushort ECKN =0;
public const ushort COUTN_1 =1;
public const ushort CK1 =2;
public const ushort COUT10 =3;
//Clock Source of CK1
public const ushort CK1_C8M =0;
public const ushort CK1_COUT11 =1;
//Debounce Clock
public const ushort DBCLK_COUT11 =0;
public const ushort DBCLK_2MHZ =1;
//-------- Constants for PCI-9111 --------------------
//Dual Interrupt Mode
public const ushort P9111_INT1_EOC =0; //Ending of AD conversion
public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full
public const ushort P9111_INT2_PACER =0; //Every Timer tick
public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low
//Channel Count
public const ushort P9111_CHANNEL_DO =0;
public const ushort P9111_CHANNEL_EDO =1;
public const ushort P9111_CHANNEL_DI =0;
public const ushort P9111_CHANNEL_EDI =1;
//EDO function
public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port
public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port
public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port
//Trigger Mode
public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode
public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode
//AO Setting
public const ushort P9111_AO_UNIPOLAR =0;
public const ushort P9111_AO_BIPOLAR =1;
//-------- Constants for PCI-9118 --------------------
public const ushort P9118_AI_BiPolar =0x00;
public const ushort P9118_AI_UniPolar =0x01;
public const ushort P9118_AI_SingEnded =0x00;
public const ushort P9118_AI_Differential =0x02;
public const ushort P9118_AI_ExtG =0x04;
public const ushort P9118_AI_ExtTrig =0x08;
public const ushort P9118_AI_DtrgNegative =0x00;
public const ushort P9118_AI_DtrgPositive =0x10;
public const ushort P9118_AI_EtrgNegative =0x00;
public const ushort P9118_AI_EtrgPositive =0x20;
public const ushort P9118_AI_BurstModeEn =0x40;
public const ushort P9118_AI_SampleHold =0x80;
public const ushort P9118_AI_PostTrgEn =0x100;
public const ushort P9118_AI_AboutTrgEn =0x200;
//-------- Constants for PCI-9116 --------------------
public const ushort P9116_AI_LocalGND =0x00;
public const ushort P9116_AI_UserCMMD =0x01;
public const ushort P9116_AI_SingEnded =0x00;
public const ushort P9116_AI_Differential =0x02;
public const ushort P9116_AI_BiPolar =0x00;
public const ushort P9116_AI_UniPolar =0x04;
public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode
public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode
public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode
public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode
public const ushort P9116_AI_TrgPositive =0x00;
public const ushort P9116_AI_TrgNegative =0x80;
public const ushort P9116_AI_ExtTimeBase =0x100;
public const ushort P9116_AI_IntTimeBase =0x000;
public const ushort P9116_AI_DlyInSamples =0x200;
public const ushort P9116_AI_DlyInTimebase =0x000;
public const ushort P9116_AI_ReTrigEn =0x400;
public const ushort P9116_AI_MCounterEn =0x800;
public const ushort P9116_AI_SoftPolling =0x0000;
public const ushort P9116_AI_INT =0x1000;
public const ushort P9116_AI_DMA =0x2000;
//-------- Constants for PCI-9812 --------------------
//Trigger Mode
public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode
public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode
public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode
public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode
public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode
//Trigger Source
public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0
public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1
public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2
public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3
public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger
//Trigger Polarity
public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger
public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger
//Frequency Selection
public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq.
public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq.
//Clock Source
public const ushort P9812_CLKSRC_INT =0x000; //Internal clock
public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock
public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock
/*-------- Constants for PCI-9221 --------------------*/
//Input Type
public const ushort P9221_AI_SingEnded = 0x0;
public const ushort P9221_AI_NonRef_SingEnded = 0x1;
public const ushort P9221_AI_Differential = 0x2;
//Trigger Mode
public const ushort P9221_TRGMOD_SOFT =0x00;
public const ushort P9221_TRGMOD_ExtD =0x08;
//Trigger Source
public const ushort P9221_TRGSRC_GPI0 =0x00;
public const ushort P9221_TRGSRC_GPI1 =0x01;
public const ushort P9221_TRGSRC_GPI2 =0x02;
public const ushort P9221_TRGSRC_GPI3 =0x03;
public const ushort P9221_TRGSRC_GPI4 =0x04;
public const ushort P9221_TRGSRC_GPI5 =0x05;
public const ushort P9221_TRGSRC_GPI6 =0x06;
public const ushort P9221_TRGSRC_GPI7 =0x07;
//TimeBase Mode
public const ushort P9221_AI_IntTimeBase = 0x00;
public const ushort P9221_AI_ExtTimeBase = 0x80;
//TimeBase Source
public const ushort P9221_TimeBaseSRC_GPI0 = 0x00;
public const ushort P9221_TimeBaseSRC_GPI1 = 0x10;
public const ushort P9221_TimeBaseSRC_GPI2 = 0x20;
public const ushort P9221_TimeBaseSRC_GPI3 = 0x30;
public const ushort P9221_TimeBaseSRC_GPI4 = 0x40;
public const ushort P9221_TimeBaseSRC_GPI5 = 0x50;
public const ushort P9221_TimeBaseSRC_GPI6 = 0x60;
public const ushort P9221_TimeBaseSRC_GPI7 = 0x70;
//EMG shdn ctrl code
public const ushort EMGSHDN_OFF =0; //off
public const ushort EMGSHDN_ON =1; //on
public const ushort EMGSHDN_RECOVERY =2; //recovery
//Hot Reset Hold ctrl code
public const ushort HRH_OFF =0; //off
public const ushort HRH_ON =1; //on
//-------- Timer/Counter -----------------------------
//Counter Mode (8254)
public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count
public const ushort PROG_ONE_SHOT =1; //Programmable one-shot
public const ushort RATE_GENERATOR =2; //Rate generator
public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator
public const ushort SOFT_TRIG =4; //Software-triggered strobe
public const ushort HARD_TRIG =5; //Hardware-triggered strobe
//General Purpose Timer/Counter
//Counter Mode
public const ushort General_Counter =0x00; //general counter
public const ushort Pulse_Generation =0x01; //pulse generation
//GPTC clock source
public const ushort GPTC_CLKSRC_EXT =0x08;
public const ushort GPTC_CLKSRC_INT =0x00;
public const ushort GPTC_GATESRC_EXT =0x10;
public const ushort GPTC_GATESRC_INT =0x00;
public const ushort GPTC_UPDOWN_SELECT_EXT =0x20;
public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00;
public const ushort GPTC_UP_CTR =0x40;
public const ushort GPTC_DOWN_CTR =0x00;
public const ushort GPTC_ENABLE =0x80;
public const ushort GPTC_DISABLE =0x00;
//General Purpose Timer/Counter for 9221
//Counter Mode
public const ushort SimpleGatedEventCNT = 0x01;
public const ushort SinglePeriodMSR = 0x02;
public const ushort SinglePulseWidthMSR = 0x03;
public const ushort SingleGatedPulseGen = 0x04;
public const ushort SingleTrigPulseGen = 0x05;
public const ushort RetrigSinglePulseGen = 0x06;
public const ushort SingleTrigContPulseGen = 0x07;
public const ushort ContGatedPulseGen = 0x08;
public const ushort EdgeSeparationMSR = 0x09;
public const ushort SingleTrigContPulseGenPWM = 0x0a;
public const ushort ContGatedPulseGenPWM = 0x0b;
public const ushort CW_CCW_Encoder = 0x0c;
public const ushort x1_AB_Phase_Encoder = 0x0d;
public const ushort x2_AB_Phase_Encoder = 0x0e;
public const ushort x4_AB_Phase_Encoder = 0x0f;
public const ushort Phase_Z = 0x10;
//GPTC clock source
public const ushort GPTC_CLK_SRC_Ext = 0x01;
public const ushort GPTC_CLK_SRC_Int = 0x00;
public const ushort GPTC_GATE_SRC_Ext = 0x02;
public const ushort GPTC_GATE_SRC_Int = 0x00;
public const ushort GPTC_UPDOWN_Ext = 0x04;
public const ushort GPTC_UPDOWN_Int = 0x00;
//GPTC clock polarity
public const ushort GPTC_CLKSRC_LACTIVE = 0x01;
public const ushort GPTC_CLKSRC_HACTIVE = 0x00;
public const ushort GPTC_GATE_LACTIVE = 0x02;
public const ushort GPTC_GATE_HACTIVE = 0x00;
public const ushort GPTC_UPDOWN_LACTIVE = 0x04;
public const ushort GPTC_UPDOWN_HACTIVE = 0x00;
public const ushort GPTC_OUTPUT_LACTIVE = 0x08;
public const ushort GPTC_OUTPUT_HACTIVE = 0x00;
public const ushort IntGate = 0x0;
public const ushort IntUpDnCTR = 0x1;
public const ushort IntENABLE = 0x2;
public const ushort GPTC_EZ0_ClearPhase0 = 0x0;
public const ushort GPTC_EZ0_ClearPhase1 = 0x1;
public const ushort GPTC_EZ0_ClearPhase2 = 0x2;
public const ushort GPTC_EZ0_ClearPhase3 = 0x3;
public const ushort GPTC_EZ0_ClearMode0 = 0x0;
public const ushort GPTC_EZ0_ClearMode1 = 0x1;
public const ushort GPTC_EZ0_ClearMode2 = 0x2;
//Watchdog Timer
//Counter action
public const ushort WDT_DISARM = 0;
public const ushort WDT_ARM = 1;
public const ushort WDT_RESTART = 2;
//Pattern ID
public const ushort INIT_PTN = 0;
public const ushort EMGSHDN_PTN = 1;
//Pattern ID for 7442
public const ushort INIT_PTN_CH0 = 0;
public const ushort INIT_PTN_CH1 = 1;
public const ushort INIT_PTN_CH2 = 2; //only for 7444
public const ushort INIT_PTN_CH3 = 3; //only for 7444
public const ushort SAFTOUT_PTN_CH0 = 4;
public const ushort SAFTOUT_PTN_CH1 = 5;
public const ushort SAFTOUT_PTN_CH2 = 6; //only for 7444
public const ushort SAFTOUT_PTN_CH3 = 7; //only for 7444
//16-bit binary or 4-decade BCD counter
public const ushort BIN = 0;
public const ushort BCD = 1;
//DAQ Event type for the event message
public const ushort AIEnd =0;
public const ushort DIEnd =0;
public const ushort DOEnd =0;
public const ushort DBEvent =1;
/*EEPROM*/
public const ushort EEPROM_DEFAULT_BANK =0;
public const ushort EEPROM_USER_BANK1 = 1;
public const ushort RegBySlot=0x8000;
/*------------------------------------------------------------------
** PCIS-DASK Function prototype
------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short Register_Card (ushort CardType, ushort card_num);
[DllImport("PCI-Dask.dll")]
public static extern short Release_Card (ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate);
[DllImport("PCI-Dask.dll")]
public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl);
[DllImport("PCI-Dask.dll")]
public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts);
[DllImport("PCI-Dask.dll")]
public static extern short HotResetHoldControl(ushort wCardNumber, byte enable);
[DllImport("PCI-Dask.dll")]
public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts);
[DllImport("PCI-Dask.dll")]
public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern);
[DllImport("PCI-Dask.dll")]
public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern);
[DllImport("PCI-Dask.dll")]
public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9221_Config(ushort CardNumber, ushort TrigCtrl, bool AutoResetBuf);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9116_CounterInterval(ushort wCardNumber, uint ScanIntrv, uint SampIntrv);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9221_CounterInterval(ushort wCardNumber, uint ScanIntrv, uint SampIntrv);
[DllImport("PCI-Dask.dll")]
public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ScanReadChannels(ushort CardNumber, ushort wNumChans, ushort wAdRanges, ushort[] pwBuffer);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ReadMultiChannels(ushort CardNumber, ushort wNumChans, ushort[] pwChans, ushort[] pwAdRanges, ushort[] pwBuffer);
[DllImport("PCI-Dask.dll")]
public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange,
ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans,
ushort[] AdRanges, ushort[] Buffer, uint ReadCount,
double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange,
ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange,
string FileName, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans,
ushort[] AdRanges, string[] FileName, uint ReadCount,
double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange,
string FileName, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferHandled(ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferToFile(ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short AI_SetTimeOut(ushort CardNumber, uint dwTimeOut);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContBufferSetup(ushort CardNumber, ushort[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContBufferReset(ushort CardNumber);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode);
[DllImport("PCI-Dask.dll")]
public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode);
[DllImport("PCI-Dask.dll")]
public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity);
[DllImport("PCI-Dask.dll")]
public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value);
[DllImport("PCI-Dask.dll")]
public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue);
[DllImport("PCI-Dask.dll")]
public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer);
[DllImport("PCI-Dask.dll")]
public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol);
[DllImport("PCI-Dask.dll")]
public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di);
[DllImport("PCI-Dask.dll")]
public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di);
[DllImport("PCI-Dask.dll")]
public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag);
[DllImport("PCI-Dask.dll")]
public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncMultiBuffersHandled(ushort wCardNumber, ushort bufcnt, ushort[] bufs);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig);
[DllImport("PCI-Dask.dll")]
public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol);
[DllImport("PCI-Dask.dll")]
public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold);
[DllImport("PCI-Dask.dll")]
public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_SimuWritePort(ushort wCardNumber, ushort wNumChans, uint[] pdwBuffer);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStop (ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short GPTC_Clear (ushort wCardNumber, ushort wGCtr);
[DllImport("PCI-Dask.dll")]
public static extern short GPTC_Control (ushort wCardNumber, ushort wGCtr, ushort ParamID, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short GPTC_Read (ushort wCardNumber, ushort wGCtr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short GPTC_Setup (ushort wCardNumber, ushort wGCtr, ushort wMode, ushort wSrcCtrl, ushort wPolCtrl, uint LReg1_Val, uint LReg2_Val);
[DllImport("PCI-Dask.dll")]
public static extern short GPTC_Status(ushort wCardNumber, ushort wGCtr, out ushort pValue);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_GetView(ushort wCardNumber, uint[] pView);
[DllImport("PCI-Dask.dll")]
public static extern short DI_GetView(ushort wCardNumber, uint[] pView);
[DllImport("PCI-Dask.dll")]
public static extern short DO_GetView(ushort wCardNumber, uint[] pView);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short GetCardType (ushort wCardNumber, out ushort cardType);
[DllImport("PCI-Dask.dll")]
public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex);
[DllImport("PCI-Dask.dll")]
public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2);
[DllImport("PCI-Dask.dll")]
public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short PCI_DB_Auto_Calibration_ALL(ushort wCardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short PCI_Load_CAL_Data(ushort wCardNumber, ushort bank);
[DllImport("PCI-Dask.dll")]
public static extern short PCI_EEPROM_CAL_Constant_Update(ushort wCardNumber, ushort bank);
/*----------------------------------------------------------------------------*/
}

88
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.Designer.cs

@ -1,88 +0,0 @@
namespace D6208_AO_OnePoint
{
partial class Form1
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param name="disposing">如果應該公開 Managed 資源則為 true,否則為 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form 設計工具產生的程式碼
/// <summary>
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。
///
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(136, 34);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(13, 12);
this.label1.TabIndex = 5;
this.label1.Text = "V";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(32, 23);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(99, 22);
this.textBox1.TabIndex = 4;
this.textBox1.Text = "2";
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// button1
//
this.button1.Location = new System.Drawing.Point(174, 23);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(93, 22);
this.button1.TabIndex = 3;
this.button1.Text = "Output";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 79);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button1;
}
}

55
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.cs

@ -1,55 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace D6208_AO_OnePoint
{
public partial class Form1 : Form
{
public short m_dev;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
m_dev = DASK.Register_Card(DASK.PCI_6208V, 0);
if (m_dev < 0)
{
MessageBox.Show("Register_Card error!");
}
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
short ret;
if (m_dev >= 0)
{
ret = DASK.Release_Card((ushort)m_dev);
}
}
private void button1_Click(object sender, EventArgs e)
{
short ret;
double out_value;
if (Double.TryParse(textBox1.Text, out out_value))
{
ret = DASK.AO_VWriteChannel((ushort)m_dev, 0, out_value);
if (ret < 0)
{
MessageBox.Show("AO_VWriteChannel error!");
}
}
else
{
MessageBox.Show("Input error!");
}
}
}
}

120
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.resx

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

20
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Program.cs

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace D6208_AO_OnePoint
{
static class Program
{
/// <summary>
/// 應用程式的主要進入點。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

33
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/AssemblyInfo.cs

@ -1,33 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("D6208_AO_OnePoint")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ADLINK")]
[assembly: AssemblyProduct("D6208_AO_OnePoint")]
[assembly: AssemblyCopyright("Copyright (C) ADLINK 2006")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 將 ComVisible 設定為 false 會使得這個組件中的型別
// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中
// 的型別,請在該型別上將 ComVisible 屬性設定為 true。
[assembly: ComVisible(false)]
// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
[assembly: Guid("89d7e9b7-d784-45ba-b1a9-75bb7a11363d")]
// 組件的版本資訊是由下列四項值構成:
//
// 主要版本
// 次要版本
// 組建編號
// 修訂編號
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

71
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.Designer.cs

@ -1,71 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 這段程式碼是由工具產生的。
// 執行階段版本:2.0.50727.42
//
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
// 程式碼,這個檔案將會遺失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace D6208_AO_OnePoint.Properties
{
/// <summary>
/// 用於查詢當地語系化字串等的強型別資源類別
/// </summary>
// 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
// 類別透過 ResGen 或 Visual Studio 這類工具。
// 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
// (利用 /str 選項),或重建您的 VS 專案。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 傳回這個類別使用的快取的 ResourceManager 執行個體。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D6208_AO_OnePoint.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
/// 使用這個強型別資源類別的資源查閱。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

117
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.resx

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

30
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.Designer.cs

@ -1,30 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace D6208_AO_OnePoint.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

7
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.settings

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

20
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO.sln

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D7250_DIO", "D7250_DIO\D7250_DIO.csproj", "{53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

81
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/D7250_DIO.csproj

@ -1,81 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>D7250_DIO</RootNamespace>
<AssemblyName>D7250_DIO</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Dask.cs" />
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<SubType>Designer</SubType>
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

800
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Dask.cs

@ -1,800 +0,0 @@
using System.Runtime.InteropServices;
using System;
public delegate void CallbackDelegate();
public class DASK
{
//ADLink PCI Card Type
public const ushort PCI_6208V =1;
public const ushort PCI_6208A =2;
public const ushort PCI_6308V =3;
public const ushort PCI_6308A =4;
public const ushort PCI_7200 =5;
public const ushort PCI_7230 =6;
public const ushort PCI_7233 =7;
public const ushort PCI_7234 =8;
public const ushort PCI_7248 =9;
public const ushort PCI_7249 =10;
public const ushort PCI_7250 =11;
public const ushort PCI_7252 =12;
public const ushort PCI_7296 =13;
public const ushort PCI_7300A_RevA =14;
public const ushort PCI_7300A_RevB =15;
public const ushort PCI_7432 =16;
public const ushort PCI_7433 =17;
public const ushort PCI_7434 =18;
public const ushort PCI_8554 =19;
public const ushort PCI_9111DG =20;
public const ushort PCI_9111HR =21;
public const ushort PCI_9112 =22;
public const ushort PCI_9113 =23;
public const ushort PCI_9114DG =24;
public const ushort PCI_9114HG =25;
public const ushort PCI_9118DG =26;
public const ushort PCI_9118HG =27;
public const ushort PCI_9118HR =28;
public const ushort PCI_9810 =29;
public const ushort PCI_9812 =30;
public const ushort PCI_7396 =31;
public const ushort PCI_9116 =32;
public const ushort PCI_7256 =33;
public const ushort PCI_7258 =34;
public const ushort PCI_7260 =35;
public const ushort PCI_7452 =36;
public const ushort PCI_7442 =37;
public const ushort MAX_CARD =32;
//Error Number
public const short NoError =0;
public const short ErrorUnknownCardType =-1;
public const short ErrorInvalidCardNumber =-2;
public const short ErrorTooManyCardRegistered =-3;
public const short ErrorCardNotRegistered =-4;
public const short ErrorFuncNotSupport =-5;
public const short ErrorInvalidIoChannel =-6;
public const short ErrorInvalidAdRange =-7;
public const short ErrorContIoNotAllowed =-8;
public const short ErrorDiffRangeNotSupport =-9;
public const short ErrorLastChannelNotZero =-10;
public const short ErrorChannelNotDescending =-11;
public const short ErrorChannelNotAscending =-12;
public const short ErrorOpenDriverFailed =-13;
public const short ErrorOpenEventFailed =-14;
public const short ErrorTransferCountTooLarge =-15;
public const short ErrorNotDoubleBufferMode =-16;
public const short ErrorInvalidSampleRate =-17;
public const short ErrorInvalidCounterMode =-18;
public const short ErrorInvalidCounter =-19;
public const short ErrorInvalidCounterState =-20;
public const short ErrorInvalidBinBcdParam =-21;
public const short ErrorBadCardType =-22;
public const short ErrorInvalidDaRefVoltage =-23;
public const short ErrorAdTimeOut =-24;
public const short ErrorNoAsyncAI =-25;
public const short ErrorNoAsyncAO =-26;
public const short ErrorNoAsyncDI =-27;
public const short ErrorNoAsyncDO =-28;
public const short ErrorNotInputPort =-29;
public const short ErrorNotOutputPort =-30;
public const short ErrorInvalidDioPort =-31;
public const short ErrorInvalidDioLine =-32;
public const short ErrorContIoActive =-33;
public const short ErrorDblBufModeNotAllowed =-34;
public const short ErrorConfigFailed =-35;
public const short ErrorInvalidPortDirection =-36;
public const short ErrorBeginThreadError =-37;
public const short ErrorInvalidPortWidth =-38;
public const short ErrorInvalidCtrSource =-39;
public const short ErrorOpenFile =-40;
public const short ErrorAllocateMemory =-41;
public const short ErrorDaVoltageOutOfRange =-42;
public const short ErrorDaExtRefNotAllowed =-43;
public const short ErrorDIODataWidthError =-44;
public const short ErrorTaskCodeError =-45;
public const short ErrortriggercountError =-46;
public const short ErrorInvalidTriggerMode =-47;
public const short ErrorInvalidTriggerType =-48;
public const short ErrorInvalidCounterValue =-50;
public const short ErrorInvalidEventHandle =-60;
public const short ErrorNoMessageAvailable =-61;
public const short ErrorEventMessgaeNotAdded =-62;
//Error number for driver API
public const short ErrorConfigIoctl =-201;
public const short ErrorAsyncSetIoctl =-202;
public const short ErrorDBSetIoctl =-203;
public const short ErrorDBHalfReadyIoctl =-204;
public const short ErrorContOPIoctl =-205;
public const short ErrorContStatusIoctl =-206;
public const short ErrorPIOIoctl =-207;
public const short ErrorDIntSetIoctl =-208;
public const short ErrorWaitEvtIoctl =-209;
public const short ErrorOpenEvtIoctl =-210;
public const short ErrorCOSIntSetIoctl =-211;
public const short ErrorMemMapIoctl =-212;
public const short ErrorMemUMapSetIoctl =-213;
public const short ErrorCTRIoctl =-214;
public const short ErrorGetResIoctl =-215;
//Synchronous Mode
public const ushort SYNCH_OP =1;
public const ushort ASYNCH_OP =2;
//AD Range
public const ushort AD_B_10_V =1;
public const ushort AD_B_5_V =2;
public const ushort AD_B_2_5_V =3;
public const ushort AD_B_1_25_V =4;
public const ushort AD_B_0_625_V =5;
public const ushort AD_B_0_3125_V =6;
public const ushort AD_B_0_5_V =7;
public const ushort AD_B_0_05_V =8;
public const ushort AD_B_0_005_V =9;
public const ushort AD_B_1_V =10;
public const ushort AD_B_0_1_V =11;
public const ushort AD_B_0_01_V =12;
public const ushort AD_B_0_001_V =13;
public const ushort AD_U_20_V =14;
public const ushort AD_U_10_V =15;
public const ushort AD_U_5_V =16;
public const ushort AD_U_2_5_V =17;
public const ushort AD_U_1_25_V =18;
public const ushort AD_U_1_V =19;
public const ushort AD_U_0_1_V =20;
public const ushort AD_U_0_01_V =21;
public const ushort AD_U_0_001_V =22;
//Clock Mode
public const ushort TRIG_SOFTWARE =0;
public const ushort TRIG_INT_PACER =1;
public const ushort TRIG_EXT_STROBE =2;
public const ushort TRIG_HANDSHAKE =3;
public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A
public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A
public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B
public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B
public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B
//Virtual Sampling Rate for using external clock as the clock source
public const double CLKSRC_EXT_SampRate =10000;
//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V -------------------
//Output Mode
public const ushort P6208_CURRENT_0_20MA =0;
public const ushort P6208_CURRENT_4_20MA =3;
public const ushort P6208_CURRENT_5_25MA =1;
public const ushort P6308_CURRENT_0_20MA =0;
public const ushort P6308_CURRENT_4_20MA =3;
public const ushort P6308_CURRENT_5_25MA =1;
//AO Setting
public const ushort P6308V_AO_CH0_3 =0;
public const ushort P6308V_AO_CH4_7 =1;
public const ushort P6308V_AO_UNIPOLAR =0;
public const ushort P6308V_AO_BIPOLAR =1;
//-------- Constants for PCI-7200 --------------------
//InputMode
public const ushort DI_WAITING =0x02;
public const ushort DI_NOWAITING =0x00;
public const ushort DI_TRIG_RISING =0x04;
public const ushort DI_TRIG_FALLING =0x00;
public const ushort IREQ_RISING =0x08;
public const ushort IREQ_FALLING =0x00;
//Output Mode
public const ushort OREQ_ENABLE =0x10;
public const ushort OREQ_DISABLE =0x00;
public const ushort OTRIG_HIGH =0x20;
public const ushort OTRIG_LOW =0x00;
//-------- Constants for PCI-7248/7296/7396/7442 ---------------
//DIO Port Direction
public const ushort INPUT_PORT = 1;
public const ushort OUTPUT_PORT = 2;
//DIO Line Direction
public const ushort INPUT_LINE = 1;
public const ushort OUTPUT_LINE = 2;
//Channel & Port
public const ushort Channel_P1A =0;
public const ushort Channel_P1B =1;
public const ushort Channel_P1C =2;
public const ushort Channel_P1CL =3;
public const ushort Channel_P1CH =4;
public const ushort Channel_P1AE =10;
public const ushort Channel_P1BE =11;
public const ushort Channel_P1CE =12;
public const ushort Channel_P2A =5;
public const ushort Channel_P2B =6;
public const ushort Channel_P2C =7;
public const ushort Channel_P2CL =8;
public const ushort Channel_P2CH =9;
public const ushort Channel_P2AE =15;
public const ushort Channel_P2BE =16;
public const ushort Channel_P2CE =17;
public const ushort Channel_P3A =10;
public const ushort Channel_P3B =11;
public const ushort Channel_P3C =12;
public const ushort Channel_P3CL =13;
public const ushort Channel_P3CH =14;
public const ushort Channel_P4A =15;
public const ushort Channel_P4B =16;
public const ushort Channel_P4C =17;
public const ushort Channel_P4CL =18;
public const ushort Channel_P4CH =19;
public const ushort Channel_P5A =20;
public const ushort Channel_P5B =21;
public const ushort Channel_P5C =22;
public const ushort Channel_P5CL =23;
public const ushort Channel_P5CH =24;
public const ushort Channel_P6A =25;
public const ushort Channel_P6B =26;
public const ushort Channel_P6C =27;
public const ushort Channel_P6CL =28;
public const ushort Channel_P6CH =29;
//the following are used for PCI7396
public const ushort Channel_P1 =30;
public const ushort Channel_P2 =31;
public const ushort Channel_P3 =32;
public const ushort Channel_P4 =33;
public const ushort Channel_P1E =34; //only used by DIO_PortConfig function
public const ushort Channel_P2E =35; //only used by DIO_PortConfig function
public const ushort Channel_P3E =36; //only used by DIO_PortConfig function
public const ushort Channel_P4E =37; //only used by DIO_PortConfig function
//7442
public const ushort P7442_CH0 = 0;
public const ushort P7442_CH1 = 1;
public const ushort P7442_TTL0 = 2;
public const ushort P7442_TTL1 = 3;
//-------- Constants for PCI-7300A -------------------
//Wait Status
public const ushort P7300_WAIT_NO =0;
public const ushort P7300_WAIT_TRG =1;
public const ushort P7300_WAIT_FIFO =2;
public const ushort P7300_WAIT_BOTH =3;
//Terminator control
public const ushort P7300_TERM_OFF =0;
public const ushort P7300_TERM_ON =1;
//DI control signals polarity for PCI-7300A Rev. B
public const ushort P7300_DIREQ_POS =0x00000000;
public const ushort P7300_DIREQ_NEG =0x00000001;
public const ushort P7300_DIACK_POS =0x00000000;
public const ushort P7300_DIACK_NEG =0x00000002;
public const ushort P7300_DITRIG_POS =0x00000000;
public const ushort P7300_DITRIG_NEG =0x00000004;
//DO control signals polarity for PCI-7300A Rev. B
public const ushort P7300_DOREQ_POS =0x00000000;
public const ushort P7300_DOREQ_NEG =0x00000008;
public const ushort P7300_DOACK_POS =0x00000000;
public const ushort P7300_DOACK_NEG =0x00000010;
public const ushort P7300_DOTRIG_POS =0x00000000;
public const ushort P7300_DOTRIG_NEG =0x00000020;
//-------- Constants for PCI-7432/7433/7434 ---------------
public const ushort PORT_DI_LOW =0;
public const ushort PORT_DI_HIGH =1;
public const ushort PORT_DO_LOW =0;
public const ushort PORT_DO_HIGH =1;
public const ushort P7432R_DO_LED =1;
public const ushort P7433R_DO_LED =0;
public const ushort P7434R_DO_LED =2;
public const ushort P7432R_DI_SLOT =1;
public const ushort P7433R_DI_SLOT =2;
public const ushort P7434R_DI_SLOT =0;
//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 ---
public const short INT1_DISABLE =-1; //INT1 Disabled
public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260
public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396
public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396
public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396
public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554
public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554
public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260
public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442
public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442
public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442
public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442
public const short INT2_DISABLE =-1; //INT2 Disabled
public const short INT2_COS =0; //INT2 COS : only available for PCI-7396
public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396
public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396
public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396
public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554
public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260
public const short INT2_WDT =4; //INT2 by WDT
public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user
public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow
//-------- Constants for PCI-8554 --------------------
//Clock Source of Cunter N
public const ushort ECKN =0;
public const ushort COUTN_1 =1;
public const ushort CK1 =2;
public const ushort COUT10 =3;
//Clock Source of CK1
public const ushort CK1_C8M =0;
public const ushort CK1_COUT11 =1;
//Debounce Clock
public const ushort DBCLK_COUT11 =0;
public const ushort DBCLK_2MHZ =1;
//-------- Constants for PCI-9111 --------------------
//Dual Interrupt Mode
public const ushort P9111_INT1_EOC =0; //Ending of AD conversion
public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full
public const ushort P9111_INT2_PACER =0; //Every Timer tick
public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low
//Channel Count
public const ushort P9111_CHANNEL_DO =0;
public const ushort P9111_CHANNEL_EDO =1;
public const ushort P9111_CHANNEL_DI =0;
public const ushort P9111_CHANNEL_EDI =1;
//EDO function
public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port
public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port
public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port
//Trigger Mode
public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode
public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode
//AO Setting
public const ushort P9111_AO_UNIPOLAR =0;
public const ushort P9111_AO_BIPOLAR =1;
//-------- Constants for PCI-9118 --------------------
public const ushort P9118_AI_BiPolar =0x00;
public const ushort P9118_AI_UniPolar =0x01;
public const ushort P9118_AI_SingEnded =0x00;
public const ushort P9118_AI_Differential =0x02;
public const ushort P9118_AI_ExtG =0x04;
public const ushort P9118_AI_ExtTrig =0x08;
public const ushort P9118_AI_DtrgNegative =0x00;
public const ushort P9118_AI_DtrgPositive =0x10;
public const ushort P9118_AI_EtrgNegative =0x00;
public const ushort P9118_AI_EtrgPositive =0x20;
public const ushort P9118_AI_BurstModeEn =0x40;
public const ushort P9118_AI_SampleHold =0x80;
public const ushort P9118_AI_PostTrgEn =0x100;
public const ushort P9118_AI_AboutTrgEn =0x200;
//-------- Constants for PCI-9116 --------------------
public const ushort P9116_AI_LocalGND =0x00;
public const ushort P9116_AI_UserCMMD =0x01;
public const ushort P9116_AI_SingEnded =0x00;
public const ushort P9116_AI_Differential =0x02;
public const ushort P9116_AI_BiPolar =0x00;
public const ushort P9116_AI_UniPolar =0x04;
public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode
public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode
public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode
public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode
public const ushort P9116_AI_TrgPositive =0x00;
public const ushort P9116_AI_TrgNegative =0x80;
public const ushort P9116_AI_ExtTimeBase =0x100;
public const ushort P9116_AI_IntTimeBase =0x000;
public const ushort P9116_AI_DlyInSamples =0x200;
public const ushort P9116_AI_DlyInTimebase =0x000;
public const ushort P9116_AI_ReTrigEn =0x400;
public const ushort P9116_AI_MCounterEn =0x800;
public const ushort P9116_AI_SoftPolling =0x0000;
public const ushort P9116_AI_INT =0x1000;
public const ushort P9116_AI_DMA =0x2000;
//-------- Constants for PCI-9812 --------------------
//Trigger Mode
public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode
public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode
public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode
public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode
public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode
//Trigger Source
public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0
public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1
public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2
public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3
public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger
//Trigger Polarity
public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger
public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger
//Frequency Selection
public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq.
public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq.
//Clock Source
public const ushort P9812_CLKSRC_INT =0x000; //Internal clock
public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock
public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock
//EMG shdn ctrl code
public const ushort EMGSHDN_OFF =0; //off
public const ushort EMGSHDN_ON =1; //on
public const ushort EMGSHDN_RECOVERY =2; //recovery
//Hot Reset Hold ctrl code
public const ushort HRH_OFF =0; //off
public const ushort HRH_ON =1; //on
//-------- Timer/Counter -----------------------------
//Counter Mode (8254)
public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count
public const ushort PROG_ONE_SHOT =1; //Programmable one-shot
public const ushort RATE_GENERATOR =2; //Rate generator
public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator
public const ushort SOFT_TRIG =4; //Software-triggered strobe
public const ushort HARD_TRIG =5; //Hardware-triggered strobe
//General Purpose Timer/Counter
//Counter Mode
public const ushort General_Counter =0x00; //general counter
public const ushort Pulse_Generation =0x01; //pulse generation
//GPTC clock source
public const ushort GPTC_CLKSRC_EXT =0x08;
public const ushort GPTC_CLKSRC_INT =0x00;
public const ushort GPTC_GATESRC_EXT =0x10;
public const ushort GPTC_GATESRC_INT =0x00;
public const ushort GPTC_UPDOWN_SELECT_EXT =0x20;
public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00;
public const ushort GPTC_UP_CTR =0x40;
public const ushort GPTC_DOWN_CTR =0x00;
public const ushort GPTC_ENABLE =0x80;
public const ushort GPTC_DISABLE =0x00;
//Watchdog Timer
//Counter action
public const ushort WDT_DISARM =0;
public const ushort WDT_ARM =1;
public const ushort WDT_RESTART =2;
//Pattern ID
public const ushort INIT_PTN =0;
public const ushort EMGSHDN_PTN =1;
//16-bit binary or 4-decade BCD counter
public const ushort BIN =0;
public const ushort BCD =1;
//Pattern ID for 7442
public const ushort INIT_PTN_CH0 = 0;
public const ushort INIT_PTN_CH1 =1;
public const ushort SAFTOUT_PTN_CH0 =4;
public const ushort SAFTOUT_PTN_CH1 =5;
//DAQ Event type for the event message
public const ushort AIEnd =0;
public const ushort DIEnd =0;
public const ushort DOEnd =0;
public const ushort DBEvent =1;
public const ushort RegBySlot=0x8000;
/*------------------------------------------------------------------
** PCIS-DASK Function prototype
------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short Register_Card (ushort CardType, ushort card_num);
[DllImport("PCI-Dask.dll")]
public static extern short Release_Card (ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate);
[DllImport("PCI-Dask.dll")]
public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl);
[DllImport("PCI-Dask.dll")]
public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts);
[DllImport("PCI-Dask.dll")]
public static extern short HotResetHoldControl(ushort wCardNumber, byte enable);
[DllImport("PCI-Dask.dll")]
public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts);
[DllImport("PCI-Dask.dll")]
public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern);
[DllImport("PCI-Dask.dll")]
public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern);
[DllImport("PCI-Dask.dll")]
public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9116_CounterInterval (ushort wCardNumber, uint ScanIntrv, uint SampIntrv);
[DllImport("PCI-Dask.dll")]
public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange,
ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans,
ushort[] AdRanges, ushort[] Buffer, uint ReadCount,
double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange,
ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange,
string FileName, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans,
ushort[] AdRanges, string[] FileName, uint ReadCount,
double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange,
string FileName, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag);
[DllImport("PCI-Dask.dll")]
public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode);
[DllImport("PCI-Dask.dll")]
public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode);
[DllImport("PCI-Dask.dll")]
public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity);
[DllImport("PCI-Dask.dll")]
public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value);
[DllImport("PCI-Dask.dll")]
public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue);
[DllImport("PCI-Dask.dll")]
public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer);
[DllImport("PCI-Dask.dll")]
public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol);
[DllImport("PCI-Dask.dll")]
public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di);
[DllImport("PCI-Dask.dll")]
public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di);
[DllImport("PCI-Dask.dll")]
public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag);
[DllImport("PCI-Dask.dll")]
public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig);
[DllImport("PCI-Dask.dll")]
public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol);
[DllImport("PCI-Dask.dll")]
public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold);
[DllImport("PCI-Dask.dll")]
public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStop (ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_GetView(ushort wCardNumber, uint[] pView);
[DllImport("PCI-Dask.dll")]
public static extern short DI_GetView(ushort wCardNumber, uint[] pView);
[DllImport("PCI-Dask.dll")]
public static extern short DO_GetView(ushort wCardNumber, uint[] pView);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short GetCardType (ushort wCardNumber, out ushort cardType);
[DllImport("PCI-Dask.dll")]
public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex);
[DllImport("PCI-Dask.dll")]
public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2);
[DllImport("PCI-Dask.dll")]
public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr);
}

127
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.Designer.cs

@ -1,127 +0,0 @@
namespace D7250_DIO
{
partial class Form1
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param name="disposing">如果應該公開 Managed 資源則為 true,否則為 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form 設計工具產生的程式碼
/// <summary>
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。
///
/// </summary>
private void InitializeComponent()
{
this.button2 = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button2
//
this.button2.Location = new System.Drawing.Point(168, 80);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(100, 23);
this.button2.TabIndex = 11;
this.button2.Text = "Read From DI";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(166, 21);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(20, 12);
this.label2.TabIndex = 10;
this.label2.Text = "DI:";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(22, 21);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(24, 12);
this.label1.TabIndex = 9;
this.label1.Text = "DO:";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(168, 36);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(100, 22);
this.textBox2.TabIndex = 8;
this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(22, 36);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 22);
this.textBox1.TabIndex = 7;
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// button1
//
this.button1.Location = new System.Drawing.Point(24, 80);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(98, 23);
this.button1.TabIndex = 6;
this.button1.Text = "Write To DO";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 137);
this.Controls.Add(this.button2);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button1;
}
}

89
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.cs

@ -1,89 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace D7250_DIO
{
public partial class Form1 : Form
{
public short m_dev;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
m_dev = DASK.Register_Card(DASK.PCI_7250, 0);
if (m_dev < 0)
{
MessageBox.Show("Register_Card error!");
}
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
short ret;
if (m_dev >= 0)
{
ret = DASK.Release_Card((ushort)m_dev);
}
}
private void button1_Click(object sender, EventArgs e)
{
short ret;
int out_value;
if (Int32.TryParse(textBox1.Text, out out_value))
{
ret = DASK.DO_WritePort((ushort)m_dev, 0, (uint)out_value);
if (ret < 0)
{
MessageBox.Show("DO_WritePort error!");
}
}
else
{
MessageBox.Show("Input error!");
}
}
private void button2_Click(object sender, EventArgs e)
{
short ret;
uint int_value;
ret = DASK.DI_ReadPort((ushort)m_dev, 0, out int_value);
if (ret < 0)
{
MessageBox.Show("D2K_DI_ReadPort error!");
return;
}
textBox2.Text = String.Format("{0}", int_value);
}
private void label2_Click(object sender, EventArgs e)
{
}
private void label1_Click(object sender, EventArgs e)
{
}
private void textBox2_TextChanged(object sender, EventArgs e)
{
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
}
}

120
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.resx

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

20
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Program.cs

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace D7250_DIO
{
static class Program
{
/// <summary>
/// 應用程式的主要進入點。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

33
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/AssemblyInfo.cs

@ -1,33 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("D7250_DIO")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ADLINK")]
[assembly: AssemblyProduct("D7250_DIO")]
[assembly: AssemblyCopyright("Copyright (C) ADLINK 2006")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 將 ComVisible 設定為 false 會使得這個組件中的型別
// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中
// 的型別,請在該型別上將 ComVisible 屬性設定為 true。
[assembly: ComVisible(false)]
// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
[assembly: Guid("66557528-c2f9-4c61-b148-6b17ae1e3032")]
// 組件的版本資訊是由下列四項值構成:
//
// 主要版本
// 次要版本
// 組建編號
// 修訂編號
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

71
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.Designer.cs

@ -1,71 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 這段程式碼是由工具產生的。
// 執行階段版本:2.0.50727.42
//
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
// 程式碼,這個檔案將會遺失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace D7250_DIO.Properties
{
/// <summary>
/// 用於查詢當地語系化字串等的強型別資源類別
/// </summary>
// 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
// 類別透過 ResGen 或 Visual Studio 這類工具。
// 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
// (利用 /str 選項),或重建您的 VS 專案。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 傳回這個類別使用的快取的 ResourceManager 執行個體。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D7250_DIO.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
/// 使用這個強型別資源類別的資源查閱。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

117
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.resx

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

30
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.Designer.cs

@ -1,30 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace D7250_DIO.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

7
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.settings

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

20
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.sln

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D7300_DI_Single_buffer_Sync", "D7300_DI_Single_buffer_Sync\D7300_DI_Single_buffer_Sync.csproj", "{EC5650E8-5DBA-459B-97B3-04436CF6BD86}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EC5650E8-5DBA-459B-97B3-04436CF6BD86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EC5650E8-5DBA-459B-97B3-04436CF6BD86}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC5650E8-5DBA-459B-97B3-04436CF6BD86}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC5650E8-5DBA-459B-97B3-04436CF6BD86}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

81
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.csproj

@ -1,81 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{EC5650E8-5DBA-459B-97B3-04436CF6BD86}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>D7300_DI_Single_buffer_Sync</RootNamespace>
<AssemblyName>D7300_DI_Single_buffer_Sync</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Dask.cs" />
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<SubType>Designer</SubType>
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

800
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Dask.cs

@ -1,800 +0,0 @@
using System.Runtime.InteropServices;
using System;
public delegate void CallbackDelegate();
public class DASK
{
//ADLink PCI Card Type
public const ushort PCI_6208V =1;
public const ushort PCI_6208A =2;
public const ushort PCI_6308V =3;
public const ushort PCI_6308A =4;
public const ushort PCI_7200 =5;
public const ushort PCI_7230 =6;
public const ushort PCI_7233 =7;
public const ushort PCI_7234 =8;
public const ushort PCI_7248 =9;
public const ushort PCI_7249 =10;
public const ushort PCI_7250 =11;
public const ushort PCI_7252 =12;
public const ushort PCI_7296 =13;
public const ushort PCI_7300A_RevA =14;
public const ushort PCI_7300A_RevB =15;
public const ushort PCI_7432 =16;
public const ushort PCI_7433 =17;
public const ushort PCI_7434 =18;
public const ushort PCI_8554 =19;
public const ushort PCI_9111DG =20;
public const ushort PCI_9111HR =21;
public const ushort PCI_9112 =22;
public const ushort PCI_9113 =23;
public const ushort PCI_9114DG =24;
public const ushort PCI_9114HG =25;
public const ushort PCI_9118DG =26;
public const ushort PCI_9118HG =27;
public const ushort PCI_9118HR =28;
public const ushort PCI_9810 =29;
public const ushort PCI_9812 =30;
public const ushort PCI_7396 =31;
public const ushort PCI_9116 =32;
public const ushort PCI_7256 =33;
public const ushort PCI_7258 =34;
public const ushort PCI_7260 =35;
public const ushort PCI_7452 =36;
public const ushort PCI_7442 =37;
public const ushort MAX_CARD =32;
//Error Number
public const short NoError =0;
public const short ErrorUnknownCardType =-1;
public const short ErrorInvalidCardNumber =-2;
public const short ErrorTooManyCardRegistered =-3;
public const short ErrorCardNotRegistered =-4;
public const short ErrorFuncNotSupport =-5;
public const short ErrorInvalidIoChannel =-6;
public const short ErrorInvalidAdRange =-7;
public const short ErrorContIoNotAllowed =-8;
public const short ErrorDiffRangeNotSupport =-9;
public const short ErrorLastChannelNotZero =-10;
public const short ErrorChannelNotDescending =-11;
public const short ErrorChannelNotAscending =-12;
public const short ErrorOpenDriverFailed =-13;
public const short ErrorOpenEventFailed =-14;
public const short ErrorTransferCountTooLarge =-15;
public const short ErrorNotDoubleBufferMode =-16;
public const short ErrorInvalidSampleRate =-17;
public const short ErrorInvalidCounterMode =-18;
public const short ErrorInvalidCounter =-19;
public const short ErrorInvalidCounterState =-20;
public const short ErrorInvalidBinBcdParam =-21;
public const short ErrorBadCardType =-22;
public const short ErrorInvalidDaRefVoltage =-23;
public const short ErrorAdTimeOut =-24;
public const short ErrorNoAsyncAI =-25;
public const short ErrorNoAsyncAO =-26;
public const short ErrorNoAsyncDI =-27;
public const short ErrorNoAsyncDO =-28;
public const short ErrorNotInputPort =-29;
public const short ErrorNotOutputPort =-30;
public const short ErrorInvalidDioPort =-31;
public const short ErrorInvalidDioLine =-32;
public const short ErrorContIoActive =-33;
public const short ErrorDblBufModeNotAllowed =-34;
public const short ErrorConfigFailed =-35;
public const short ErrorInvalidPortDirection =-36;
public const short ErrorBeginThreadError =-37;
public const short ErrorInvalidPortWidth =-38;
public const short ErrorInvalidCtrSource =-39;
public const short ErrorOpenFile =-40;
public const short ErrorAllocateMemory =-41;
public const short ErrorDaVoltageOutOfRange =-42;
public const short ErrorDaExtRefNotAllowed =-43;
public const short ErrorDIODataWidthError =-44;
public const short ErrorTaskCodeError =-45;
public const short ErrortriggercountError =-46;
public const short ErrorInvalidTriggerMode =-47;
public const short ErrorInvalidTriggerType =-48;
public const short ErrorInvalidCounterValue =-50;
public const short ErrorInvalidEventHandle =-60;
public const short ErrorNoMessageAvailable =-61;
public const short ErrorEventMessgaeNotAdded =-62;
//Error number for driver API
public const short ErrorConfigIoctl =-201;
public const short ErrorAsyncSetIoctl =-202;
public const short ErrorDBSetIoctl =-203;
public const short ErrorDBHalfReadyIoctl =-204;
public const short ErrorContOPIoctl =-205;
public const short ErrorContStatusIoctl =-206;
public const short ErrorPIOIoctl =-207;
public const short ErrorDIntSetIoctl =-208;
public const short ErrorWaitEvtIoctl =-209;
public const short ErrorOpenEvtIoctl =-210;
public const short ErrorCOSIntSetIoctl =-211;
public const short ErrorMemMapIoctl =-212;
public const short ErrorMemUMapSetIoctl =-213;
public const short ErrorCTRIoctl =-214;
public const short ErrorGetResIoctl =-215;
//Synchronous Mode
public const ushort SYNCH_OP =1;
public const ushort ASYNCH_OP =2;
//AD Range
public const ushort AD_B_10_V =1;
public const ushort AD_B_5_V =2;
public const ushort AD_B_2_5_V =3;
public const ushort AD_B_1_25_V =4;
public const ushort AD_B_0_625_V =5;
public const ushort AD_B_0_3125_V =6;
public const ushort AD_B_0_5_V =7;
public const ushort AD_B_0_05_V =8;
public const ushort AD_B_0_005_V =9;
public const ushort AD_B_1_V =10;
public const ushort AD_B_0_1_V =11;
public const ushort AD_B_0_01_V =12;
public const ushort AD_B_0_001_V =13;
public const ushort AD_U_20_V =14;
public const ushort AD_U_10_V =15;
public const ushort AD_U_5_V =16;
public const ushort AD_U_2_5_V =17;
public const ushort AD_U_1_25_V =18;
public const ushort AD_U_1_V =19;
public const ushort AD_U_0_1_V =20;
public const ushort AD_U_0_01_V =21;
public const ushort AD_U_0_001_V =22;
//Clock Mode
public const ushort TRIG_SOFTWARE =0;
public const ushort TRIG_INT_PACER =1;
public const ushort TRIG_EXT_STROBE =2;
public const ushort TRIG_HANDSHAKE =3;
public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A
public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A
public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B
public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B
public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B
//Virtual Sampling Rate for using external clock as the clock source
public const double CLKSRC_EXT_SampRate =10000;
//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V -------------------
//Output Mode
public const ushort P6208_CURRENT_0_20MA =0;
public const ushort P6208_CURRENT_4_20MA =3;
public const ushort P6208_CURRENT_5_25MA =1;
public const ushort P6308_CURRENT_0_20MA =0;
public const ushort P6308_CURRENT_4_20MA =3;
public const ushort P6308_CURRENT_5_25MA =1;
//AO Setting
public const ushort P6308V_AO_CH0_3 =0;
public const ushort P6308V_AO_CH4_7 =1;
public const ushort P6308V_AO_UNIPOLAR =0;
public const ushort P6308V_AO_BIPOLAR =1;
//-------- Constants for PCI-7200 --------------------
//InputMode
public const ushort DI_WAITING =0x02;
public const ushort DI_NOWAITING =0x00;
public const ushort DI_TRIG_RISING =0x04;
public const ushort DI_TRIG_FALLING =0x00;
public const ushort IREQ_RISING =0x08;
public const ushort IREQ_FALLING =0x00;
//Output Mode
public const ushort OREQ_ENABLE =0x10;
public const ushort OREQ_DISABLE =0x00;
public const ushort OTRIG_HIGH =0x20;
public const ushort OTRIG_LOW =0x00;
//-------- Constants for PCI-7248/7296/7396/7442 ---------------
//DIO Port Direction
public const ushort INPUT_PORT = 1;
public const ushort OUTPUT_PORT = 2;
//DIO Line Direction
public const ushort INPUT_LINE = 1;
public const ushort OUTPUT_LINE = 2;
//Channel & Port
public const ushort Channel_P1A =0;
public const ushort Channel_P1B =1;
public const ushort Channel_P1C =2;
public const ushort Channel_P1CL =3;
public const ushort Channel_P1CH =4;
public const ushort Channel_P1AE =10;
public const ushort Channel_P1BE =11;
public const ushort Channel_P1CE =12;
public const ushort Channel_P2A =5;
public const ushort Channel_P2B =6;
public const ushort Channel_P2C =7;
public const ushort Channel_P2CL =8;
public const ushort Channel_P2CH =9;
public const ushort Channel_P2AE =15;
public const ushort Channel_P2BE =16;
public const ushort Channel_P2CE =17;
public const ushort Channel_P3A =10;
public const ushort Channel_P3B =11;
public const ushort Channel_P3C =12;
public const ushort Channel_P3CL =13;
public const ushort Channel_P3CH =14;
public const ushort Channel_P4A =15;
public const ushort Channel_P4B =16;
public const ushort Channel_P4C =17;
public const ushort Channel_P4CL =18;
public const ushort Channel_P4CH =19;
public const ushort Channel_P5A =20;
public const ushort Channel_P5B =21;
public const ushort Channel_P5C =22;
public const ushort Channel_P5CL =23;
public const ushort Channel_P5CH =24;
public const ushort Channel_P6A =25;
public const ushort Channel_P6B =26;
public const ushort Channel_P6C =27;
public const ushort Channel_P6CL =28;
public const ushort Channel_P6CH =29;
//the following are used for PCI7396
public const ushort Channel_P1 =30;
public const ushort Channel_P2 =31;
public const ushort Channel_P3 =32;
public const ushort Channel_P4 =33;
public const ushort Channel_P1E =34; //only used by DIO_PortConfig function
public const ushort Channel_P2E =35; //only used by DIO_PortConfig function
public const ushort Channel_P3E =36; //only used by DIO_PortConfig function
public const ushort Channel_P4E =37; //only used by DIO_PortConfig function
//7442
public const ushort P7442_CH0 = 0;
public const ushort P7442_CH1 = 1;
public const ushort P7442_TTL0 = 2;
public const ushort P7442_TTL1 = 3;
//-------- Constants for PCI-7300A -------------------
//Wait Status
public const ushort P7300_WAIT_NO =0;
public const ushort P7300_WAIT_TRG =1;
public const ushort P7300_WAIT_FIFO =2;
public const ushort P7300_WAIT_BOTH =3;
//Terminator control
public const ushort P7300_TERM_OFF =0;
public const ushort P7300_TERM_ON =1;
//DI control signals polarity for PCI-7300A Rev. B
public const ushort P7300_DIREQ_POS =0x00000000;
public const ushort P7300_DIREQ_NEG =0x00000001;
public const ushort P7300_DIACK_POS =0x00000000;
public const ushort P7300_DIACK_NEG =0x00000002;
public const ushort P7300_DITRIG_POS =0x00000000;
public const ushort P7300_DITRIG_NEG =0x00000004;
//DO control signals polarity for PCI-7300A Rev. B
public const ushort P7300_DOREQ_POS =0x00000000;
public const ushort P7300_DOREQ_NEG =0x00000008;
public const ushort P7300_DOACK_POS =0x00000000;
public const ushort P7300_DOACK_NEG =0x00000010;
public const ushort P7300_DOTRIG_POS =0x00000000;
public const ushort P7300_DOTRIG_NEG =0x00000020;
//-------- Constants for PCI-7432/7433/7434 ---------------
public const ushort PORT_DI_LOW =0;
public const ushort PORT_DI_HIGH =1;
public const ushort PORT_DO_LOW =0;
public const ushort PORT_DO_HIGH =1;
public const ushort P7432R_DO_LED =1;
public const ushort P7433R_DO_LED =0;
public const ushort P7434R_DO_LED =2;
public const ushort P7432R_DI_SLOT =1;
public const ushort P7433R_DI_SLOT =2;
public const ushort P7434R_DI_SLOT =0;
//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 ---
public const short INT1_DISABLE =-1; //INT1 Disabled
public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260
public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396
public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396
public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396
public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554
public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554
public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260
public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442
public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442
public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442
public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442
public const short INT2_DISABLE =-1; //INT2 Disabled
public const short INT2_COS =0; //INT2 COS : only available for PCI-7396
public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396
public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396
public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396
public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554
public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260
public const short INT2_WDT =4; //INT2 by WDT
public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user
public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow
//-------- Constants for PCI-8554 --------------------
//Clock Source of Cunter N
public const ushort ECKN =0;
public const ushort COUTN_1 =1;
public const ushort CK1 =2;
public const ushort COUT10 =3;
//Clock Source of CK1
public const ushort CK1_C8M =0;
public const ushort CK1_COUT11 =1;
//Debounce Clock
public const ushort DBCLK_COUT11 =0;
public const ushort DBCLK_2MHZ =1;
//-------- Constants for PCI-9111 --------------------
//Dual Interrupt Mode
public const ushort P9111_INT1_EOC =0; //Ending of AD conversion
public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full
public const ushort P9111_INT2_PACER =0; //Every Timer tick
public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low
//Channel Count
public const ushort P9111_CHANNEL_DO =0;
public const ushort P9111_CHANNEL_EDO =1;
public const ushort P9111_CHANNEL_DI =0;
public const ushort P9111_CHANNEL_EDI =1;
//EDO function
public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port
public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port
public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port
//Trigger Mode
public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode
public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode
//AO Setting
public const ushort P9111_AO_UNIPOLAR =0;
public const ushort P9111_AO_BIPOLAR =1;
//-------- Constants for PCI-9118 --------------------
public const ushort P9118_AI_BiPolar =0x00;
public const ushort P9118_AI_UniPolar =0x01;
public const ushort P9118_AI_SingEnded =0x00;
public const ushort P9118_AI_Differential =0x02;
public const ushort P9118_AI_ExtG =0x04;
public const ushort P9118_AI_ExtTrig =0x08;
public const ushort P9118_AI_DtrgNegative =0x00;
public const ushort P9118_AI_DtrgPositive =0x10;
public const ushort P9118_AI_EtrgNegative =0x00;
public const ushort P9118_AI_EtrgPositive =0x20;
public const ushort P9118_AI_BurstModeEn =0x40;
public const ushort P9118_AI_SampleHold =0x80;
public const ushort P9118_AI_PostTrgEn =0x100;
public const ushort P9118_AI_AboutTrgEn =0x200;
//-------- Constants for PCI-9116 --------------------
public const ushort P9116_AI_LocalGND =0x00;
public const ushort P9116_AI_UserCMMD =0x01;
public const ushort P9116_AI_SingEnded =0x00;
public const ushort P9116_AI_Differential =0x02;
public const ushort P9116_AI_BiPolar =0x00;
public const ushort P9116_AI_UniPolar =0x04;
public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode
public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode
public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode
public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode
public const ushort P9116_AI_TrgPositive =0x00;
public const ushort P9116_AI_TrgNegative =0x80;
public const ushort P9116_AI_ExtTimeBase =0x100;
public const ushort P9116_AI_IntTimeBase =0x000;
public const ushort P9116_AI_DlyInSamples =0x200;
public const ushort P9116_AI_DlyInTimebase =0x000;
public const ushort P9116_AI_ReTrigEn =0x400;
public const ushort P9116_AI_MCounterEn =0x800;
public const ushort P9116_AI_SoftPolling =0x0000;
public const ushort P9116_AI_INT =0x1000;
public const ushort P9116_AI_DMA =0x2000;
//-------- Constants for PCI-9812 --------------------
//Trigger Mode
public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode
public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode
public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode
public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode
public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode
//Trigger Source
public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0
public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1
public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2
public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3
public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger
//Trigger Polarity
public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger
public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger
//Frequency Selection
public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq.
public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq.
//Clock Source
public const ushort P9812_CLKSRC_INT =0x000; //Internal clock
public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock
public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock
//EMG shdn ctrl code
public const ushort EMGSHDN_OFF =0; //off
public const ushort EMGSHDN_ON =1; //on
public const ushort EMGSHDN_RECOVERY =2; //recovery
//Hot Reset Hold ctrl code
public const ushort HRH_OFF =0; //off
public const ushort HRH_ON =1; //on
//-------- Timer/Counter -----------------------------
//Counter Mode (8254)
public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count
public const ushort PROG_ONE_SHOT =1; //Programmable one-shot
public const ushort RATE_GENERATOR =2; //Rate generator
public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator
public const ushort SOFT_TRIG =4; //Software-triggered strobe
public const ushort HARD_TRIG =5; //Hardware-triggered strobe
//General Purpose Timer/Counter
//Counter Mode
public const ushort General_Counter =0x00; //general counter
public const ushort Pulse_Generation =0x01; //pulse generation
//GPTC clock source
public const ushort GPTC_CLKSRC_EXT =0x08;
public const ushort GPTC_CLKSRC_INT =0x00;
public const ushort GPTC_GATESRC_EXT =0x10;
public const ushort GPTC_GATESRC_INT =0x00;
public const ushort GPTC_UPDOWN_SELECT_EXT =0x20;
public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00;
public const ushort GPTC_UP_CTR =0x40;
public const ushort GPTC_DOWN_CTR =0x00;
public const ushort GPTC_ENABLE =0x80;
public const ushort GPTC_DISABLE =0x00;
//Watchdog Timer
//Counter action
public const ushort WDT_DISARM =0;
public const ushort WDT_ARM =1;
public const ushort WDT_RESTART =2;
//Pattern ID
public const ushort INIT_PTN =0;
public const ushort EMGSHDN_PTN =1;
//16-bit binary or 4-decade BCD counter
public const ushort BIN =0;
public const ushort BCD =1;
//Pattern ID for 7442
public const ushort INIT_PTN_CH0 = 0;
public const ushort INIT_PTN_CH1 =1;
public const ushort SAFTOUT_PTN_CH0 =4;
public const ushort SAFTOUT_PTN_CH1 =5;
//DAQ Event type for the event message
public const ushort AIEnd =0;
public const ushort DIEnd =0;
public const ushort DOEnd =0;
public const ushort DBEvent =1;
public const ushort RegBySlot=0x8000;
/*------------------------------------------------------------------
** PCIS-DASK Function prototype
------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short Register_Card (ushort CardType, ushort card_num);
[DllImport("PCI-Dask.dll")]
public static extern short Release_Card (ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate);
[DllImport("PCI-Dask.dll")]
public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl);
[DllImport("PCI-Dask.dll")]
public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts);
[DllImport("PCI-Dask.dll")]
public static extern short HotResetHoldControl(ushort wCardNumber, byte enable);
[DllImport("PCI-Dask.dll")]
public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts);
[DllImport("PCI-Dask.dll")]
public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern);
[DllImport("PCI-Dask.dll")]
public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern);
[DllImport("PCI-Dask.dll")]
public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9116_CounterInterval (ushort wCardNumber, uint ScanIntrv, uint SampIntrv);
[DllImport("PCI-Dask.dll")]
public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange,
ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans,
ushort[] AdRanges, ushort[] Buffer, uint ReadCount,
double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange,
ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange,
string FileName, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans,
ushort[] AdRanges, string[] FileName, uint ReadCount,
double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange,
string FileName, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag);
[DllImport("PCI-Dask.dll")]
public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode);
[DllImport("PCI-Dask.dll")]
public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode);
[DllImport("PCI-Dask.dll")]
public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity);
[DllImport("PCI-Dask.dll")]
public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value);
[DllImport("PCI-Dask.dll")]
public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue);
[DllImport("PCI-Dask.dll")]
public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer);
[DllImport("PCI-Dask.dll")]
public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol);
[DllImport("PCI-Dask.dll")]
public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di);
[DllImport("PCI-Dask.dll")]
public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di);
[DllImport("PCI-Dask.dll")]
public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag);
[DllImport("PCI-Dask.dll")]
public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig);
[DllImport("PCI-Dask.dll")]
public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol);
[DllImport("PCI-Dask.dll")]
public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold);
[DllImport("PCI-Dask.dll")]
public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStop (ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_GetView(ushort wCardNumber, uint[] pView);
[DllImport("PCI-Dask.dll")]
public static extern short DI_GetView(ushort wCardNumber, uint[] pView);
[DllImport("PCI-Dask.dll")]
public static extern short DO_GetView(ushort wCardNumber, uint[] pView);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short GetCardType (ushort wCardNumber, out ushort cardType);
[DllImport("PCI-Dask.dll")]
public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex);
[DllImport("PCI-Dask.dll")]
public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2);
[DllImport("PCI-Dask.dll")]
public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr);
}

88
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.Designer.cs

@ -1,88 +0,0 @@
namespace D7300_DI_Single_buffer_Sync
{
partial class Form1
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param name="disposing">如果應該公開 Managed 資源則為 true,否則為 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form 設計工具產生的程式碼
/// <summary>
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。
///
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.listBox1 = new System.Windows.Forms.ListBox();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(49, 151);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(73, 29);
this.button1.TabIndex = 0;
this.button1.Text = "Start";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// listBox1
//
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 12;
this.listBox1.Location = new System.Drawing.Point(12, 33);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(143, 112);
this.listBox1.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(57, 12);
this.label1.TabIndex = 2;
this.label1.Text = "Input Data:";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(172, 186);
this.Controls.Add(this.label1);
this.Controls.Add(this.listBox1);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.InputLanguageChanged += new System.Windows.Forms.InputLanguageChangedEventHandler(this.Form1_InputLanguageChanged);
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Label label1;
}
}

62
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.cs

@ -1,62 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace D7300_DI_Single_buffer_Sync
{
public partial class Form1 : Form
{
ushort[] data_buffer = new ushort[100];
public short m_dev;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
m_dev = DASK.Register_Card(DASK.PCI_7300A_RevB, 0);
if (m_dev < 0)
{
MessageBox.Show("Register_Card error!");
}
}
private void Form1_InputLanguageChanged(object sender, InputLanguageChangedEventArgs e)
{
short ret;
if (m_dev >= 0)
{
ret = DASK.Release_Card((ushort)m_dev);
}
}
private void button1_Click(object sender, EventArgs e)
{
int i;
short err;
err = DASK.DI_7300B_Config((ushort)m_dev, 16, DASK.TRIG_INT_PACER, DASK.P7300_WAIT_NO, DASK.P7300_TERM_OFF, DASK.P7300_DIREQ_POS | DASK.P7300_DIACK_POS | DASK.P7300_DITRIG_POS, false, false);
if (err != 0)
{
MessageBox.Show("DI_7300B_Config error!");
return;
}
err = DASK.DI_ContReadPort((ushort)m_dev, 0, data_buffer, 100, 10000, DASK.SYNCH_OP);
if (err != 0)
{
MessageBox.Show("DI_ContReadPort error!");
return;
}
listBox1.Items.Clear();
for (i = 0; i < 100; i++)
{
listBox1.Items.Add(data_buffer[i]);
}
}
}
}

120
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.resx

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

20
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Program.cs

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace D7300_DI_Single_buffer_Sync
{
static class Program
{
/// <summary>
/// 應用程式的主要進入點。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

33
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/AssemblyInfo.cs

@ -1,33 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("D7300_DI_Single_buffer_Sync")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ADLINK")]
[assembly: AssemblyProduct("D7300_DI_Single_buffer_Sync")]
[assembly: AssemblyCopyright("Copyright (C) ADLINK 2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 將 ComVisible 設定為 false 會使得這個組件中的型別
// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中
// 的型別,請在該型別上將 ComVisible 屬性設定為 true。
[assembly: ComVisible(false)]
// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
[assembly: Guid("423fc586-4fa1-45ba-a51a-3824a82dd13b")]
// 組件的版本資訊是由下列四項值構成:
//
// 主要版本
// 次要版本
// 組建編號
// 修訂編號
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

71
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.Designer.cs

@ -1,71 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 這段程式碼是由工具產生的。
// 執行階段版本:2.0.50727.42
//
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
// 程式碼,這個檔案將會遺失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace D7300_DI_Single_buffer_Sync.Properties
{
/// <summary>
/// 用於查詢當地語系化字串等的強型別資源類別
/// </summary>
// 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
// 類別透過 ResGen 或 Visual Studio 這類工具。
// 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
// (利用 /str 選項),或重建您的 VS 專案。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 傳回這個類別使用的快取的 ResourceManager 執行個體。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D7300_DI_Single_buffer_Sync.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
/// 使用這個強型別資源類別的資源查閱。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

117
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.resx

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

30
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.Designer.cs

@ -1,30 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace D7300_DI_Single_buffer_Sync.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

7
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.settings

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

20
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.sln

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D7300_DO_Single_Buffer_Sync", "D7300_DO_Single_Buffer_Sync\D7300_DO_Single_Buffer_Sync.csproj", "{DE60F0FD-5710-4C15-BC88-560E90BF1AC4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DE60F0FD-5710-4C15-BC88-560E90BF1AC4}.Debug|Any CPU.ActiveCfg = Release|Any CPU
{DE60F0FD-5710-4C15-BC88-560E90BF1AC4}.Debug|Any CPU.Build.0 = Release|Any CPU
{DE60F0FD-5710-4C15-BC88-560E90BF1AC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DE60F0FD-5710-4C15-BC88-560E90BF1AC4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

81
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.csproj

@ -1,81 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{DE60F0FD-5710-4C15-BC88-560E90BF1AC4}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>D7300_DO_Single_Buffer_Sync</RootNamespace>
<AssemblyName>D7300_DO_Single_Buffer_Sync</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Dask.cs" />
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<SubType>Designer</SubType>
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

800
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Dask.cs

@ -1,800 +0,0 @@
using System.Runtime.InteropServices;
using System;
public delegate void CallbackDelegate();
public class DASK
{
//ADLink PCI Card Type
public const ushort PCI_6208V =1;
public const ushort PCI_6208A =2;
public const ushort PCI_6308V =3;
public const ushort PCI_6308A =4;
public const ushort PCI_7200 =5;
public const ushort PCI_7230 =6;
public const ushort PCI_7233 =7;
public const ushort PCI_7234 =8;
public const ushort PCI_7248 =9;
public const ushort PCI_7249 =10;
public const ushort PCI_7250 =11;
public const ushort PCI_7252 =12;
public const ushort PCI_7296 =13;
public const ushort PCI_7300A_RevA =14;
public const ushort PCI_7300A_RevB =15;
public const ushort PCI_7432 =16;
public const ushort PCI_7433 =17;
public const ushort PCI_7434 =18;
public const ushort PCI_8554 =19;
public const ushort PCI_9111DG =20;
public const ushort PCI_9111HR =21;
public const ushort PCI_9112 =22;
public const ushort PCI_9113 =23;
public const ushort PCI_9114DG =24;
public const ushort PCI_9114HG =25;
public const ushort PCI_9118DG =26;
public const ushort PCI_9118HG =27;
public const ushort PCI_9118HR =28;
public const ushort PCI_9810 =29;
public const ushort PCI_9812 =30;
public const ushort PCI_7396 =31;
public const ushort PCI_9116 =32;
public const ushort PCI_7256 =33;
public const ushort PCI_7258 =34;
public const ushort PCI_7260 =35;
public const ushort PCI_7452 =36;
public const ushort PCI_7442 =37;
public const ushort MAX_CARD =32;
//Error Number
public const short NoError =0;
public const short ErrorUnknownCardType =-1;
public const short ErrorInvalidCardNumber =-2;
public const short ErrorTooManyCardRegistered =-3;
public const short ErrorCardNotRegistered =-4;
public const short ErrorFuncNotSupport =-5;
public const short ErrorInvalidIoChannel =-6;
public const short ErrorInvalidAdRange =-7;
public const short ErrorContIoNotAllowed =-8;
public const short ErrorDiffRangeNotSupport =-9;
public const short ErrorLastChannelNotZero =-10;
public const short ErrorChannelNotDescending =-11;
public const short ErrorChannelNotAscending =-12;
public const short ErrorOpenDriverFailed =-13;
public const short ErrorOpenEventFailed =-14;
public const short ErrorTransferCountTooLarge =-15;
public const short ErrorNotDoubleBufferMode =-16;
public const short ErrorInvalidSampleRate =-17;
public const short ErrorInvalidCounterMode =-18;
public const short ErrorInvalidCounter =-19;
public const short ErrorInvalidCounterState =-20;
public const short ErrorInvalidBinBcdParam =-21;
public const short ErrorBadCardType =-22;
public const short ErrorInvalidDaRefVoltage =-23;
public const short ErrorAdTimeOut =-24;
public const short ErrorNoAsyncAI =-25;
public const short ErrorNoAsyncAO =-26;
public const short ErrorNoAsyncDI =-27;
public const short ErrorNoAsyncDO =-28;
public const short ErrorNotInputPort =-29;
public const short ErrorNotOutputPort =-30;
public const short ErrorInvalidDioPort =-31;
public const short ErrorInvalidDioLine =-32;
public const short ErrorContIoActive =-33;
public const short ErrorDblBufModeNotAllowed =-34;
public const short ErrorConfigFailed =-35;
public const short ErrorInvalidPortDirection =-36;
public const short ErrorBeginThreadError =-37;
public const short ErrorInvalidPortWidth =-38;
public const short ErrorInvalidCtrSource =-39;
public const short ErrorOpenFile =-40;
public const short ErrorAllocateMemory =-41;
public const short ErrorDaVoltageOutOfRange =-42;
public const short ErrorDaExtRefNotAllowed =-43;
public const short ErrorDIODataWidthError =-44;
public const short ErrorTaskCodeError =-45;
public const short ErrortriggercountError =-46;
public const short ErrorInvalidTriggerMode =-47;
public const short ErrorInvalidTriggerType =-48;
public const short ErrorInvalidCounterValue =-50;
public const short ErrorInvalidEventHandle =-60;
public const short ErrorNoMessageAvailable =-61;
public const short ErrorEventMessgaeNotAdded =-62;
//Error number for driver API
public const short ErrorConfigIoctl =-201;
public const short ErrorAsyncSetIoctl =-202;
public const short ErrorDBSetIoctl =-203;
public const short ErrorDBHalfReadyIoctl =-204;
public const short ErrorContOPIoctl =-205;
public const short ErrorContStatusIoctl =-206;
public const short ErrorPIOIoctl =-207;
public const short ErrorDIntSetIoctl =-208;
public const short ErrorWaitEvtIoctl =-209;
public const short ErrorOpenEvtIoctl =-210;
public const short ErrorCOSIntSetIoctl =-211;
public const short ErrorMemMapIoctl =-212;
public const short ErrorMemUMapSetIoctl =-213;
public const short ErrorCTRIoctl =-214;
public const short ErrorGetResIoctl =-215;
//Synchronous Mode
public const ushort SYNCH_OP =1;
public const ushort ASYNCH_OP =2;
//AD Range
public const ushort AD_B_10_V =1;
public const ushort AD_B_5_V =2;
public const ushort AD_B_2_5_V =3;
public const ushort AD_B_1_25_V =4;
public const ushort AD_B_0_625_V =5;
public const ushort AD_B_0_3125_V =6;
public const ushort AD_B_0_5_V =7;
public const ushort AD_B_0_05_V =8;
public const ushort AD_B_0_005_V =9;
public const ushort AD_B_1_V =10;
public const ushort AD_B_0_1_V =11;
public const ushort AD_B_0_01_V =12;
public const ushort AD_B_0_001_V =13;
public const ushort AD_U_20_V =14;
public const ushort AD_U_10_V =15;
public const ushort AD_U_5_V =16;
public const ushort AD_U_2_5_V =17;
public const ushort AD_U_1_25_V =18;
public const ushort AD_U_1_V =19;
public const ushort AD_U_0_1_V =20;
public const ushort AD_U_0_01_V =21;
public const ushort AD_U_0_001_V =22;
//Clock Mode
public const ushort TRIG_SOFTWARE =0;
public const ushort TRIG_INT_PACER =1;
public const ushort TRIG_EXT_STROBE =2;
public const ushort TRIG_HANDSHAKE =3;
public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A
public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A
public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B
public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B
public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B
//Virtual Sampling Rate for using external clock as the clock source
public const double CLKSRC_EXT_SampRate =10000;
//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V -------------------
//Output Mode
public const ushort P6208_CURRENT_0_20MA =0;
public const ushort P6208_CURRENT_4_20MA =3;
public const ushort P6208_CURRENT_5_25MA =1;
public const ushort P6308_CURRENT_0_20MA =0;
public const ushort P6308_CURRENT_4_20MA =3;
public const ushort P6308_CURRENT_5_25MA =1;
//AO Setting
public const ushort P6308V_AO_CH0_3 =0;
public const ushort P6308V_AO_CH4_7 =1;
public const ushort P6308V_AO_UNIPOLAR =0;
public const ushort P6308V_AO_BIPOLAR =1;
//-------- Constants for PCI-7200 --------------------
//InputMode
public const ushort DI_WAITING =0x02;
public const ushort DI_NOWAITING =0x00;
public const ushort DI_TRIG_RISING =0x04;
public const ushort DI_TRIG_FALLING =0x00;
public const ushort IREQ_RISING =0x08;
public const ushort IREQ_FALLING =0x00;
//Output Mode
public const ushort OREQ_ENABLE =0x10;
public const ushort OREQ_DISABLE =0x00;
public const ushort OTRIG_HIGH =0x20;
public const ushort OTRIG_LOW =0x00;
//-------- Constants for PCI-7248/7296/7396/7442 ---------------
//DIO Port Direction
public const ushort INPUT_PORT = 1;
public const ushort OUTPUT_PORT = 2;
//DIO Line Direction
public const ushort INPUT_LINE = 1;
public const ushort OUTPUT_LINE = 2;
//Channel & Port
public const ushort Channel_P1A =0;
public const ushort Channel_P1B =1;
public const ushort Channel_P1C =2;
public const ushort Channel_P1CL =3;
public const ushort Channel_P1CH =4;
public const ushort Channel_P1AE =10;
public const ushort Channel_P1BE =11;
public const ushort Channel_P1CE =12;
public const ushort Channel_P2A =5;
public const ushort Channel_P2B =6;
public const ushort Channel_P2C =7;
public const ushort Channel_P2CL =8;
public const ushort Channel_P2CH =9;
public const ushort Channel_P2AE =15;
public const ushort Channel_P2BE =16;
public const ushort Channel_P2CE =17;
public const ushort Channel_P3A =10;
public const ushort Channel_P3B =11;
public const ushort Channel_P3C =12;
public const ushort Channel_P3CL =13;
public const ushort Channel_P3CH =14;
public const ushort Channel_P4A =15;
public const ushort Channel_P4B =16;
public const ushort Channel_P4C =17;
public const ushort Channel_P4CL =18;
public const ushort Channel_P4CH =19;
public const ushort Channel_P5A =20;
public const ushort Channel_P5B =21;
public const ushort Channel_P5C =22;
public const ushort Channel_P5CL =23;
public const ushort Channel_P5CH =24;
public const ushort Channel_P6A =25;
public const ushort Channel_P6B =26;
public const ushort Channel_P6C =27;
public const ushort Channel_P6CL =28;
public const ushort Channel_P6CH =29;
//the following are used for PCI7396
public const ushort Channel_P1 =30;
public const ushort Channel_P2 =31;
public const ushort Channel_P3 =32;
public const ushort Channel_P4 =33;
public const ushort Channel_P1E =34; //only used by DIO_PortConfig function
public const ushort Channel_P2E =35; //only used by DIO_PortConfig function
public const ushort Channel_P3E =36; //only used by DIO_PortConfig function
public const ushort Channel_P4E =37; //only used by DIO_PortConfig function
//7442
public const ushort P7442_CH0 = 0;
public const ushort P7442_CH1 = 1;
public const ushort P7442_TTL0 = 2;
public const ushort P7442_TTL1 = 3;
//-------- Constants for PCI-7300A -------------------
//Wait Status
public const ushort P7300_WAIT_NO =0;
public const ushort P7300_WAIT_TRG =1;
public const ushort P7300_WAIT_FIFO =2;
public const ushort P7300_WAIT_BOTH =3;
//Terminator control
public const ushort P7300_TERM_OFF =0;
public const ushort P7300_TERM_ON =1;
//DI control signals polarity for PCI-7300A Rev. B
public const ushort P7300_DIREQ_POS =0x00000000;
public const ushort P7300_DIREQ_NEG =0x00000001;
public const ushort P7300_DIACK_POS =0x00000000;
public const ushort P7300_DIACK_NEG =0x00000002;
public const ushort P7300_DITRIG_POS =0x00000000;
public const ushort P7300_DITRIG_NEG =0x00000004;
//DO control signals polarity for PCI-7300A Rev. B
public const ushort P7300_DOREQ_POS =0x00000000;
public const ushort P7300_DOREQ_NEG =0x00000008;
public const ushort P7300_DOACK_POS =0x00000000;
public const ushort P7300_DOACK_NEG =0x00000010;
public const ushort P7300_DOTRIG_POS =0x00000000;
public const ushort P7300_DOTRIG_NEG =0x00000020;
//-------- Constants for PCI-7432/7433/7434 ---------------
public const ushort PORT_DI_LOW =0;
public const ushort PORT_DI_HIGH =1;
public const ushort PORT_DO_LOW =0;
public const ushort PORT_DO_HIGH =1;
public const ushort P7432R_DO_LED =1;
public const ushort P7433R_DO_LED =0;
public const ushort P7434R_DO_LED =2;
public const ushort P7432R_DI_SLOT =1;
public const ushort P7433R_DI_SLOT =2;
public const ushort P7434R_DI_SLOT =0;
//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 ---
public const short INT1_DISABLE =-1; //INT1 Disabled
public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260
public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396
public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396
public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396
public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554
public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554
public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260
public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442
public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442
public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442
public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442
public const short INT2_DISABLE =-1; //INT2 Disabled
public const short INT2_COS =0; //INT2 COS : only available for PCI-7396
public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396
public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396
public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396
public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554
public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260
public const short INT2_WDT =4; //INT2 by WDT
public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user
public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow
//-------- Constants for PCI-8554 --------------------
//Clock Source of Cunter N
public const ushort ECKN =0;
public const ushort COUTN_1 =1;
public const ushort CK1 =2;
public const ushort COUT10 =3;
//Clock Source of CK1
public const ushort CK1_C8M =0;
public const ushort CK1_COUT11 =1;
//Debounce Clock
public const ushort DBCLK_COUT11 =0;
public const ushort DBCLK_2MHZ =1;
//-------- Constants for PCI-9111 --------------------
//Dual Interrupt Mode
public const ushort P9111_INT1_EOC =0; //Ending of AD conversion
public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full
public const ushort P9111_INT2_PACER =0; //Every Timer tick
public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low
//Channel Count
public const ushort P9111_CHANNEL_DO =0;
public const ushort P9111_CHANNEL_EDO =1;
public const ushort P9111_CHANNEL_DI =0;
public const ushort P9111_CHANNEL_EDI =1;
//EDO function
public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port
public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port
public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port
//Trigger Mode
public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode
public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode
//AO Setting
public const ushort P9111_AO_UNIPOLAR =0;
public const ushort P9111_AO_BIPOLAR =1;
//-------- Constants for PCI-9118 --------------------
public const ushort P9118_AI_BiPolar =0x00;
public const ushort P9118_AI_UniPolar =0x01;
public const ushort P9118_AI_SingEnded =0x00;
public const ushort P9118_AI_Differential =0x02;
public const ushort P9118_AI_ExtG =0x04;
public const ushort P9118_AI_ExtTrig =0x08;
public const ushort P9118_AI_DtrgNegative =0x00;
public const ushort P9118_AI_DtrgPositive =0x10;
public const ushort P9118_AI_EtrgNegative =0x00;
public const ushort P9118_AI_EtrgPositive =0x20;
public const ushort P9118_AI_BurstModeEn =0x40;
public const ushort P9118_AI_SampleHold =0x80;
public const ushort P9118_AI_PostTrgEn =0x100;
public const ushort P9118_AI_AboutTrgEn =0x200;
//-------- Constants for PCI-9116 --------------------
public const ushort P9116_AI_LocalGND =0x00;
public const ushort P9116_AI_UserCMMD =0x01;
public const ushort P9116_AI_SingEnded =0x00;
public const ushort P9116_AI_Differential =0x02;
public const ushort P9116_AI_BiPolar =0x00;
public const ushort P9116_AI_UniPolar =0x04;
public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode
public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode
public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode
public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode
public const ushort P9116_AI_TrgPositive =0x00;
public const ushort P9116_AI_TrgNegative =0x80;
public const ushort P9116_AI_ExtTimeBase =0x100;
public const ushort P9116_AI_IntTimeBase =0x000;
public const ushort P9116_AI_DlyInSamples =0x200;
public const ushort P9116_AI_DlyInTimebase =0x000;
public const ushort P9116_AI_ReTrigEn =0x400;
public const ushort P9116_AI_MCounterEn =0x800;
public const ushort P9116_AI_SoftPolling =0x0000;
public const ushort P9116_AI_INT =0x1000;
public const ushort P9116_AI_DMA =0x2000;
//-------- Constants for PCI-9812 --------------------
//Trigger Mode
public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode
public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode
public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode
public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode
public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode
public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode
//Trigger Source
public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0
public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1
public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2
public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3
public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger
//Trigger Polarity
public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger
public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger
//Frequency Selection
public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq.
public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq.
//Clock Source
public const ushort P9812_CLKSRC_INT =0x000; //Internal clock
public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock
public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock
//EMG shdn ctrl code
public const ushort EMGSHDN_OFF =0; //off
public const ushort EMGSHDN_ON =1; //on
public const ushort EMGSHDN_RECOVERY =2; //recovery
//Hot Reset Hold ctrl code
public const ushort HRH_OFF =0; //off
public const ushort HRH_ON =1; //on
//-------- Timer/Counter -----------------------------
//Counter Mode (8254)
public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count
public const ushort PROG_ONE_SHOT =1; //Programmable one-shot
public const ushort RATE_GENERATOR =2; //Rate generator
public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator
public const ushort SOFT_TRIG =4; //Software-triggered strobe
public const ushort HARD_TRIG =5; //Hardware-triggered strobe
//General Purpose Timer/Counter
//Counter Mode
public const ushort General_Counter =0x00; //general counter
public const ushort Pulse_Generation =0x01; //pulse generation
//GPTC clock source
public const ushort GPTC_CLKSRC_EXT =0x08;
public const ushort GPTC_CLKSRC_INT =0x00;
public const ushort GPTC_GATESRC_EXT =0x10;
public const ushort GPTC_GATESRC_INT =0x00;
public const ushort GPTC_UPDOWN_SELECT_EXT =0x20;
public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00;
public const ushort GPTC_UP_CTR =0x40;
public const ushort GPTC_DOWN_CTR =0x00;
public const ushort GPTC_ENABLE =0x80;
public const ushort GPTC_DISABLE =0x00;
//Watchdog Timer
//Counter action
public const ushort WDT_DISARM =0;
public const ushort WDT_ARM =1;
public const ushort WDT_RESTART =2;
//Pattern ID
public const ushort INIT_PTN =0;
public const ushort EMGSHDN_PTN =1;
//16-bit binary or 4-decade BCD counter
public const ushort BIN =0;
public const ushort BCD =1;
//Pattern ID for 7442
public const ushort INIT_PTN_CH0 = 0;
public const ushort INIT_PTN_CH1 =1;
public const ushort SAFTOUT_PTN_CH0 =4;
public const ushort SAFTOUT_PTN_CH1 =5;
//DAQ Event type for the event message
public const ushort AIEnd =0;
public const ushort DIEnd =0;
public const ushort DOEnd =0;
public const ushort DBEvent =1;
public const ushort RegBySlot=0x8000;
/*------------------------------------------------------------------
** PCIS-DASK Function prototype
------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short Register_Card (ushort CardType, ushort card_num);
[DllImport("PCI-Dask.dll")]
public static extern short Release_Card (ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate);
[DllImport("PCI-Dask.dll")]
public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl);
[DllImport("PCI-Dask.dll")]
public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts);
[DllImport("PCI-Dask.dll")]
public static extern short HotResetHoldControl(ushort wCardNumber, byte enable);
[DllImport("PCI-Dask.dll")]
public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts);
[DllImport("PCI-Dask.dll")]
public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern);
[DllImport("PCI-Dask.dll")]
public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern);
[DllImport("PCI-Dask.dll")]
public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_9116_CounterInterval (ushort wCardNumber, uint ScanIntrv, uint SampIntrv);
[DllImport("PCI-Dask.dll")]
public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange,
ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans,
ushort[] AdRanges, ushort[] Buffer, uint ReadCount,
double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange,
ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange,
string FileName, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans,
ushort[] AdRanges, string[] FileName, uint ReadCount,
double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange,
string FileName, uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag);
[DllImport("PCI-Dask.dll")]
public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode);
[DllImport("PCI-Dask.dll")]
public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode);
[DllImport("PCI-Dask.dll")]
public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity);
[DllImport("PCI-Dask.dll")]
public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value);
[DllImport("PCI-Dask.dll")]
public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage);
[DllImport("PCI-Dask.dll")]
public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue);
[DllImport("PCI-Dask.dll")]
public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer);
[DllImport("PCI-Dask.dll")]
public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol);
[DllImport("PCI-Dask.dll")]
public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di);
[DllImport("PCI-Dask.dll")]
public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di);
[DllImport("PCI-Dask.dll")]
public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName,
uint ReadCount, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag);
[DllImport("PCI-Dask.dll")]
public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig);
[DllImport("PCI-Dask.dll")]
public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol);
[DllImport("PCI-Dask.dll")]
public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold);
[DllImport("PCI-Dask.dll")]
public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer,
uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_PGStop (ushort CardNumber);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContStatus (ushort CardNumber, out ushort Status);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt);
[DllImport("PCI-Dask.dll")]
public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId);
[DllImport("PCI-Dask.dll")]
public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate);
[DllImport("PCI-Dask.dll")]
public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset);
[DllImport("PCI-Dask.dll")]
public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource);
[DllImport("PCI-Dask.dll")]
public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr);
[DllImport("PCI-Dask.dll")]
public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue);
[DllImport("PCI-Dask.dll")]
public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent);
[DllImport("PCI-Dask.dll")]
public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short AI_GetView(ushort wCardNumber, uint[] pView);
[DllImport("PCI-Dask.dll")]
public static extern short DI_GetView(ushort wCardNumber, uint[] pView);
[DllImport("PCI-Dask.dll")]
public static extern short DO_GetView(ushort wCardNumber, uint[] pView);
/*---------------------------------------------------------------------------*/
[DllImport("PCI-Dask.dll")]
public static extern short GetCardType (ushort wCardNumber, out ushort cardType);
[DllImport("PCI-Dask.dll")]
public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex);
[DllImport("PCI-Dask.dll")]
public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2);
[DllImport("PCI-Dask.dll")]
public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr);
}

63
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.Designer.cs

@ -1,63 +0,0 @@
namespace D7300_DO_Single_Buffer_Sync
{
partial class Form1
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param name="disposing">如果應該公開 Managed 資源則為 true,否則為 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form 設計工具產生的程式碼
/// <summary>
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。
///
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(101, 45);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(73, 29);
this.button1.TabIndex = 1;
this.button1.Text = "Start";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 116);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "AO";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button1;
}
}

61
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.cs

@ -1,61 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace D7300_DO_Single_Buffer_Sync
{
public partial class Form1 : Form
{
ushort[] data_buffer = new ushort[1000];
public short m_dev;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
m_dev = DASK.Register_Card(DASK.PCI_7300A_RevB, 0);
if (m_dev < 0)
{
MessageBox.Show("Register_Card error!");
}
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
short ret;
if (m_dev >= 0)
{
ret = DASK.Release_Card((ushort)m_dev);
}
}
private void button1_Click(object sender, EventArgs e)
{
int i;
short err;
for (i = 0; i < 1000; i++)
{
data_buffer[i] = (ushort)i;
}
err = DASK.DO_7300B_Config((ushort)m_dev, 16, DASK.TRIG_INT_PACER, DASK.P7300_WAIT_NO, DASK.P7300_TERM_OFF, 0, 0x29810);
if (err != 0)
{
MessageBox.Show("DO_7300B_Config error!");
return;
}
err = DASK.DO_ContWritePort((ushort)m_dev, 0, data_buffer, 1000,10, 10000, DASK.SYNCH_OP);
if (err != 0)
{
MessageBox.Show("DO_ContWritePort error!");
return;
}
}
}
}

120
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.resx

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

20
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Program.cs

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace D7300_DO_Single_Buffer_Sync
{
static class Program
{
/// <summary>
/// 應用程式的主要進入點。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

33
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/AssemblyInfo.cs

@ -1,33 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("D7300_DO_Single_Buffer_Sync")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ADLINK")]
[assembly: AssemblyProduct("D7300_DO_Single_Buffer_Sync")]
[assembly: AssemblyCopyright("Copyright (C) ADLINK 2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 將 ComVisible 設定為 false 會使得這個組件中的型別
// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中
// 的型別,請在該型別上將 ComVisible 屬性設定為 true。
[assembly: ComVisible(false)]
// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
[assembly: Guid("bcc3a5fa-3ea0-471d-a2b0-71fc2cf1bb64")]
// 組件的版本資訊是由下列四項值構成:
//
// 主要版本
// 次要版本
// 組建編號
// 修訂編號
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

71
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.Designer.cs

@ -1,71 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 這段程式碼是由工具產生的。
// 執行階段版本:2.0.50727.42
//
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
// 程式碼,這個檔案將會遺失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace D7300_DO_Single_Buffer_Sync.Properties
{
/// <summary>
/// 用於查詢當地語系化字串等的強型別資源類別
/// </summary>
// 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
// 類別透過 ResGen 或 Visual Studio 這類工具。
// 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
// (利用 /str 選項),或重建您的 VS 專案。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 傳回這個類別使用的快取的 ResourceManager 執行個體。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D7300_DO_Single_Buffer_Sync.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
/// 使用這個強型別資源類別的資源查閱。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

117
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.resx

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

30
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.Designer.cs

@ -1,30 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace D7300_DO_Single_Buffer_Sync.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

7
leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.settings

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save