|
How do i keep camera going without stopping every time in JAVA?
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
|