Go to Post we would all build robots to play "rock-paper-scissors" if FIRST told us to, cause it is just so freakin' much fun to build a robot until 2:30am every night for six weeks! - dlavery [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 28-01-2012, 12:55
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Unurgent Lookover request

If its not too much trouble would anyone mind looking at my begin VI to see if anything is wrong. I did it kinda quick.
Attached Files
File Type: vi Begin.vi (68.9 KB, 36 views)
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2012, 13:03
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: Unurgent Lookover request

Look's fine to me, but what are the boxes for? Are they to separate your code?
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2012, 13:07
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Unurgent Lookover request

Yeah, I'm real anal about the cleanliness of my code. Its separated by sensors, motors, Joysticks, and camera.
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #4   Spotlight this post!  
Unread 28-01-2012, 13:47
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: Unurgent Lookover request

Haha, I completely understand. May I ask how you made them though?
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2012, 15:47
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Unurgent Lookover request

Under the structures section (where case structures and wait structures and such are) theres a part for decorations. Its pretty nice
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2012, 15:57
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: Unurgent Lookover request

you're not really using all of those are you?
Reply With Quote
  #7   Spotlight this post!  
Unread 31-01-2012, 16:46
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: Unurgent Lookover request

Quote:
Originally Posted by j.cole View Post
Under the structures section (where case structures and wait structures and such are) theres a part for decorations. Its pretty nice
Thanks . I'm sure to learn and use these plenty much.
Reply With Quote
  #8   Spotlight this post!  
Unread 01-02-2012, 00:11
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Unurgent Lookover request

I will sometimes use decorations to document code, I do find them quite useful when looking at older code that I have forotten about. However, I usually recommend using subVIs instead. I can't look at the code right now, so I am not sure if it applies to you, but I usually separate everything into subVIs. (vision, drivetrain, funckymech, compressor, and other misc stuff. )

PS.Dear NI, please make an android VI viewer.
__________________
Mike B
Reply With Quote
  #9   Spotlight this post!  
Unread 01-02-2012, 10:17
Doc543's Avatar
Doc543 Doc543 is offline
Electrical, Pneumatics, Driver
AKA: Eric
FRC #1891 (BullBots)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Meridian Idaho
Posts: 63
Doc543 is an unknown quantity at this point
Re: Unurgent Lookover request

Do you need to set the RefNum on the DIO that are plugged into the encoders? By the way i would reserve Analog 1 and 2 for gyros. those are the only slot they will work on
__________________

"Its just a prototype."
2011 Chairman's Award Utah Regional
2010 Gracious Perfectionism Utah Regional
2009 Gracious Perfectionism Portland Regional
Reply With Quote
  #10   Spotlight this post!  
Unread 07-02-2012, 15:15
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Unurgent Lookover request

@Doc534 We dont intend on a gyro but thanks for future reference. That woulda drove me insane if i tried to hook one up, it didnt work and found out that was the problem

@SuperS_5 Probably debatable. I just like having stuff in one VI so I can skim and send pics easier.
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
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


All times are GMT -5. The time now is 22:29.

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