Go to Post Can I help it if I check Chief Delphi before I look at the Team Updates? - Al Skierkiewicz [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 09-02-2012, 17:39
rivasm rivasm is offline
Registered User
FRC #2556 (RadioActive Roaches)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Niceville, Florida
Posts: 12
rivasm is an unknown quantity at this point
Exclamation Labview Target Info Broken Wire in Vision Processing

Vision processing to get the camera to detect the reflective tape and the distance from the camera has proven to be a difficult task. We have continued getting errors from the vision processing in the diagnostics of our driver station, and cannot seem to communicate distance whatsoever. I have found in several threads to copy and paste the example rectangular target processing code into the vision processing vi. Attempting that, we got one particular error, which is attached in the first attachment. Any help with this is very very appreciated, especially if there are screenshots
Attached Images
File Type: bmp target_info.bmp (959.9 KB, 32 views)
File Type: bmp target_info_pt_2.bmp (946.2 KB, 18 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2012, 18:36
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Target Info Broken Wire in Vision Processing

The issue is that your code is trying to write to a global variable called Target Info, but no variable has been declared. The tutorial that goes with the example code actually recommends that you use Save As with Dependencies. That will overwrite the Vision Processing VI in a manner similar to your edit, AND it will overwrite the Robot Global, adding the Target Info declaration. You can also do this by hand by opening the Robot Global in both projects and adding the control from the example to the file in your robot project.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2012, 21:55
rivasm rivasm is offline
Registered User
FRC #2556 (RadioActive Roaches)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Niceville, Florida
Posts: 12
rivasm is an unknown quantity at this point
Re: Labview Target Info Broken Wire in Vision Processing

Quote:
Originally Posted by Greg McKaskle View Post
The issue is that your code is trying to write to a global variable called Target Info, but no variable has been declared. The tutorial that goes with the example code actually recommends that you use Save As with Dependencies. That will overwrite the Vision Processing VI in a manner similar to your edit, AND it will overwrite the Robot Global, adding the Target Info declaration. You can also do this by hand by opening the Robot Global in both projects and adding the control from the example to the file in your robot project.

Greg McKaskle
Oh, wow, that's a pretty simple solution. There's a tutorial? Any links you can give me, perhaps?
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2012, 08:31
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Target Info Broken Wire in Vision Processing

The launch screen or View>>Getting Started Windows has four tabs, one is Tutorials, #8 is about vision.

Greg McKaksle
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


All times are GMT -5. The time now is 22:10.

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