|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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
|
|
#2
|
|||||
|
|||||
|
Re: New Programmer
Feedback node. Located in the Programming -> Structures pallet.
|
|
#3
|
|||
|
|||
|
Re: New Programmer
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.
|
|
#4
|
|||
|
|||
|
Re: New Programmer
Thank You
|
|
#5
|
|||
|
|||
|
Re: New Programmer
Oh one more.Sorry for the nuisance
|
|
#6
|
|||
|
|||
|
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). |
|
#7
|
|||||
|
|||||
|
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. |
|
#8
|
|||
|
|||
|
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 ![]() |
|
#9
|
|||||
|
|||||
|
Re: New Programmer
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.
|
|
#10
|
|||
|
|||
|
Re: New Programmer
oh sorry yes here
|
|
#11
|
|||
|
|||
|
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 |
|
#12
|
|||
|
|||
|
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.
|
|
#13
|
|||
|
|||
|
Re: New Programmer
I attempted this and it still says it is starving the drive loop
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|