View Single Post
  #1   Spotlight this post!  
Unread 02-19-2016, 05:22 PM
Luther4021 Luther4021 is offline
Registered User
None #4021
 
Join Date: Feb 2016
Location: Onalaska, WI
Posts: 2
Luther4021 is an unknown quantity at this point
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
Reply With Quote