Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Problem with a cRIO project (http://www.chiefdelphi.com/forums/showthread.php?t=99213)

Ja3 03-01-2012 10:47

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?????

Mark McLeod 03-01-2012 12:00

Re: Problem with a cRIO project
 
1 Attachment(s)
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).


All times are GMT -5. The time now is 23:41.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi