add flycapture

This commit is contained in:
Tang1705
2020-01-27 18:56:50 +08:00
parent 1b7d21abf5
commit 0c4ac1d8bb
1716 changed files with 451009 additions and 0 deletions

View File

@@ -0,0 +1,247 @@
'=============================================================================
' Copyright © 2017 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
'
' This software Is the confidential And proprietary information of FLIR
' Integrated Imaging Solutions, Inc. ("Confidential Information"). You
' shall Not disclose such Confidential Information And shall use it only in
' accordance with the terms of the license agreement you entered into
' with FLIR Integrated Imaging Solutions, Inc. (FLIR).
'
' FLIR MAKES NO REPRESENTATIONS Or WARRANTIES ABOUT THE SUITABILITY OF THE
' SOFTWARE, EITHER EXPRESSED Or IMPLIED, INCLUDING, BUT Not LIMITED TO, THE
' IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
' PURPOSE, Or NON-INFRINGEMENT. FLIR SHALL Not BE LIABLE FOR ANY DAMAGES
' SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING Or DISTRIBUTING
' THIS SOFTWARE Or ITS DERIVATIVES.
'=============================================================================
' =============================================================================
' $Id: AsyncTriggerEx.vb 317565 2017-03-01 21:05:37Z alin $
' =============================================================================
Imports System
Imports System.Text
Imports FlyCapture2Managed
Namespace AsyncTriggerEx_VB
Class Program
Shared Sub PrintBuildInfo()
Dim version As FC2Version = ManagedUtilities.libraryVersion
Dim newStr As StringBuilder = New StringBuilder()
newStr.AppendFormat("FlyCapture2 library version: {0}.{1}.{2}.{3}" & vbNewLine, _
version.major, version.minor, version.type, version.build)
Console.WriteLine(newStr)
End Sub
Shared Sub PrintCameraInfo(ByVal camInfo As CameraInfo)
Dim newStr As StringBuilder = New StringBuilder()
newStr.Append(vbNewLine & "*** CAMERA INFORMATION ***" & vbNewLine)
newStr.AppendFormat("Serial number - {0}" & vbNewLine, camInfo.serialNumber)
newStr.AppendFormat("Camera model - {0}" & vbNewLine, camInfo.modelName)
newStr.AppendFormat("Camera vendor - {0}" & vbNewLine, camInfo.vendorName)
newStr.AppendFormat("Sensor - {0}" & vbNewLine, camInfo.sensorInfo)
newStr.AppendFormat("Resolution - {0}" & vbNewLine, camInfo.sensorResolution)
Console.WriteLine(newStr)
End Sub
Shared Function CheckSoftwareTriggerPresence(ByVal cam As ManagedCamera) As Boolean
Const TriggerInquiry As UInteger = &H530
Dim regVal As UInteger = cam.ReadRegister(TriggerInquiry)
If ((regVal And &H10000) <> &H10000) Then
Return False
End If
Return True
End Function
Shared Function PollForTriggerReady(ByVal cam As ManagedCamera) As Boolean
Const SoftwareTrigger As UInteger = &H62C
Dim SoftwareTriggerValue As UInteger = 0
Do
SoftwareTriggerValue = cam.ReadRegister(SoftwareTrigger)
Loop While ((SoftwareTriggerValue >> 31) <> 0)
Return True
End Function
Shared Function FireSoftwareTrigger(ByVal cam As ManagedCamera) As Boolean
Const SoftwareTrigger As UInteger = &H62C
Const SoftwareTriggerFireValue As UInt32 = &H80000000UI
cam.WriteRegister(SoftwareTrigger, SoftwareTriggerFireValue)
Return True
End Function
Shared Sub Main()
PrintBuildInfo()
Const NumImages As Integer = 10
Dim useSoftwareTrigger As Boolean = True
Dim busMgr As ManagedBusManager = New ManagedBusManager()
Dim numCameras As UInteger = busMgr.GetNumOfCameras()
Console.WriteLine("Number of cameras detected: {0}", numCameras)
If numCameras < 1 Then
Console.WriteLine("No cameras detected!")
Console.WriteLine("Press enter to exit...")
Console.ReadLine()
Return
End If
Dim guid As ManagedPGRGuid = busMgr.GetCameraFromIndex(0)
Dim cam As ManagedCamera = New ManagedCamera()
cam.Connect(guid)
' Power on the camera
Const CameraPower As UInteger = &H610
Const CameraPowerValue As UInt32 = &H80000000UI
cam.WriteRegister(CameraPower, CameraPowerValue)
' Wait for camera to complete power-up
Const MillisecondsToSleep = 100
Dim regVal As UInteger = 0
Do While ((regVal And CameraPowerValue) = 0)
System.Threading.Thread.Sleep(MillisecondsToSleep)
regVal = cam.ReadRegister(CameraPower)
Loop
' Get the camera information
Dim camInfo As CameraInfo = cam.GetCameraInfo()
PrintCameraInfo(camInfo)
If (Not useSoftwareTrigger) Then
' Check for external trigger support
Dim triggerModeInfo As TriggerModeInfo = cam.GetTriggerModeInfo()
If (Not triggerModeInfo.present) Then
Console.WriteLine("Camera does not support external trigger!")
Console.WriteLine("Press enter to exit...")
Console.ReadLine()
Return
End If
End If
' Get current trigger settings
Dim triggerMode As TriggerMode = cam.GetTriggerMode()
' Set camera to trigger mode 0
' A source of 7 means software trigger
triggerMode.onOff = True
triggerMode.mode = 0
triggerMode.parameter = 0
If (useSoftwareTrigger) Then
' A source of 7 means software trigger
triggerMode.source = 7
Else
' Triggering the camera externally using source 0.
triggerMode.source = 0
End If
' Set the trigger mode
cam.SetTriggerMode(triggerMode)
' Poll to ensure camera is ready
Dim retVal As Boolean = PollForTriggerReady(cam)
If (Not retVal) Then
Return
End If
' Get the camera configuration
Dim config As FC2Config = cam.GetConfiguration()
' Set the grab timeout to 5 seconds
config.grabTimeout = 5000
' Set the camera configuration
cam.SetConfiguration(config)
' Camera is ready, start capturing images
cam.StartCapture()
If (useSoftwareTrigger) Then
If (Not CheckSoftwareTriggerPresence(cam)) Then
Console.WriteLine("SOFT_ASYNC_TRIGGER not implemented on this camera!")
Console.WriteLine("Press enter to exit...")
Console.ReadLine()
Return
End If
Else
Console.WriteLine("Trigger the camera by sending a trigger pulse to GPIO%d." & vbNewLine, _
triggerMode.source)
End If
Dim rawImage As ManagedImage = New ManagedImage()
For iImageCount As Integer = 0 To (NumImages - 1)
If (useSoftwareTrigger) Then
' Check that the trigger is ready
retVal = PollForTriggerReady(cam)
Console.WriteLine("Press the Enter key to initiate a software trigger." & vbNewLine)
Console.ReadLine()
' Fire software trigger
retVal = FireSoftwareTrigger(cam)
If (Not retVal) Then
Console.WriteLine("Error firing software trigger!")
Console.WriteLine("Press enter to exit...")
Console.ReadLine()
Return
End If
End If
Try
' Retrieve an image
cam.RetrieveBuffer(rawImage)
Catch ex As FC2Exception
Console.WriteLine("Error retrieving buffer : {0}", ex.Message)
Continue For
End Try
Console.WriteLine("." & vbNewLine)
Next
Console.WriteLine("Finished grabbing images")
' Stop capturing images
cam.StopCapture()
' Turn off trigger mode
triggerMode.onOff = False
cam.SetTriggerMode(triggerMode)
' Disconnect the camera
cam.Disconnect()
Console.WriteLine("Done! Press enter to exit...")
Console.ReadLine()
End Sub
End Class
End Namespace

