Go to Post The extra button could also just be a spare, but that's far less interesting than other possibilities, so let's keep speculating. - Caleb Sykes [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
  #16   Spotlight this post!  
Unread 14-01-2006, 21:00
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: Labview problems and code problems

Quote:
Originally Posted by Ryan O
I'm not sure if I need the Labview drivers for the camera. the disk got scracthed and I can't install the them. Do I need them? If I do, where can I get them? Any help would be great. Thanks for the help with the COM ports, by the way. I was able to get them working using your tips.

YES -- you need to install the NI-VISA software off the Driver CD #1. Otherwise serial will not work.
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
  #17   Spotlight this post!  
Unread 15-01-2006, 15:46
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 problems and code problems

Quote:
Originally Posted by jdong
YES -- you need to install the NI-VISA software off the Driver CD #1. Otherwise serial will not work.
You can also get NI-VISA here.

-Joe
  #18   Spotlight this post!  
Unread 16-01-2006, 14:00
cmurdoch cmurdoch is offline
Registered User
AKA: Caroline Murdoch
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: O'Fallon, IL
Posts: 17
cmurdoch is on a distinguished road
Re: Labview problems and code problems

ok new problem. The mount assembly instructions show the camera mounted with the power switch toward the bottom. I was able to successfully grab frame using last year's GUI program, but now that I'm using the Labview GUI, the frames are upside down. Why? Is the camera supposed to be mounted the other way?
  #19   Spotlight this post!  
Unread 16-01-2006, 15:24
Excelsior's Avatar
Excelsior Excelsior is offline
Electrical Head
AKA: Alex Hughes
None #1208 (Metool Brigade)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2003
Location: O'Fallon
Posts: 30
Excelsior is on a distinguished road
Send a message via AIM to Excelsior
Re: Labview problems and code problems

It's problems like these that make me glad to be Electrical. Good luck to you all.
__________________
Team 1208
The Metool Brigade
Three Hours Short of Going Insane

0=====<(' '<) <( ' ' )> (>' ')>=====0
  #20   Spotlight this post!  
Unread 16-01-2006, 15:42
cmurdoch cmurdoch is offline
Registered User
AKA: Caroline Murdoch
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: O'Fallon, IL
Posts: 17
cmurdoch is on a distinguished road
Re: Labview problems and code problems

I've reversed the way the camera is mounted and now it will track correctly vertically but the tracking is backward horizontally. I seem to recall reading something about jumpers that invert the tracking but I don't remember where. Please Help.

Thanks
  #21   Spotlight this post!  
Unread 16-01-2006, 16:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labview problems and code problems

Quote:
Originally Posted by cmurdoch
I've reversed the way the camera is mounted and now it will track correctly vertically but the tracking is backward horizontally. I seem to recall reading something about jumpers that invert the tracking but I don't remember where. Please Help.

Thanks
In this image the jumper position to reverse the servo action is listed at the bottom as "Pan Reverse". You need to add a little suitcase jumper to connect the two pins there.
Attached Thumbnails
Click image for larger version

Name:	CMUCam2_CameraBoard.jpg
Views:	56
Size:	73.6 KB
ID:	3827  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-01-2006 at 16:20.
  #22   Spotlight this post!  
Unread 16-01-2006, 16:29
double_check's Avatar
double_check double_check is offline
Registered User
AKA: Amanda
FRC #0692 (The Fembots)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Sacramento, CA
Posts: 12
double_check is an unknown quantity at this point
Send a message via AIM to double_check Send a message via MSN to double_check Send a message via Yahoo to double_check
Re: Labview problems and code problems

We are getting an error message that reads "The application is closing because of a reported error. You should confirm that the correct serial port has been selected. You should confirm that the camera has power and is connected to the PC via serial cable." Does anyone have any idea how to fix it? We have the CMUCam 2 demo up and the GUI file among others. We have NI-VISA is loaded so that is not our problem. Help, please.
__________________
2003 UC Davis Regional Winner
2003 UC Davis Motorola Quality Award
2003 UC Davis Daimler Chrysler Spirit Award
2005 UC Davis Quarter Finalists
2005 UC Davis Daimler Chrysler Spirit Award
2006 UC Davis Imagery Award

"Normal is only a setting on washing machines and dishwashers." - Anonymous
  #23   Spotlight this post!  
Unread 17-01-2006, 01:07
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 problems and code problems

Quote:
Originally Posted by double_check
We are getting an error message that reads "The application is closing because of a reported error. You should confirm that the correct serial port has been selected. You should confirm that the camera has power and is connected to the PC via serial cable." Does anyone have any idea how to fix it? We have the CMUCam 2 demo up and the GUI file among others. We have NI-VISA is loaded so that is not our problem. Help, please.
If you get that message, then an error cluster popped up on the upper right side of the screen. Please post what that error is... Both the error number and the message. Most often it's because you didn't pick the correct serial port from the dropdown box on the upper left. The other notes in the error message apply as well. What have you tried / verified?

Good luck!
-Joe
  #24   Spotlight this post!  
Unread 17-01-2006, 01:10
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 problems and code problems

Quote:
Originally Posted by cmurdoch
I've reversed the way the camera is mounted and now it will track correctly vertically but the tracking is backward horizontally. I seem to recall reading something about jumpers that invert the tracking but I don't remember where. Please Help.

Thanks
The camera definitely should be mounted with the power switch up. I think the instructions are probably an intentional typo to keep you on your toes. Kind of like the incorrect motor specs of previous years. Don't trust blindly... verify and validate. Always check for sanity in the information you are given.

Good luck!
-Joe
  #25   Spotlight this post!  
Unread 17-01-2006, 01:22
b_mallerd b_mallerd is offline
Programmer
FRC #1346 (Trobotics)
Team Role: Programmer
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Vancouver
Posts: 35
b_mallerd is on a distinguished road
Send a message via MSN to b_mallerd
Re: Labview problems and code problems

Did you check that your camera actually has power? We were stuck for a while because we didn't know you had to hook up the main battery and the pwm out ports were not giving any juice. The camera have led's to tell that it's on. Also, you might want to make sure that your ttl port is disconnected. The ttl and the serial are mutually exclusive (You can only plug in one or the other). Lastly, make sure you have the right serial port...Go right click on my computer, properties, hardware, device manager. Then go to the expandable tree for serial devices or sumthin and check that you have the right COM port.

Unfortunately i know all this from experience
__________________
  #26   Spotlight this post!  
Unread 18-01-2006, 17:07
cmurdoch cmurdoch is offline
Registered User
AKA: Caroline Murdoch
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: O'Fallon, IL
Posts: 17
cmurdoch is on a distinguished road
Re: Labview problems and code problems

Ok now we have the labview application and the tracking is working beautifully (it's even tracking green now not white like it used to be). The default code is working without a hitch and it's searching and returning values to the screen like it's supposed to. But... oh yes there's always a but... I can't get it to actively track using the default code. I've found the code that causes it to track (tracking.c... hooray for logical naming) but I can't find where that code is initialized or how to get it to run. I'd also like to know how to retrieve the tilt and pan values so I can actually put them to use in the program. I might be missing something really obvious, but I'd appreciate some help.

Thanks
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
Out of the Box Camera Code russell Programming 9 21-10-2009 05:28
Code problems doyler Programming 14 15-02-2005 16:23
Wierd gyro code problems...pls help Salik Syed Programming 4 14-03-2004 01:29
IR reflective (tape) sensor code problems Argoth Programming 8 07-02-2004 21:32


All times are GMT -5. The time now is 01:52.

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