![]() |
Feedback Nodes?
Hello -
I've seen people use Feedback Nodes in their code when dealing with State Machines, however I've never quite understood them. I've researched them and read help files on them, but I'm still a bit lost. Any help/clarification? Thanks, Dom |
Re: Feedback Nodes?
Feedback nodes are simple. They have an input and an output. The value that comes out of the output is the value that went into the input the previous time the feedback node executed.
|
Re: Feedback Nodes?
Ah, simple enough. Then, what does the "Initializer Terminal" do?
|
Re: Feedback Nodes?
Quote:
|
Re: Feedback Nodes?
Awesome, thanks!
|
Re: Feedback Nodes?
The first time a Feedback Node runs, it won't have seen an input value yet, so it uses the value wired to its Initializer Terminal as its first output. If you leave that terminal unwired, the first output will be the default value for whatever type is connected to the input.
LabVIEW's help features can tell you all this. If you have contextual help turned on (toggle it with control-H), you can hover the mouse cursor over anything and get useful information in the Help window. There's usually a link to Detailed help at the end of the brief description. |
| All times are GMT -5. The time now is 11:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi