From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

VBAI engine error

I have created an application using VBAI engine in C# (Visual Studio 2015).

 

The OS is Windows10 Professional x64 and I have installed VBAI 2015 f3 32bit.

 

Sometime, when I call the function

       

        engine = new VBAIEngine("name of engine", "", false);

 

I have the error "Cannot find the specified session" and I must restart the PC for resolve the problem.

 

What is the reason for this error? I don't find documentation about this function.

 

 

Thanks for the help.

 

Gualtiero

 

 

0 Kudos
Message 1 of 3
(1,811 Views)

What is the value of the variable "mostraEngine" when you get this error?

0 Kudos
Message 2 of 3
(1,785 Views)

The value is false.

0 Kudos
Message 3 of 3
(1,768 Views)