Go to Post [You know you've overdosed on FIRST when...] When you discover that the cure to the swine flu is "oink oink BOOM!" - Katie_UPS [more]
Home
Go Back   Chief Delphi > Technical > National Instruments 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 26-01-2008, 23:35
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 746
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Labview CMUCam2 GUI Serial Drop Out Problems

I've got a weird problem with communication with the CMUCAM.

I've got a DELL D820 Laptop, Windows XP PRO, and a "real com port". COM1 to be exact.

I loaded NI 8.5 today on my laptop for the first time and loaded up the CMUCAM GUI software from 2006.

When I try and do frame grabs or tracking, the serial communications to the camera times out randomly. It's quite annoying...I dunno why it does this.

We have an OLD, OLD Dell Optiplex desktop machine, Windows 2000 Pro, and I can connect to the CMUCAM no problems, no serial port time outs at all.

But I am getting these serial port time outs on my laptop.

I've done the following:
1. NI 8.5 (from the KOP 2008)
2. NVISTA (serial port driver is installed) from the KOP 2008
3. I have a "real" serial port, no USB>serial garbage here
4. I set my serial port in PORT/LPT to 115,000
5. I tried three different cables, and the shortest one I could find, about 10 feet
6. I unconnected the TTL PWM while I am connected to the DB-9 port on the CMUCAM.
7. I am running Windows XP PRO, not vista...
8. I can talk to the camera all day long, and track data on the camera with NI 8.5 loaded on a slower machine.

Why would my new Dell D820 Laptop drop serial communications all the time?

IS there some timeout setting I can adjust somewhere so it won't timeout so quickly? Thanks
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2008, 03:59
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: Labview CMUCam2 GUI Serial Drop Out Problems

Unfortunately you've given me every single piece of information that you could possibly give me EXCEPT the error that you're getting. Is there a specific error message in the dialog box that you're seeing?

Slow machine working versus fast machine not working screams a race condition somewhere. If you can give me a little more info (a screen capture would be better) I might be able to help you.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2008, 06:53
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 746
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: Labview CMUCam2 GUI Serial Drop Out Problems

Sorry took me a bit to get back online...

As you can see, I start to do a frame grab, and it starts to grab the image, then quits. I get the following two errors, screen 1 and screen 2.

I've tried ASRL1 setting for com, and actually selecting COM 1 in the pull down, it's no difference.

Screen 3 is a good frame grab, then if I click on tracking, that's screen 4, it tracks for a few seconds, then the serial errors out.

Again, it doesn't do this on the slower PC, just my Dell D820 laptop. The D820 has a built in COM port. It's the Latitude series.

EDIT:
Also, we use a CUSTOM circuit, a 7.2 volt charger which converts 12 VOLTS to 7.2 VOLTS to the camera. The power to the camera remains good.
Attached Thumbnails
Click image for larger version

Name:	screen-001.jpg
Views:	116
Size:	70.8 KB
ID:	6169  Click image for larger version

Name:	screen-002.jpg
Views:	76
Size:	72.5 KB
ID:	6170  Click image for larger version

Name:	screen-003.jpg
Views:	77
Size:	71.9 KB
ID:	6171  Click image for larger version

Name:	screen-004.jpg
Views:	81
Size:	74.2 KB
ID:	6172  
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
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
Serial Communication Problems with LabVIEW FRC Toolkit Jon236 LabView and Data Acquisition 1 28-12-2006 11:57
LabView CMUcam2 gui drakesword LabView and Data Acquisition 6 28-01-2006 17:06
CMUcam2 LabVIEW GUI problems StevenB Programming 1 21-01-2006 03:08
Problems tracking with CMUCam2 in LabVIEW PhilBot LabView and Data Acquisition 5 17-01-2006 20:42
CMUcam2 GUI Program nukem Programming 4 15-01-2006 03:19


All times are GMT -5. The time now is 18:29.

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