Skip to main content

Configuration & Usage


Configuration Setup

File Locations

After installation, the configuration file VxConfig.conf and VxExposure.yaml will be located at:

  • Windows:

    {your_dotnet_project}\bin\{project_build_type}\{dotnet_version}\VxConfig.conf
    {your_dotnet_project}\bin\{project_build_type}\{dotnet_version}\VxExposure.yaml

File Descriptions

  • VxConfig: A configuration file used by CSVizionSDK to recognize TechNexion camera series.
  • VxExposure: A YAML file defining the default minimum and maximum exposure time values for each sensor and resolution.
tip

You can also customize the location of VxConfig.conf and VxExposure.yaml by setting the VIZIONSDK_CONFIG_PATH environment variable.


Usage

After installing the CSVizionSDK NuGet packages, you can access all public APIs under the following namespace and test if the installation is successful:

using VizionSDKSharp;

class Program
{
static void Main()
{
// Test the library import
CSVizionSDK.HelloVizionSDK();
// Output:
// Hello VizionSDK!
// Version: {VizionSDK Version}
}
}

For more detailed information and advanced usage, please refer to the API documentation or the examples on GitHub.