Go to Post Part of Gracious Professionalism is the Professional bit. Doesn't matter if you're a volunteer or a staff member, a failure of this level in the real world would result in getting fired. - [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

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-02-2010, 14:48
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
LV Mastery Question ... Main Shifter and Command Global

I've been adapting our team code to be more like the code in the LV Mastery videos. I've watched many of them, many times, and am trying to follow the advice of not actually "doing" anything within the Teleop.VI

I've added a shift register to the primary While-Loop, calling it Main Shifter.

I'm toying with different architecture decisions now, but the TipJar videos don't necessarily address my questions.

Primarily, I'm torn between a couple choices that are interrelated ... namely the Main Shifter, and the Robot Command Global.

If I make the Main Shifter a Global, and write to it just before the main loop cycles, then I don't necessarily need a Robot Command, as long as those commands are in the Main Shifter. Right?

I know that I can get it to work either way, but I'm just wondering which one might be more efficient and/or more wasteful.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
Reply With Quote
 


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
Super Shifter Question Ice Berg General Forum 8 25-06-2008 16:12
Global variable question Nathan Programming 3 27-01-2008 18:02
Command and Conquer captainking Games/Trivia 1 08-01-2008 23:20
AM Shifter Assembly Question Jeff Waegelin Technical Discussion 17 18-02-2007 20:32
AM Shifter 2 question ForgottenSalad Technical Discussion 2 20-02-2006 14:26


All times are GMT -5. The time now is 11:55.

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