View Single Post
  #15   Spotlight this post!  
Unread 27-01-2006, 15:09
Peter H Peter H is offline
Registered User
FRC #1606 (Dragons)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Oyster Bay NY
Posts: 21
Peter H is an unknown quantity at this point
Re: Labview keeps freezing

Quote:
Originally Posted by Joe Hershberger
That error means that you are overflowing the VISA serial buffer. That is why you get a partial frame before it fails. Are you using a slow computer? What kind of serial port? Are there any settings in the device manager's properties for your serial port that will allow you to increase the buffer that is used on the serial port?

I'll look at the code to see if there is anything that can be done to make the program less susceptible to the problem. One solution is to lower the Baud rate (which would need to be done both on the camera and in the application / MAX) but would make the frame grabbing even slower. Hopefully we can avoid having to do that.

Cheers!
-Joe
My laptop uses an Intel Premium M730, at 1.6 GHz, and 512 MB memory. I don't find any option in WinXP2 to increase the buffer size. The RS-232 serial port is built in to the mother board. No other app is running while LabView is running.

If this is a buffer size problem, why does it work more often than not? When I get a partial frame, it is anywhere from 10% to 90% of the full frame.
Reply With Quote