Go to Post See... this is what I love about my friends in FIRST. They come forward to help me whenever I need anything. - Arefin Bari [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 11-02-2013, 13:13
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
New Programmer

Hi,I'm a new programmer and I was following a tutorial and it kept using a certain vi,but i couldn't recognize it or find it in the tool pallet.Can someone tell me what it is and where to find it
Attached Thumbnails
Click image for larger version

Name:	arrow.jpg
Views:	20
Size:	30.3 KB
ID:	13929  
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2013, 13:20
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,709
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: New Programmer

Feedback node. Located in the Programming -> Structures pallet.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #3   Spotlight this post!  
Unread 11-02-2013, 13:20
James H James H is offline
Registered User
FRC #4256
 
Join Date: Feb 2013
Location: United States
Posts: 9
James H is an unknown quantity at this point
Re: New Programmer

Quote:
Originally Posted by theboyer View Post
Hi,I'm a new programmer and I was following a tutorial and it kept using a certain vi,but i couldn't recognize it or find it in the tool pallet.Can someone tell me what it is and where to find it
That is called a feed back node. It stores the last value fed in so that you can compare a variable or value to itself. It is found in the Structures pallet towards the bottom right.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-02-2013, 13:34
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

Thank You
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2013, 14:12
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

Oh one more.Sorry for the nuisance
Attached Thumbnails
Click image for larger version

Name:	tf.jpg
Views:	18
Size:	19.6 KB
ID:	13930  
Reply With Quote
  #6   Spotlight this post!  
Unread 11-02-2013, 14:15
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Re: New Programmer

No need, that's why we're all here; to help.

That is a Boolean> True/False. Depending on which letter, T or F, has green behind it tells you which is running. (i.e. Green-background T means it's running True).
Reply With Quote
  #7   Spotlight this post!  
Unread 11-02-2013, 14:46
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,113
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: New Programmer

The feedback node is found in the Structures palette. It points from right to left by default. The diamond underneath it is how older versions of LabVIEW marked the initializer terminal; this year it looks like an asterisk which becomes a cursive i when wired.

The green T/F is a Boolean constant from an older version of LabVIEW. It would alternately highlight the T and the F when clicked on. LabVIEW 2012 instead displays it as a single square with either a T or an F in it. You'll find the T and F constants in the Boolean function palette.

Last edited by Alan Anderson : 11-02-2013 at 14:49.
Reply With Quote
  #8   Spotlight this post!  
Unread 11-02-2013, 17:56
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

Now I'm trying to insert a process much like this which will set a servo to 90 activate a relay forward and then set both of them back to their natural position
but it seems to be running too fast and starving the drive system any pointers
Reply With Quote
  #9   Spotlight this post!  
Unread 12-02-2013, 00:08
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,113
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: New Programmer

Quote:
Originally Posted by theboyer View Post
Now I'm trying to insert a process much like this...
Unless we see what you're actually doing, we won't be able to give much in the way of help. Show us your code, not the example you're emulating.
Reply With Quote
  #10   Spotlight this post!  
Unread 12-02-2013, 00:34
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

oh sorry yes here
Attached Thumbnails
Click image for larger version

Name:	test.jpg
Views:	62
Size:	175.8 KB
ID:	13950  
Reply With Quote
  #11   Spotlight this post!  
Unread 12-02-2013, 07:15
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,752
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

If you place the code into teleop, it will prevent teleop from running frequently enough. Try moving it to Periodic tasks.

Greg McKaskle
Reply With Quote
  #12   Spotlight this post!  
Unread 12-02-2013, 09:31
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

I can't be the only LabVIEW developer that despises the use of the feedback node, can I? IMO, while feedback nodes *can* make a diagram cleaner, they actually make it *harder* to understand, as compared to using the equivalent shift register.
Reply With Quote
  #13   Spotlight this post!  
Unread 12-02-2013, 16:43
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

I attempted this and it still says it is starving the drive loop
Reply With Quote
  #14   Spotlight this post!  
Unread 12-02-2013, 17:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,833
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

You can attach your vi's directly to a post.
Show us your Teleop.vi & Periodic.vi, and any other vi you might have added code to.

The code you posted looks fine as long as it's in Periodic Tasks.vi (it would not work in Teleop).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-02-2013 at 17:40.
Reply With Quote
  #15   Spotlight this post!  
Unread 12-02-2013, 19:56
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,752
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

Quote:
I can't be the only ...
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
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:48.

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