LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

There is no option in Vision Assistant block to close classification session! (How to solve Error 1074396030 ?)

Solved!
Go to solution

I am using Vision Acquisition blok, then vision assistant block.

These blocks are in while loop.

 

Once vision assistance block outputs class, for next iteration:

 

ERROR: There are too many classification sessions open. You must close a session before you can open other one.

 

I know there is block for disposing the classifier, but don't know where to connect it!!

 

0 Kudos
Message 1 of 11
(3,239 Views)

You can have the Vision Assistant Express VI ouput the session by clicking the Select Controls button and checkking the Classifier Session as an indicator. You can then delete it using IMAQ Dispose Classifier.

Why do you need 2 different classifiers? Can't you create more classes inside the first classifier?

 

Hope this helps.

 

Christophe

0 Kudos
Message 2 of 11
(3,236 Views)

Thank You for the answer.

 

I didn't have option for selecting classifier Session as an indicator.!!

All I have is: Class, Image Out, error out

outputs from the Vision Assistant Express VI block.

 

No, I don't need different classifiers.

Because the block is in while loop, it may need to close the opened one from first iteration.

0 Kudos
Message 3 of 11
(3,230 Views)

Which version of Vision Development Module are you using?

0 Kudos
Message 4 of 11
(3,220 Views)

I am using Vision Assistant Version 2010 Build: 20100621052956

0 Kudos
Message 5 of 11
(3,210 Views)

We must have added that feature in a later version of Vision Assistant. And which version of LabVIEW are you using?

0 Kudos
Message 7 of 11
(3,202 Views)

LV 2010.

Version 10.0 (32 bit)

 

So is there anything else I have to modify Vision Assistant block?

0 Kudos
Message 8 of 11
(3,196 Views)
Solution
Accepted by topic author LearningLV

The only option you have without upgrading is to right click on the Express VI and select "Open Front Panel". The Express VI is then changed to a standard subVI that you can edit and modify the code to close the session if needed.

The drawback of this approach is that by doing that, we break the link between the Express VI and Vision Assistant, meaning that you cannot modify the algorithm you developped in Vision Assistant anymore.

0 Kudos
Message 9 of 11
(3,179 Views)

Thank you.

 

I cannot modify it, fine.

Does it mean my current algorithm remains in the block?

0 Kudos
Message 10 of 11
(3,175 Views)