View Single Post
  #30   Spotlight this post!  
Unread 01-02-2006, 01:17
Joe Hershberger Joe Hershberger is offline
National Instruments
AKA: jhersh
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 1997
Location: Austin, TX
Posts: 148
Joe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to all
Re: Labview keeps freezing

Quote:
Originally Posted by Peter H
There are 3 cases. I deleted the byte counter and then reselected it before each case, to ensure it started at 0.
1 Correct operation, the full frame appears: as soon as I select Grab Frame, the number of bytes shows 114242
2 Partial frame, red LED continues to blink: as soon as I select Grab Frame, the number of bytes shows 114242
3 Partial frame, progress bar advances spontaneously, no red LED blinking: the number of bytes does not change from 0.
I have not knowingly changed any LabView settings. I removed LAbView and reinstalled it a few days ago, but saw no change in operation. Since this GUI works OK with a desktop computer, I suspect some incompatibility between my laptop and the camera, that produces a hiccup in the data flow, and LabView can not tolerate the hiccup.
Peter,

I'm suspecting that it will now work properly for you most of the time. The new update (from 2006.01.31) will much more robustly check that it is getting what is expected and quit if it doesn't. It also flushes the serial port buffers completely now and interrupts any currently executing streams on the camera. This means that even if the camera is in the middle of a frame grab (for whatever reason) and the app asks for a new frame, it will abort the first one and ask for a fresh new one. You should never get case 3 from above, now. If you get case 2 (I'm really not sure how this is happening since the size is correct) then it should fix itself on the next try.

Good luck!
-Joe
Reply With Quote