|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
||||
|
||||
|
Re: Unurgent Lookover request
Look's fine to me, but what are the boxes for? Are they to separate your code?
|
|
#3
|
|||
|
|||
|
Re: Unurgent Lookover request
Yeah, I'm real anal about the cleanliness of my code. Its separated by sensors, motors, Joysticks, and camera.
|
|
#4
|
||||
|
||||
|
Re: Unurgent Lookover request
Haha, I completely understand. May I ask how you made them though?
|
|
#5
|
|||
|
|||
|
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
|
|
#6
|
||||
|
||||
|
Re: Unurgent Lookover request
you're not really using all of those are you?
|
|
#7
|
||||
|
||||
|
Re: Unurgent Lookover request
Quote:
. I'm sure to learn and use these plenty much. |
|
#8
|
||||
|
||||
|
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. |
|
#9
|
||||
|
||||
|
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
|
|
#10
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|