Go to Post This is probably one of the most important robots in FRC history and it never even was in an official event. - gyroscopeRaptor [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-02-2010, 21:44
Egg 3141592654's Avatar
Egg 3141592654 Egg 3141592654 is offline
Now a mentor, always a student
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Long Island
Posts: 53
Egg 3141592654 is on a distinguished road
Weird missing files during build?

Forum,
Naturally, once the code works, it breaks in a whole new way. Today I tried to build my code to deploy new Autonomous code; however, the build process required vis which I have never seen in the Main code before. These files are:
- Set Low Priority Dashboard Data.vi
- Set High Priority Dashboard Data.vi

The project example is the one in which the live image feed from the camera is preset into the project (if that has anything to do with it). Isn't it awful when perfectly good code just stops working?

Pre-thanks for the help from Team 810
__________________
"The answers to the book of life are not found in the back." Charlie Brown

Software Mentor - Team Apex Robotics 5803

Lead Programmer - Team 810 Mechanical Bulls '09-'11
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2010, 04:20
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,748
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: Weird missing files during build?

Those VIs are part of the DriverStation.lib. They should be in the palettes in the lower left subPalette of WPILib.

There is a strange issue with RT and unreachable code where the compiler sometimes takes out code inside of a switch or code which has a constant expression wired to it. But later when the files are ready for download, another part of the compiler gets confused because it cannot find some of the files it believes it needs.

If you open Robot main, the default code was calling it with the vision target globals. If you right click and Find all Instances, it will show you where the code uses the High Priority subVI. This may help locate all the locations.

If you do have an issue with the constant wired to the switch, you can instead use the Diagram Disable structure, basically the comment structure.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2010, 16:41
Egg 3141592654's Avatar
Egg 3141592654 Egg 3141592654 is offline
Now a mentor, always a student
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Long Island
Posts: 53
Egg 3141592654 is on a distinguished road
Re: Weird missing files during build?

That is initially what i assumed as well; however, it is not there. Was there some update that I missed besides the first update? My choices are as follows in the DriverStation library under WPIRobotics Library:

- START/STOP communications
- Get Alliance/Digout/DigIn/GetAnologIn
- Set DigOut/UserData
__________________
"The answers to the book of life are not found in the back." Charlie Brown

Software Mentor - Team Apex Robotics 5803

Lead Programmer - Team 810 Mechanical Bulls '09-'11
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2010, 19: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,748
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: Weird missing files during build?

If you are missing updates, the Getting Started window tries to help with that.

From what you describe in the palette, it sounds like the computer you are on has not been updated.

Greg McKaskle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing I/O files! EncodersRUS Programming 3 19-01-2010 12:19
Missing files in labview DynamiteHack NI LabVIEW 5 22-09-2009 15:10
Missing Files? Garii NI LabVIEW 7 27-02-2009 14:00
Error during build Derek Allen NI LabVIEW 0 15-02-2009 15:49
Missing files [527]phil Inventor 8 10-05-2006 10:20


All times are GMT -5. The time now is 04:24.

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