Go to Post .. if no one gets ahead no one gets left behind. - Koko Ed [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 01-03-2010, 10:01
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Viewing vi files

My team was having trouble with code running a bit slow. I am an alumni now, so I don't have access to the Classmate PC nor the NI install disk. Is there any way for me to be able to look through the code files and see if I (or some people I know who are really good at making code run crazy fast) can improve it a little. I can run either Debian testing or Windows 7.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-03-2010, 12:10
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: Viewing vi files

Nested loops in nested loops are very demanding on the cRIO. Check and see if there are a lot of loops nested in the if statements. Either that or your programmers forgot to reclose everything they added, which could affect the performance (not too sure about that though). I mainly think that there are too many loops.
__________________
"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
  #3   Spotlight this post!  
Unread 01-03-2010, 12:53
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 134
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Viewing vi files

What are your loop times?

Have you tried using this to test your loop times?

Have you tried doing this to improve loop timing?
Reply With Quote
  #4   Spotlight this post!  
Unread 01-03-2010, 23:02
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Re: Viewing vi files

I don't know exactly how anything works at the moment. That is what I want to see. Since I couldn't be at the build sessions most of the time, I couldn't see how the code works. All I have at the moment are copies of code I can't open. I hear our ME department here has labview on all their computers. I will try to open it on one of them as soon as I can. Something tells me without the first libraries it won't work though.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-03-2010, 12:50
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: Viewing vi files

Quote:
Originally Posted by dpeterson3 View Post
...I don't have access to the Classmate PC nor the NI install disk. Is there any way for me to be able to look through the code files...
Without the disks, I'd say you're out of luck. You have to install LabVIEW for FRC in order to get the WPI library. Without it, you probably won't be able to do anything useful.

Quote:
I can run either Debian testing or Windows 7.
LabVIEW for FRC seems to work okay under Windows 7 once installed, though actually installing it has not been as simple as it should be. I chose not to get involved in that, working only with XP and Vista systems.
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
Viewing Program Output dflaws Java 7 03-02-2010 00:30
Controller Viewing help? GrammarNazi Rules/Strategy 2 13-02-2008 18:09
CMUcam Viewing neutrino15 Programming 5 16-12-2007 01:34
Converting step files to inventor files GMAdan Inventor 4 01-01-2007 20:09
CAD Help needed. Mech Desktop 6 files backwards to AutoCAD 14? (2d files) Elgin Clock Inventor 0 30-08-2004 23:06


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

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