Go to Post Although I have much yet to go, in my short time in FIRST I have learned there is no such thing as a waste of time, especially when a) fundraising, b) mentoring students, or c) reading directions. - Amanda Morrison [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 12-01-2013, 19:04
atucker4072's Avatar
atucker4072 atucker4072 is offline
Andrew Tucker
AKA: Andrew Tucker
FTC #4968 (Rapid Robotics)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Glenwood Springs, Co
Posts: 152
atucker4072 has a spectacular aura aboutatucker4072 has a spectacular aura aboutatucker4072 has a spectacular aura about
Integrating Vision Example Into Robot Project

I am attempting to integrate my edited vision example into our robot project. I am following the tutorial from National Instruments to integrate examples. But when I get to saving it I am not sure where to save it. It says the robot project directory and click current folder. That is where I get lost. Any help would be much appreciated!
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2013, 19:40
Ido_Wolf's Avatar
Ido_Wolf Ido_Wolf is offline
LabVIEW Addict
AKA: Ido
FRC #2230 (General Angels)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Israel
Posts: 42
Ido_Wolf is an unknown quantity at this point
Re: Integrating Vision Example Into Robot Project

Your robot code is typically in C:\Documents and Settings\usernamehere\My Documents\LabVIEW Data\projectnamehere.

Open the Vision example, press File > Save as, choose the option to duplicate .lvproj and its objects (only saving the SubVI you worked on MAY work on other, very small FRC examples, but in Vision's case it's very dependent on other files in the project). Navigate to the path I've mentioned above (unless you changed it when you created the robot code).

Once you've saved it, open your robot project and drag the Vision Processing VI to Robot Main VI. Wire it properly if needed, make any other necessary adjustments to the code and you're done.

Rectanglular-shapes Vision Processing example features both a SubVI designed to use on a PC (from the Dashboard), and a SubVI designed to run on the robot. Since you intended to use the version designed from the robot and it's usually the easier option for the average programmer, make sure you use that one when dragging the SubVI to Robot Main.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2013, 20:01
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,751
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: Integrating Vision Example Into Robot Project

Whenever you want to see which files are being referenced by your project, to to the project window and click on the Files tab. It will show the location the files are coming from. If they aren't where you want them, you can right-click and Move on Disk...

In general, I would copy the example to a new location either under my project folder, or merged with my project folder. Then I'd drag the files I was going to use from that location in a Windows File Explorer window to the LV project window or directly to the LV diagram you want to call the VI.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 13-01-2013, 15:48
atucker4072's Avatar
atucker4072 atucker4072 is offline
Andrew Tucker
AKA: Andrew Tucker
FTC #4968 (Rapid Robotics)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Glenwood Springs, Co
Posts: 152
atucker4072 has a spectacular aura aboutatucker4072 has a spectacular aura aboutatucker4072 has a spectacular aura about
Re: Integrating Vision Example Into Robot Project

Thank You for the help it is much appreciated.
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 10:55.

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