Go to Post The imbalance and vibration is telling you something, you are not listening. - Al Skierkiewicz [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
  #16   Spotlight this post!  
Unread 12-02-2013, 20:33
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 183
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: New Programmer

Quote:
Originally Posted by Greg McKaskle View Post
I also learned LV long before there were shift registers and in many ways prefer them, but I now use both, typically for different things. I really like the compare to last with a shift register, but otherwise typically use shift registers.

Greg McKaskle
I almost never use feedback nodes, but I find myself using feed forward nodes quite frequently. They make more sense to me because the flow of the code keeps moving forward. If I'm in a loop, though, I'll always use shift registers.
Reply With Quote
  #17   Spotlight this post!  
Unread 12-02-2013, 23:47
theboyer theboyer is offline
Registered User
FRC #3965
 
Join Date: Feb 2013
Location: United States
Posts: 7
theboyer is an unknown quantity at this point
Re: New Programmer

Here are my tele op and periodic vis neither has much extra really
Attached Files
File Type: vi Periodic Tasks.vi (31.1 KB, 5 views)
File Type: vi Teleop.vi (25.9 KB, 4 views)
Reply With Quote
  #18   Spotlight this post!  
Unread 13-02-2013, 00:00
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
no team
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 1,127
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: New Programmer

I looked at the code and I don't see anything wrong with it.

Basically, the starvation occurs if you don't call the Arcade Drive VI every 100ms. Having the VIs open (front panel or block diagram) can cause this. Try closing a few windows and see if that helps.

Seeing the starvation message is completely normal on non-built code (not saying it's good though). If you see it all the time after you build and deploy your code, then you have an issue.

Even with the message, can you drive the robot around? Do you notice it?
__________________
Taking a break from mentoring for a few years. (Is that allowed?!?)

Controls Mentor
@rnazaretian

Previous teams:
Team Fusion, FRC 364
Garnet Squadron, FRC 4901

Last edited by RyanN : 13-02-2013 at 00:04.
Reply With Quote
  #19   Spotlight this post!  
Unread 13-02-2013, 09:23
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: New Programmer

Quote:
Originally Posted by Greg McKaskle View Post
I also learned LV long before there were shift registers and in many ways prefer them, but I now use both, typically for different things. I really like the compare to last with a shift register, but otherwise typically use shift registers.

Greg McKaskle
@Greg McKaskle: I really like several of the changes that have come about since the birth of the idea exchange a couple years ago. Things like shrinking the boolean constant, changes to local variable graphics, integrated labels for structures, better alignment of vi.lib vi's I/O and so on.

For my non-FRC applications, I REALLY like the JKI string-based state machine template.
Reply With Quote
  #20   Spotlight this post!  
Unread 13-02-2013, 09:47
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: New Programmer

Quote:
Originally Posted by bvisness View Post
I almost never use feedback nodes, but I find myself using feed forward nodes quite frequently.
Is "feedforward node" generally accepted terminology for a feedback node that simply has the arrow direction changed to make the wiring cleaner? If so, it seems unfortunate. The function of the node remains the same regardless of arrow direction.


Reply With Quote
  #21   Spotlight this post!  
Unread 13-02-2013, 16:13
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
no team
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 1,127
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: New Programmer

Quote:
Originally Posted by Ether View Post
Is "feedforward node" generally accepted terminology for a feedback node that simply has the arrow direction changed to make the wiring cleaner? If so, it seems unfortunate. The function of the node remains the same regardless of arrow direction.
As far as I know, they're only called feedback nodes. Changing the direction doesn't change their functionality. It just makes the code 'flow' more smoothly sometimes.
__________________
Taking a break from mentoring for a few years. (Is that allowed?!?)

Controls Mentor
@rnazaretian

Previous teams:
Team Fusion, FRC 364
Garnet Squadron, FRC 4901
Reply With Quote
  #22   Spotlight this post!  
Unread 13-02-2013, 20:09
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 183
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: New Programmer

Quote:
Originally Posted by RyanN View Post
As far as I know, they're only called feedback nodes. Changing the direction doesn't change their functionality. It just makes the code 'flow' more smoothly sometimes.
I guess it's not technically called a feed forward node, but that's what I have come to call them for reasons that are unclear to me. I think one of our mentors called it that, and it stuck.

But it does go forward...so I think I'm gonna stick to the "feed forward" name.
Reply With Quote
  #23   Spotlight this post!  
Unread 14-02-2013, 07:30
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
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: New Programmer

Rather than feed forward, how about previous value or delay by one or some name that explains its purpose rather than its appearance.

Greg McKaskle
Reply With Quote
  #24   Spotlight this post!  
Unread 14-02-2013, 07:51
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,906
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: New Programmer

When I'm teaching it I use Greg's suggestion and just call it the "previous value"
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #25   Spotlight this post!  
Unread 14-02-2013, 10:03
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: New Programmer


How about calling it a Z-1 node?

Just kidding. That doesn't help new learners.

I like Mark & Greg's "previous value" moniker. Students seem to understand that phrase immediately, and it's accurate.

@bvisness: the reason I said "feedforward node" is unfortunate is because feedforward has a completely different meaning in control theory.


Reply With Quote
  #26   Spotlight this post!  
Unread 14-02-2013, 21:18
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 183
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: New Programmer

"Previous Value" is nice, so I think I'll try to call it that from now on. (And I was unaware that "feed forward" has another meaning in control theory...sorry about the confusion.)
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 10:59.

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