Go to Post If you want something done about it, than do something about it. - Tetraman [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-01-2012, 10:47
Ja3 Ja3 is offline
Registered User
FRC #3137
 
Join Date: Dec 2011
Location: Connetquot High School
Posts: 5
Ja3 is an unknown quantity at this point
Problem with a cRIO project

I have been trying to create a cRIO project, everything is created fine but when I try to upload it into the robot it says there is a break in the main.vi and when I enter into the main.vi block diagram there is no break what should I do?????
  #2   Spotlight this post!  
Unread 03-01-2012, 12:00
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,854
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: Problem with a cRIO project

Errors often report Robot Main just because it calls everybody else. Robot Main is essentially your program that's made up of a bunch of sub-vi's. Take a look at the vi's you've modified from the default baseline to see if any of those front panel arrows are broken. The most likely candidates are: Begin.vi and Teleop.vi.


Are you using the Run arrow from the Robot Main.vi front panel?
or
Are you using Build/Run as Startup

Perhaps a screen shot of the particular error message or posting a zip of the project so we can help you find the error...

Break (as opposed to "The VI is broken") might refer to a program breakpoint in execution accidentally inserted into a sub vi like Teleop, but that's only effective when using the Run arrow. Breakpoints show up in the code as a red dot on a data flow wire as in the attached (red dot on the axis 2 (y) output wire).
Attached Thumbnails
Click image for larger version

Name:	Breakpoint.jpg
Views:	22
Size:	12.9 KB
ID:	11270  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-01-2012 at 13:24.
Closed Thread


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 19:04.

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