Go to Post I would like the game to be called Sanity. Just for irony's sake. - Keri Lynne [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition > LabView and Data Acquisition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2007, 21:08
petek's Avatar
petek petek is offline
What would Dave do?
AKA: Peter Kieselbach
FRC #3654 (Tech Tigers)
Team Role: Mentor
 
Join Date: May 2002
Rookie Year: 2002
Location: Middletown, CT
Posts: 923
petek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond repute
Send a message via AIM to petek
CMUcam2 GUI on a Mac

I was playing around trying to see if the CMUcam2 GUI vi would run on LabView on a Mac and got it to connect to the camera, but it doesn't seem to do much more. Has anyone gotten this to work?

The CMUcam2 is connected via a KeySpan USB:serial adapter and I can send & receive using Screen from the Terminal. I used NI-VISA Configuration to configure the serial port and when I run CMUcam2 GUI, it displays the camera firmware version, but when I click Grab Frame, it starts downloading, the Download Progress bar completes and then starts over again. It does not display an image from the camera.

During the first download cycle the red LED on the CMUcam flashes, but after the Download Progress bar completes, the LED goes off and stays off. Also, clicking the Close button has no effect, except that the button turns black. Uploading camera config settings seems to work, or at least it displays a confirmation dialog.

Any suggestions for where to start looking for problems? I've tried changing baud rate with no effect. I'm using LabView 8.01 Student from last year's KOP on a Mac Tibook.

Yeah, I know - I could use a PC and it would work just fine, but where would be the fun in that? I wanted to beat my head against this wall just to see if I can make it work (the camera, that is - my head is way past working properly, obviously!).
__________________
Pete Kieselbach
#4


Last edited by petek : 18-01-2007 at 22:23. Reason: A little more data
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2007, 00:50
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: CMUcam2 GUI on a Mac

I assume you've got all the patches for the software? The behavior you describe is eerily suspicious of some problems that Joe fixed in the code last year where the serial port was receiving incomplete packets but the code wasn't detecting it correctly. If you don't have all of the patches, I'd recommend checking out this post. If you do have all the patches, the Mac may have uncovered additional problems in the serial code that we have yet to debug/fix... Let me know which case is more likely and I'll see if Joe has some time to look into the problem.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2007, 19:27
petek's Avatar
petek petek is offline
What would Dave do?
AKA: Peter Kieselbach
FRC #3654 (Tech Tigers)
Team Role: Mentor
 
Join Date: May 2002
Rookie Year: 2002
Location: Middletown, CT
Posts: 923
petek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond repute
Send a message via AIM to petek
Re: CMUcam2 GUI on a Mac

That last update to the CMUcam2 demo.llb took care of the problem. The camera is talking nicely with my Mac now. Thanks, Danny!

Now, to see what makes this stuff tick - and see how quickly I can break it.
__________________
Pete Kieselbach
#4

Reply With Quote
Reply


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
CMUCam2 GUI, modified for FIRST heydowns Programming 9 30-03-2006 23:06
LabView CMUcam2 gui drakesword LabView and Data Acquisition 6 28-01-2006 17:06
CMUCam2 GUI Tilt Question Idaman323 Programming 3 27-01-2006 02:01
CMUcam2 LabVIEW GUI problems StevenB Programming 1 21-01-2006 03:08
CMUcam2 GUI Program nukem Programming 4 15-01-2006 03:19


All times are GMT -5. The time now is 00:17.

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