Go to Post I'm going to go out on a limb and say that we have to displace objects and/or robots in order to score points. - pfreivald [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 04-02-2009, 10:09
Mr. E Mr. E is offline
Its physics or stamp collecting
FRC #1883
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 38
Mr. E is an unknown quantity at this point
Default code

Our default code in LabVIEW has become....violated....How do I get the default code back? Do I have to reinstall LabVIEW from the CDs and then install the updates? Will someone please say no because that was not a short process.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2009, 10:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,713
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: Default code

Do you mean the Advanced and/or Basic Framework or some examples?

You should be able to recover those original files, not from the original installation disks, but from another installation.
Any particular vi's that were corrupted?
I'll go look for them...

P.S.
The Frameworks are defined in:
C:\Program Files\National Instruments\LabVIEW 8.5\resource\plugins\NewDialogFiles\ProjectWizards \FRC\FRC Templates

The Examples are in:
C:\Program Files\National Instruments\LabVIEW 8.5\examples\FRC

What do you need?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-02-2009 at 10:30.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2009, 10:33
Mr. E Mr. E is offline
Its physics or stamp collecting
FRC #1883
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 38
Mr. E is an unknown quantity at this point
Re: Default code

The Basic robot main VI and the watchdog VI.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2009, 10:41
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,713
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: Default code

Here's the Basic Robot Main vi.
It goes in: C:\Program Files\National Instruments\LabVIEW 8.5\resource\plugins\NewDialogFiles\ProjectWizards \FRC\FRC Templates\Basic Robot

The WatchDog vi's should be in a WPI library (WatchDog.lvlib) I think.
This is the entire contents of: C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Robotics Library\WPI\Watchdog

Some WatchDog vi's are hard or impossible to get to, for instance, FeedWatchDog.vi in:
C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Robotics Library\NIFPGAInterface\WatchDog is password protected.

Note that these are as of Update 3a. I'll probably remove these attachments after you've picked them up, just so there is no confusion or conflict with later Updates.

Removed for the prevention of versionitis.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-02-2009 at 21:31.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2009, 11:15
Mr. E Mr. E is offline
Its physics or stamp collecting
FRC #1883
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 38
Mr. E is an unknown quantity at this point
Re: Default code

Just got em. Thanks Mark. A little installing and reimaging and we should be good as new.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2009, 12:46
Greg McKaskle Greg McKaskle is online now
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: Default code

You should really just need to run the wizard from the launch screen or the New... again. Hopefully that will give you a clean start. If you go to the template location beware that there is a Real VIs folder that the wizard copies over the ones in the Advanced or Basic folder. The reason has to do with a workaround for FPGA and projects and Save As.

Anyway, I hope you get a clean copy, otherwise post again.

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
Problems integrating CMUCAM code and IFI Default Code Windward Programming 2 06-02-2007 16:48
Modified default code gives "code violation" scottmso Programming 8 10-02-2006 23:17
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
user code to default code phoenixomega001 Programming 5 09-01-2005 00:09
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12


All times are GMT -5. The time now is 08:05.

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