06-23-2015 11:36 AM
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!!
Solved! Go to Solution.
06-23-2015 11:58 AM
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
06-23-2015 12:06 PM
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.
06-23-2015 12:26 PM
Which version of Vision Development Module are you using?
06-23-2015 12:37 PM
I am using Vision Assistant Version 2010 Build: 20100621052956
06-23-2015 12:46 PM
06-23-2015 12:48 PM
We must have added that feature in a later version of Vision Assistant. And which version of LabVIEW are you using?
06-23-2015 12:51 PM
LV 2010.
Version 10.0 (32 bit)
So is there anything else I have to modify Vision Assistant block?
06-23-2015 02:12 PM
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.
06-23-2015 02:16 PM
Thank you.
I cannot modify it, fine.
Does it mean my current algorithm remains in the block?