Quote:
Originally Posted by ColonelThrtyTwo
You need to instantiate your own TaskExecutor and pass it to setTaskExecutor. assertCleanStatus is a protected method of the NIVision class, which checks if its argument is nonzero and if so throws an NIVisionException. Why it is protected, I don't know; you can't extend the classs because the only constructor is private. Just make your own, or copy+paste the source code from NIVision.java.
Is there any documentation for the imaq functions C-side? Specifically, I would like to use imaqDetectRectangles and need the fields of the RectangleMatch struct.
|
The way I did it was to make a new executer, and copy and past the assertCleanStatus function from the NIVision.java.