View File

@@ -0,0 +1,32 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "AsyncTriggerEx_VB.Net_2010", "AsyncTriggerEx_VB.Net_2010.vbproj", "{0E2291D6-937C-47C6-992A-33035FBAC8CC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x64.ActiveCfg = Debug|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x64.Build.0 = Debug|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x86.ActiveCfg = Debug|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x86.Build.0 = Debug|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|Any CPU.Build.0 = Release|Any CPU
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x64.ActiveCfg = Release|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x64.Build.0 = Release|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x86.ActiveCfg = Release|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,193 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<FC2Version>2.12.3.2</FC2Version>
<FC2InformationalVersion>2.12.3.201801090091</FC2InformationalVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{0E2291D6-937C-47C6-992A-33035FBAC8CC}</ProjectGuid>
<OutputType>Exe</OutputType>
<StartupObject>Sub Main</StartupObject>
<RootNamespace>AsyncTriggerEx_VB.Net</RootNamespace>
<AssemblyName>AsyncTriggerEx_VB.Net</AssemblyName>
<MyType>Console</MyType>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>2.0</OldToolsVersion>
<UpgradeBackupLocation />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<DebugSymbols>true</DebugSymbols>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x64\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x64\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<Choose>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('..\..\bin') And !Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Release|x86' And Exists('..\..\bin')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managed, Version=$(FC2Version), Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin\FlyCapture2Managed_v100.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Debug|AnyCPU' And Exists('..\..\bin') And !Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Debug|x86' And Exists('..\..\bin')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managed, Version=$(FC2Version), Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin\FlyCapture2Managedd_v100.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Release|x64' And Exists('..\..\bin64')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managed, Version=$(FC2Version), Culture=neutral, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin64\FlyCapture2Managed_v100.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Debug|AnyCPU' And Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Debug|x64' And Exists('..\..\bin64')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managed, Version=$(FC2Version), Culture=neutral, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin64\FlyCapture2Managedd_v100.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
</ItemGroup>
<ItemGroup>
<Compile Include="AsyncTriggerEx.vb" />
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.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>
-->
<PropertyGroup>
<PostBuildEvent>
IF $(Platform)==x86 (
copy "$(ProjectDir)..\..\bin\libiomp5md.dll" "$(TargetDir)"
IF $(ConfigurationName)==Debug (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin\$(TargetName)d$(TargetExt)"
copy "$(ProjectDir)..\..\bin\FlyCapture2d_v100.dll" "$(TargetDir)"
) ELSE (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin\$(TargetFileName)"
copy "$(ProjectDir)..\..\bin\FlyCapture2_v100.dll" "$(TargetDir)"
)
) ELSE IF $(Platform)==x64 (
copy "$(ProjectDir)..\..\bin64\libiomp5md.dll" "$(TargetDir)"
IF $(ConfigurationName)==Debug (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin64\$(TargetName)d$(TargetExt)"
copy "$(ProjectDir)..\..\bin64\FlyCapture2d_v100.dll" "$(TargetDir)"
) ELSE (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin64\$(TargetFileName)"
copy "$(ProjectDir)..\..\bin64\FlyCapture2_v100.dll" "$(TargetDir)"
)
)
</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsyncTriggerEx_VB.Net_vs2013", "AsyncTriggerEx_VB.Net_vs2013.vbproj", "{0E2291D6-937C-47C6-992A-33035FBAC8CC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x64.ActiveCfg = Debug|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x64.Build.0 = Debug|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x86.ActiveCfg = Debug|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x86.Build.0 = Debug|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x64.ActiveCfg = Release|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x64.Build.0 = Release|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x86.ActiveCfg = Release|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,199 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<FC2Version>2.12.3.2</FC2Version>
<FC2InformationalVersion>2.12.3.201801090091</FC2InformationalVersion>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{0E2291D6-937C-47C6-992A-33035FBAC8CC}</ProjectGuid>
<OutputType>Exe</OutputType>
<StartupObject>Sub Main</StartupObject>
<RootNamespace>AsyncTriggerEx_VB.Net</RootNamespace>
<AssemblyName>AsyncTriggerEx_VB.Net</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Console</MyType>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x64\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x64\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Choose>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('..\..\bin') And !Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Release|x86' And Exists('..\..\bin')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managed_v120">
<HintPath>..\..\bin\vs2013\FlyCapture2Managed_v120.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Debug|AnyCPU' And Exists('..\..\bin') And !Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Debug|x86' And Exists('..\..\bin')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managedd_v120">
<HintPath>..\..\bin\vs2013\FlyCapture2Managedd_v120.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Release|x64' And Exists('..\..\bin64')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managed_v120">
<HintPath>..\..\bin64\vs2013\FlyCapture2Managed_v120.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Debug|AnyCPU' And Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Debug|x64' And Exists('..\..\bin64')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managedd_v120">
<HintPath>..\..\bin64\vs2013\FlyCapture2Managedd_v120.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
</ItemGroup>
<ItemGroup>
<Compile Include="AsyncTriggerEx.vb" />
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.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>
-->
<PropertyGroup>
<PostBuildEvent>IF $(Platform)==x86 (
copy "$(ProjectDir)..\..\bin\vs2013\libiomp5md.dll" "$(TargetDir)"
IF $(ConfigurationName)==Debug (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin\vs2013\$(TargetName)d_v120$(TargetExt)"
copy "$(ProjectDir)..\..\bin\vs2013\FlyCapture2d_v120.dll" "$(TargetDir)"
) ELSE (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin\vs2013\$(TargetName)_v120$(TargetExt)"
copy "$(ProjectDir)..\..\bin\vs2013\FlyCapture2_v120.dll" "$(TargetDir)"
)
) ELSE IF $(Platform)==x64 (
copy "$(ProjectDir)..\..\bin64\vs2013\libiomp5md.dll" "$(TargetDir)"
IF $(ConfigurationName)==Debug (copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin64\vs2013\$(TargetName)d_v120$(TargetExt)"
copy "$(ProjectDir)..\..\bin64\vs2013\FlyCapture2d_v120.dll" "$(TargetDir)"
) ELSE (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin64\vs2013\$(TargetName)_v120$(TargetExt)"
copy "$(ProjectDir)..\..\bin64\vs2013\FlyCapture2_v120.dll" "$(TargetDir)"
)
)</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,28 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsyncTriggerEx_VB.Net_vs2015", "AsyncTriggerEx_VB.Net_vs2015.vbproj", "{0E2291D6-937C-47C6-992A-33035FBAC8CC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x64.ActiveCfg = Debug|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x64.Build.0 = Debug|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x86.ActiveCfg = Debug|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Debug|x86.Build.0 = Debug|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x64.ActiveCfg = Release|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x64.Build.0 = Release|x64
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x86.ActiveCfg = Release|x86
{0E2291D6-937C-47C6-992A-33035FBAC8CC}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<FC2Version>2.12.3.2</FC2Version>
<FC2InformationalVersion>2.12.3.201801090091</FC2InformationalVersion>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{0E2291D6-937C-47C6-992A-33035FBAC8CC}</ProjectGuid>
<OutputType>Exe</OutputType>
<StartupObject>Sub Main</StartupObject>
<RootNamespace>AsyncTriggerEx_VB.Net</RootNamespace>
<AssemblyName>AsyncTriggerEx_VB.Net</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Console</MyType>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x64\Debug\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x64\Release\</OutputPath>
<DocumentationFile>AsyncTriggerEx_VB.Net.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Choose>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('..\..\bin') And !Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Release|x86' And Exists('..\..\bin')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managed_v140">
<HintPath>..\..\bin\vs2015\FlyCapture2Managed_v140.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Debug|AnyCPU' And Exists('..\..\bin') And !Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Debug|x86' And Exists('..\..\bin')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managedd_v140">
<HintPath>..\..\bin\vs2015\FlyCapture2Managedd_v140.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Release|x64' And Exists('..\..\bin64')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managed_v140">
<HintPath>..\..\bin64\vs2015\FlyCapture2Managed_v140.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" ('$(Configuration)|$(Platform)' == 'Debug|AnyCPU' And Exists('..\..\bin64')) Or ('$(Configuration)|$(Platform)' == 'Debug|x64' And Exists('..\..\bin64')) ">
<ItemGroup>
<Reference Include="FlyCapture2Managedd_v140">
<HintPath>..\..\bin64\vs2015\FlyCapture2Managedd_v140.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
</ItemGroup>
<ItemGroup>
<Compile Include="AsyncTriggerEx.vb" />
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.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>
-->
<PropertyGroup>
<PostBuildEvent>IF $(Platform)==x86 (
copy "$(ProjectDir)..\..\bin\vs2015\libiomp5md.dll" "$(TargetDir)"
IF $(ConfigurationName)==Debug (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin\vs2015\$(TargetName)d_v140$(TargetExt)"
copy "$(ProjectDir)..\..\bin\vs2015\FlyCapture2d_v140.dll" "$(TargetDir)"
) ELSE (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin\vs2015\$(TargetName)_v140$(TargetExt)"
copy "$(ProjectDir)..\..\bin\vs2015\FlyCapture2_v140.dll" "$(TargetDir)"
)
) ELSE IF $(Platform)==x64 (
copy "$(ProjectDir)..\..\bin64\vs2015\libiomp5md.dll" "$(TargetDir)"
IF $(ConfigurationName)==Debug (copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin64\vs2015\$(TargetName)d_v140$(TargetExt)"
copy "$(ProjectDir)..\..\bin64\vs2015\FlyCapture2d_v140.dll" "$(TargetDir)"
) ELSE (
copy "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\bin64\vs2015\$(TargetName)_v140$(TargetExt)"
copy "$(ProjectDir)..\..\bin64\vs2015\FlyCapture2_v140.dll" "$(TargetDir)"
)
)</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,13 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>false</MySubMain>
<SingleInstance>false</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<ApplicationType>2</ApplicationType>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
</MyApplicationData>

View File

@@ -0,0 +1,36 @@
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
' Review the values of the assembly attributes
<Assembly: AssemblyTitle("AsyncTriggerEx_VB.Net")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("FLIR Integrated Imaging Solutions, Inc.")>
<Assembly: AssemblyProduct("AsyncTriggerEx_VB.Net")>
<Assembly: AssemblyCopyright("© FLIR Integrated Imaging Solutions, Inc. All rights reserved.")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(False)>
'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("92a6446e-8a1e-4274-ae4a-36e3af9c060b")>
' Version information for an assembly consists of the following four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build and Revision Numbers
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("2.12.3.2")>
<Assembly: AssemblyVersion("2.12.3.2")>
<Assembly: AssemblyFileVersion("2.12.3.2")>
<Assembly: AssemblyInformationalVersion("2.12.3.201801090091")>

View File

@@ -0,0 +1,63 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Imports System
Namespace My.Resources
'This class was auto-generated by the StronglyTypedResourceBuilder
'class via a tool like ResGen or Visual Studio.
'To add or remove a member, edit your .ResX file then rerun ResGen
'with the /str option, or rebuild your VS project.
'''<summary>
''' A strongly-typed resource class, for looking up localized strings, etc.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Returns the cached ResourceManager instance used by this class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
Get
If Object.ReferenceEquals(resourceMan, Nothing) Then
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("AsyncTriggerEx_VB.Net.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Overrides the current thread's CurrentUICulture property for all
''' resource lookups using this strongly typed resource class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend Property Culture() As Global.System.Globalization.CultureInfo
Get
Return resourceCulture
End Get
Set
resourceCulture = value
End Set
End Property
End Module
End Namespace

View File

@@ -0,0 +1,117 @@
<?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>

View File

@@ -0,0 +1,73 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
#Region "My.Settings Auto-Save Functionality"
#If _MyType = "WindowsForms" Then
Private Shared addedHandler As Boolean
Private Shared addedHandlerLockObject As New Object
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
If My.Application.SaveMySettingsOnExit Then
My.Settings.Save()
End If
End Sub
#End If
#End Region
Public Shared ReadOnly Property [Default]() As MySettings
Get
#If _MyType = "WindowsForms" Then
If Not addedHandler Then
SyncLock addedHandlerLockObject
If Not addedHandler Then
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
addedHandler = True
End If
End SyncLock
End If
#End If
Return defaultInstance
End Get
End Property
End Class
End Namespace
Namespace My
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global.AsyncTriggerEx_VB.Net.My.MySettings
Get
Return Global.AsyncTriggerEx_VB.Net.My.MySettings.Default
End Get
End Property
End Module
End Namespace

View File

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

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" ?>
<configuration>
<system.diagnostics>
<sources>
<!-- This section defines the logging configuration for My.Application.Log -->
<source name="DefaultSource" switchName="DefaultSwitch">
<listeners>
<add name="FileLog"/>
<!-- Uncomment the below section to write to the Application Event Log -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSwitch" value="Information"/>
</switches>
<sharedListeners>
<add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
<!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<startup>
<supportedRuntime version="v4.0"/>
</startup>
</configuration>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" ?>
<configuration>
<system.diagnostics>
<sources>
<!-- This section defines the logging configuration for My.Application.Log -->
<source name="DefaultSource" switchName="DefaultSwitch">
<listeners>
<add name="FileLog"/>
<!-- Uncomment the below section to write to the Application Event Log -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSwitch" value="Information"/>
</switches>
<sharedListeners>
<add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
<!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<startup>
<supportedRuntime version="v4.0"/>
</startup>
</configuration>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
AsyncTriggerEx_VB.Net
</name>
</assembly>
<members>
<member name="T:AsyncTriggerEx_VB.Net.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:AsyncTriggerEx_VB.Net.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:AsyncTriggerEx_VB.Net.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" ?>
<configuration>
<system.diagnostics>
<sources>
<!-- This section defines the logging configuration for My.Application.Log -->
<source name="DefaultSource" switchName="DefaultSwitch">
<listeners>
<add name="FileLog"/>
<!-- Uncomment the below section to write to the Application Event Log -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSwitch" value="Information"/>
</switches>
<sharedListeners>
<add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
<!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<startup>
<supportedRuntime version="v4.0"/>
</startup>
</configuration>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
AsyncTriggerEx_VB.Net
</name>
</assembly>
<members>
<member name="T:AsyncTriggerEx_VB.Net.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:AsyncTriggerEx_VB.Net.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:AsyncTriggerEx_VB.Net.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
AsyncTriggerEx_VB.Net
</name>
</assembly>
<members>
<member name="T:AsyncTriggerEx_VB.Net.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:AsyncTriggerEx_VB.Net.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:AsyncTriggerEx_VB.Net.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>

View File

@@ -0,0 +1 @@
34772d72f3b98dee01d01d2e5ddeafbbe70b7c45

View File

@@ -0,0 +1,13 @@
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Debug\AsyncTriggerEx_VB.Net.exe.config
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Debug\AsyncTriggerEx_VB.Net.exe
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Debug\AsyncTriggerEx_VB.Net.pdb
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Debug\AsyncTriggerEx_VB.Net.xml
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Debug\FlyCapture2Managedd_v140.dll
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Debug\AsyncTriggerEx_VB.Net_vs2015.vbprojAssemblyReference.cache
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Debug\AsyncTriggerEx_VB.Net.Resources.resources
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Debug\AsyncTriggerEx_VB.Net_vs2015.vbproj.GenerateResource.cache
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Debug\AsyncTriggerEx_VB.Net_vs2015.vbproj.CoreCompileInputs.cache
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Debug\AsyncTriggerEx_VB.Net_vs2015.vbproj.CopyComplete
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Debug\AsyncTriggerEx_VB.Net.exe
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Debug\AsyncTriggerEx_VB.Net.xml
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Debug\AsyncTriggerEx_VB.Net.pdb

View File

@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
AsyncTriggerEx_VB.Net
</name>
</assembly>
<members>
<member name="T:AsyncTriggerEx_VB.Net.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:AsyncTriggerEx_VB.Net.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:AsyncTriggerEx_VB.Net.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>

View File

@@ -0,0 +1 @@
fdd849d1997f1a73af4b07ba9274597a2666a294

View File

@@ -0,0 +1,13 @@
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Release\AsyncTriggerEx_VB.Net.exe.config
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Release\AsyncTriggerEx_VB.Net.exe
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Release\AsyncTriggerEx_VB.Net.pdb
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Release\AsyncTriggerEx_VB.Net.xml
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\bin\Release\FlyCapture2Managed_v140.dll
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Release\AsyncTriggerEx_VB.Net_vs2015.vbprojAssemblyReference.cache
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Release\AsyncTriggerEx_VB.Net.Resources.resources
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Release\AsyncTriggerEx_VB.Net_vs2015.vbproj.GenerateResource.cache
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Release\AsyncTriggerEx_VB.Net_vs2015.vbproj.CoreCompileInputs.cache
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Release\AsyncTriggerEx_VB.Net_vs2015.vbproj.CopyComplete
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Release\AsyncTriggerEx_VB.Net.exe
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Release\AsyncTriggerEx_VB.Net.xml
C:\Users\tq\Desktop\相机投影\FlyCapture2\src\AsyncTriggerEx_VB.Net\obj\Release\AsyncTriggerEx_VB.Net.pdb