Quote:
Originally Posted by Luther4021
public void Camera() {
NIVision.IMAQdxStartAcquisition(session);
NIVision.IMAQdxGrab(session, frame, 1);
CameraServer.getInstance().setImage(frame);
NIVision.IMAQdxStopAcquisition(session);
}
This is our code, I have tried many things to try and fix it, but all i got is errors. I've tried while loops and ifs nothing worked.
Thanks
|
You need to open your camera and start capture before you try to grab an image.