# FAQ

Q. When I start Cognex VisionPro Deep Learning Studio and click continue button, I saw an error including “functions_of_mkl_rt.txt”.

A. If the error included in functions_of_mkl_rt.txt occurs, you can fix it with the following procedure.

1. Open a cmd window and type the following command.
   "where mkl_rt.dll"
2. Check the path list of mkl_rt.dll.
3. Set the environment variable priority of VisionPro Deep Learning higher than other mkl system environment variables.

system environment variables: control panel - system - system environment variables.

Q. When I process Green Classify Tool in High Detail mode, the processing fails with "CUDA not properly initialized." message.

A. This message appears when you try to process with CPU. We officially supports GPU only for training and processing.
When you see this message, please process again with GPU PC.

Q. Server and client program are not working with Example.Runtime.Remote.Console (C# / .NET Framework 4.7.2) in Runtime Examples.

A. Since the example file is configured to use 8080 port, 8080 port was assigned when running the service

That is why you see this message "The process cannot access the file because it is being used by another process." This is not because of this example file, it is a duplicated tcp port. Please use another port which firewall is off when the 8080 port is assigned to another process.

Please see Server Deep Learning Service with Firewall topic for turning off the firewall.

Q. When using SampleViewer(assembly: ViDi.NET.UI.dll, Namespace: ViDi2.UI), NullReferenceException happened.

A.

WPF Project

If you are using SampleViewer on WPF project, please follow the step.

1. For example, if you are trying to use SampleViewer with MainWindows, please get into the constructor of MainWindows.xaml.cs.

2. Please input these codes before InitializeComponent();

    if(!ViDi2.UI.ViDiSuiteServiceLocator.IsInitialized)

    ViDi2.UI.ViDiSuiteServiceLocator.Initialize();

InitializeComponent();

Winform Project

If you are using SampleViewer on Winform project, please follow the step.

1. For example, if you are trying to use SampleViewer with Form1, please go to the constructor of Form1.

2. Please type these codes before InitializeComponent();

    if(!ViDi2.UI.ViDiSuiteServiceLocator.IsInitialized)

    ViDi2.UI.ViDiSuiteServiceLocator.Initialize();

InitializeComponent();

Q. Can I open and use multiple VisionPro Deep Learning Studios?

A. You can open multiple studios but you can observe abnormal behaviors while you are using them. Please open and use one studio.