Log in

View Full Version : CMUcam2 LabVIEW GUI problems


StevenB
20-01-2006, 20:48
I am trying to hook up the CMUcam2 to the LabVIEW GUI. I can talk to the camera in HyperTerminal fine. I have installed VISA, and set the serial port settings. When I try to run the GUI, I get error code: -1073807252
It says the source is: VISA Read in query for result from serial port.vi->CMUcam2.vi->CMUcam2 GUI.vi
Any suggestions as to what is wrong?

Joe Hershberger
21-01-2006, 03:08
I am trying to hook up the CMUcam2 to the LabVIEW GUI. I can talk to the camera in HyperTerminal fine. I have installed VISA, and set the serial port settings. When I try to run the GUI, I get error code: -1073807252
It says the source is: VISA Read in query for result from serial port.vi->CMUcam2.vi->CMUcam2 GUI.vi
Any suggestions as to what is wrong?
That error code means you got a buffer overrun (the application didn't read the data out of the buffer fast enough).

What function were you trying to perform? Were you just starting the application or were you trying to do something at the time such as grab a frame or track something?

What kind of serial port are you using? Is it a USB to serial converter?

How slow is the computer you're using? :yikes:

If you go into MAX (Measurement and Automation eXplorer), find your com port, and click on the test panel, you should see a tab called property node. Under property node, select Maximum Queue Length and let me know what it says for current value.

I use a USB 2.0 serial converter that buffers 50 bytes and I have no problems with the current code.

-Joe