Go to Post Wait, does this mean TV isn't real? I'm shocked and appalled. - s_forbes [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 21-01-2014, 17:46
DarthMaulCIS DarthMaulCIS is offline
Registered User
FRC #4607
 
Join Date: Jan 2014
Location: Becker, Minnesota
Posts: 24
DarthMaulCIS is an unknown quantity at this point
Errors When Deploying to Simulator

"Block Diagram Errors
Wire connected to an undirected tunnel.
This wire connects one or more data sinks but has no source."
This shows up when I try to deploy my code to the simulator. I think it is because I have code in my begin that I don't have corresponding pieces to in teleop, but I'm not sure. I can email you guys our code so far if you want to help.
Attached Thumbnails
Click image for larger version

Name:	problem.png
Views:	38
Size:	123.2 KB
ID:	15897  
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2014, 18:14
AGPapa's Avatar
AGPapa AGPapa is offline
Registered User
AKA: Antonio Papa
FRC #5895
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Robbinsville, NJ
Posts: 323
AGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond repute
Re: Errors When Deploying to Simulator

The broken wire indicates that "error out" from begin.vi is missing. Copy an error cluster from another vi and paste it into begin.vi. Then change it to an indicator and hook it back up the VI's terminal.

This is what the front panel of your begin.vi should look like.
Attached Thumbnails
Click image for larger version

Name:	Begin.vi.JPG
Views:	27
Size:	53.1 KB
ID:	15900  
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]

Last edited by AGPapa : 21-01-2014 at 18:27. Reason: Added picture
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2014, 22:55
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,112
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: Errors When Deploying to Simulator

You didn't delete any of the code connected to the original Joystick Open from Begin.vi, did you? That'll break Robot Main. There really should be something on the block diagram labeling that "error out" indicator as an essential component of the framework.

Follow the previous post's directions to add it back in, and things should work again.
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2014, 17:20
DarthMaulCIS DarthMaulCIS is offline
Registered User
FRC #4607
 
Join Date: Jan 2014
Location: Becker, Minnesota
Posts: 24
DarthMaulCIS is an unknown quantity at this point
Re: Errors When Deploying to Simulator

Thanks guys, I borrowed another begin.vi and started it fresh. Working now. And I didn't know that error out was important. my bad.
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 09:50.

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