Go to Post I need to start sleeping now to make up for build season - Kingofl337 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 25-01-2010, 11:04
Igor1201's Avatar
Igor1201 Igor1201 is offline
Registered User
FRC #1382 (ETEP Team)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Brazil
Posts: 5
Igor1201 is an unknown quantity at this point
Get Image problems

On the LabVIEW's Default 2010 Robot Project, the "Get Image" VI doesn't work. I mean, it works on the first time you run the program. But, if you stop it and run it again, the program stucks in this VI.
Have anyone had the same problem? Or it's our configuration? I don't know.
__________________
@Team1382
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2010, 00:11
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Get Image problems

Quote:
Originally Posted by Igor1201 View Post
On the LabVIEW's Default 2010 Robot Project, the "Get Image" VI doesn't work. I mean, it works on the first time you run the program. But, if you stop it and run it again, the program stucks in this VI.
Have anyone had the same problem? Or it's our configuration? I don't know.
I'd have to go take a deeper look to fully answer your question, but it's late, so I'll start with a simple thought:

In general, when you stop LabVIEW VIs/programs you ought to use the button provided by the programmer (if there is one--the button, not the programmer). In other words, don't use the stop sign in the LabVIEW toolbar to abort the execution if you can help it. The reason for this is the programmer, hopefully, has written the program to clean up after itself (like closing all the references to things), whereas aborting may or may not manage to clean all these references up when you abort. NI is pretty good about keeping things stable, but LabVIEW won't be able to clean up everything magically all the time when you use that abort button.

In the case of the FRC, this means that you should try to use the Finish button on the Robot Main to stop the program when possible. This may, or may not help your problem with the Get Image.vi.
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
Adjusting Camera Code to get Better Image Robopanda6 NI LabVIEW 1 31-01-2009 18:55
How to filter the corners in image to get mouth corners only? tommy_chai Programming 3 20-11-2007 13:22
Image Problems cprogrammer Programming 5 03-02-2007 23:44
**FIRST EMAIL**/Get Ready...Get Set...Triple Play Begins! Rich Wong FIRST E-Mail Blast Archive 0 01-03-2005 22:33
Image Discuss: FESTO Problems CD47-Bot Extra Discussion 3 16-02-2003 10:57


All times are GMT -5. The time now is 11: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