Go to Post Well our closest regional is a Hawaii, it's a bit hard for us to drive 8000km (5000 miles) across the pacific... - timytamy [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 06-02-2013, 18:06
2144 2144 is offline
Registered User
FRC #2144
 
Join Date: Feb 2012
Location: Ca.
Posts: 5
2144 is an unknown quantity at this point
Exclamation wires to RobotMode broken when adding in Vision Processing

Hi fellow engineers, I have had issues with adding in vision processing from RectangularTarget.vi into my code for this years robot.

I followed their instructions that are given in the RectangularTarget.vi and created a duplicate folder, and then pasted it into my Labview Code, however when I do so, it breaks the wiring in Robot Main.vi from DrvrStn Get Mode to Robot Mode above the case structure. When I try to rewire it, it says that I have the wrong type of wire. It does the same thing in the Begin.vi with the wire between the mode selector and the Robot Mode.

In short, replacing my code with the visual programming folder breaks wiring in the Begin.vi and Robot Main between the mode selector and DvrvStn Get Mode, respectively.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2013, 19:56
Lemons's Avatar
Lemons Lemons is offline
Registered User
AKA: Gooby
FRC #2383 (Ninjineers)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Plantation, Florida
Posts: 5
Lemons is an unknown quantity at this point
Re: wires to RobotMode broken when adding in Vision Processing

So Im assuming yours looks something like this?

Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2013, 22:00
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: wires to RobotMode broken when adding in Vision Processing

What VI did you paste the vision code into?

Rectangular Target.vi without a 2013 in the name sounds like it might be last year's sample vision code. Where did you get it?
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2013, 22:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,834
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: wires to RobotMode broken when adding in Vision Processing

Did you delete anything where you tried to paste the new code into?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2013, 10:04
mswalker mswalker is offline
Mentor
FRC #2583 (Westwood Robotics)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 26
mswalker is on a distinguished road
Re: wires to RobotMode broken when adding in Vision Processing

Following the Tutorial 8 instructions for incorporating the 2013 example vision code into a new project overwrites Robot Global Data.vi. The example Robot Global Data doesn't have the Robot Mode in it. I ended up opening another 2013 project and copying the missing enum for Robot Mode back into the Robot Global Data.vi.
__________________
http://team2583.org

Last edited by mswalker : 07-02-2013 at 10:30.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-02-2013, 23:55
2144 2144 is offline
Registered User
FRC #2144
 
Join Date: Feb 2012
Location: Ca.
Posts: 5
2144 is an unknown quantity at this point
Re: wires to RobotMode broken when adding in Vision Processing

To Lemons, only the wiring between DrvrStn Get Mode and Robot Mode are broken, I'm at home now, but I believe all the other wiring is fine, except the wiring in begin.vi where the wire connecting to Robot Mode is also broken.

Alan Anderson, I pasted the 2013 Rectangular Target into my code for this year. I followed the description in the Rectangular Target 2013 to duplicate part of the code and import (paste) it into my project for this year. I put the contents of the Visual Processing folder it created, into where the rest of my project was. (also contained the rest of the Vi's that are in my code.)

Mark McLeod, it gave me the option to replace or rename the new files when pasting them into this years code, I did not delete anything, only replaced them with the files from vision processing.

mswalker, can you link to "Tutorial 8" please? Also what is an enum? Somehow I never thought to copy the Robot Mode from another 2013 project, I'll try that when I get to school tomorrow, thanks for the great idea. We have a tiny team this year (~4 or 5 people, 6 including a parent and a teacher) so I have been occupying myself with writing and understanding the autonomous code until this works.
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:58.

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