Go to Post "Take a man to a FIRST contest and he's entertained for three days. Teach a man to build a FIRST robot, and he's out of your hair for six weeks a year..." - kmcclary [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-03-2007, 20:30
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
GUI stopped working

I'll go ahead and admit off the bat that this problem is pretty bizarre. So, I am using a CMUCam2 with the Labview GUI. I was able to send about a dozen commands through the GUI... I even dumped a few frames. Now I can't get it to do anything. I've cycled power on the camera, and rebooted the computer. Nonetheless, anything I try to do is met with error -1073807339. What's weird is that if I connect to the camera in a terminal, everything works fine and looks fine. It also still does what it's supposed to with the "bells and whistles" code. Even more unusual is that I went through this same process years ago with totally different hardware and software. In 2005, I connected that year's CMUCam to a different computer, and used the Java GUI to dump some frames, move the servos, and such. Then, after a few minutes, it stopped working, and I could never get it to respond in the GUI again, even months later. Is there some kind of magic reset process that I need to do to be able to work with my camera in the GUI? Is this a common problem, or do I just have exceptionally bad luck?
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #2   Spotlight this post!  
Unread 31-03-2007, 00:05
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: GUI stopped working

To get rid of the error try increasing the serial port delay.. i forget what its called but its the number incrementer to the left of the error display box.. increase that and it should help solve the visa error
  #3   Spotlight this post!  
Unread 31-03-2007, 11:07
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: GUI stopped working

I have tried that, but it hasn't helped. Also, the error number that I'm getting is not the same as the error that it says the serial delay is meant to fix. Any other ideas?
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #4   Spotlight this post!  
Unread 31-03-2007, 12:04
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: GUI stopped working

Have you always had this problem, or did it just start happening.. you could try reinstalling labview. Also, are you sure you are using the latest GUI?
  #5   Spotlight this post!  
Unread 31-03-2007, 12:31
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: GUI stopped working

I installed Labview and downloaded the latest copy of the GUI yesterday. It worked for maybe fifteen minutes before giving up the ghost.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #6   Spotlight this post!  
Unread 08-04-2007, 01:09
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: GUI stopped working

Quote:
Originally Posted by jgannon View Post
I am using a CMUCam2 with the Labview GUI ... I was able to send about a dozen commands through the GUI ... Now I can't get it to do anything ... anything I try to do is met with error -1073807339.
Yeah, that's one messed up problem. The error code you provided is just a generic timeout code, you probably got it while waiting for the camera to respond to any number of commands.

Usually I see this when:

1. I have the camera hooked up to the RC via the TTL serial port AND to a laptop/desktop via the regular serial port. I don't know all the reasons why, but the camera cannot perform double-duty out of both serial ports at once. Just having them connected sometimes gives me that problem, whether I'm using it or not.

2. I have a low battery. The camera will sometimes not respond to queries when I have a low battery, or will take too long responding to queries (or the data from the query is not good).

3. The communications from the Camera to LabVIEW is noisy. Unfortunately the communications process isn't very forgiving - if there is any noise in the system and the program doesn't get back everything it expects, it may keep waiting for what it expected even if it shouldn't expect to receive it again. Replacing the serial cables and/or converter and/or other system parts may help.

4. My installed software is hosed. Yeah, sometimes I can't get LabVIEW/VISA/MAX to recongnize certain devices in my system, even when the drivers are loaded and running. Try downloading/installing NI-DAQ version 8.5 - there are always fixes/patches to software and it's a great way to clean up corruption.

5. Let the magic smoke out of my camera. Yeah, I did this once. Wasn't pretty. Learned to use proper power supplies from there on out.

6. A short in the system causes the camera to not respond to certain commands. We actually had this problem (with some other problems) 2 years ago - we had a servo that was bad connected directly to the camera. We could get the camera to respond to some commands, but on others it would just flip out or reset. Took us a while to figure out.

If you've got nothing connected to the camera except for power and the serial cable to the computer, and you know for a fact your power is good, and it still does not give you anything, it would be nice to know what command it's timing out on. If you can communicate via hyperterminal, can you verify that it responds properly to the most common portions of its command set?

Let me know if you want me to dig into this deeper, or if you'll be in Atlanta next week I can probably drop by a pit and check it out.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CMUCam GUI Marc@tnt280.com Programming 3 31-01-2007 18:29
Camera Working...then mysteriously stopped comwiz7 Programming 14 27-01-2007 12:11
Labview GUI Booger NI LabVIEW 3 11-08-2006 11:05
CMUcam2 GUI working with two cameras paula Programming 4 21-03-2006 10:25
To all Canadian FIRST teams stopped from going to Houston by your school board. Racer26 Off-Season Events 20 26-09-2003 17:54


All times are GMT -5. The time now is 19:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi