Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

If you need to configure a project in Visual Studio manually, perform the following steps:

1.Create a project in Visual Studio.

2.Insert additional references (right-click References in project folder explorer):
$(IDS_PEAK_GENERIC_SDK_PATH)\api\binding\dotnet\x86_64\ids_peak_dotnet.dll;$(IDS_PEAK_GENERIC_SDK_PATH)\ipl\binding\dotnet\x86_64\ids_peak_ipl_dotnet.dll

3.Open the project properties by double-clicking "Properties" in the project folder explorer.

4.Correct the target platform in the "Build" tab.

5.Define the post-build event by command line in the "Build Events" tab:
copy "$(IDS_PEAK_GENERIC_SDK_PATH)\api\lib\x86_64\*.dll " "$(TargetDir)"
copy "$(IDS_PEAK_GENERIC_SDK_PATH)\api\binding\dotnet\x86_64\*.dll " "$(TargetDir)"
copy "$(IDS_PEAK_GENERIC_SDK_PATH)\ipl\lib\x86_64\*.dll " "$(TargetDir)"
copy "$(IDS_PEAK_GENERIC_SDK_PATH)\ipl\binding\dotnet\x86_64\*.dll " "$(TargetDir)"

Fig. 268: References

Fig. 268: References

Fig. 269: Target platform

Fig. 269: Target platform

Fig. 270: Build events

Fig. 270: Build events

Test the configuration with a short test code, e.g.

Program-cs (genericC#)

using System;
 
namespace my_new_project
{
  class Program
  {
      static void Main(string[] args)
      {
          peak.Library.Initialize();
          Console.WriteLine("IDS peak Library successfully initialized");
          peak.Library.Close();
      }
  }
}

© 2024 IDS Imaging Development Systems GmbH