08-22-2012 03:32 PM
Hi altenbach
Shift registers: right side can be resized to get sucessively older history values.
How do it? What LabVIEW version? I have LabVIEW 2009, i can resize only left side.
Feedback nodes: Allow only one history value (selectable delay, check properties...configuration)
If you use "n" feedbaack node you can get the "n" previous values. (I wanna compare with resize right side of shift register, but i dont know resize it).
Best Regards,
08-22-2012 03:52 PM
@Luis_AM3C wrote:
Hi @altenbach
Shift registers: right side can be resized to get sucessively older history values.How do it? What LabVIEW version? I have LabVIEW 2009, i can resize only left side.
I guess Christian meant to say the right side only.
@Luis_AM3C wrote:
Feedback nodes: Allow only one history value (selectable delay, check properties...configuration)If you use "n" feedbaack node you can get the "n" previous values. (I wanna compare with resize right side of shift register, but i dont know resize it).
Best Regards,
This eventually increases the number of individual nodes but when you use the shift register everything refer to the single shift register and the performance will be high compared to the design you proposed.
08-22-2012 04:27 PM
P Anand wrote:I guess Christian meant to say the right side only.
I meant left side, but said right side. (right side would not make sense) now corrected above.
08-22-2012 04:30 PM - edited 08-22-2012 04:30 PM
Sorry I really meant to say that Christaian meant to say left side. I made a real confusion 😄
08-22-2012 04:37 PM
Hi altenbach,
I understand you now, but i found a mistake at your sentence.
Feedback nodes: Allow only one history value (selectable delay, check properties...configuration)
Look my VI, the feedback nodes can show many history values and slightly faster than shift registers. EUREKA!!!
Best Regards,
08-22-2012 04:53 PM
@Luis_AM3C wrote:
Hi @altenbach,
I understand you now, but i found a mistake at your sentence.
Feedback nodes: Allow only one history value (selectable delay, check properties...configuration)
Look my VI, the feedback nodes can show many history values and slightly faster than shift registers. EUREKA!!!
Best Regards,
No Christian is correct you are still using 3 nodes that are individual not a single node. See the shift register when you select a node and press delete all the node will go the same is not with the feedback and it has no history but has delays.
08-22-2012 05:12 PM
Hi P Anand,
This eventually increases the number of individual nodes but when you use the shift register everything refer to the single shift register and the performance will be high compared to the design you proposed.
FN can be used for operate many history values slightly faster than SR, FN work and work better.
Many FN have high performace that 1 SR resized.
No Christian is correct you are still using 3 nodes that are individual not a single node. See the shift register when you select a node and press delete all the node will go the same is not with the feedback and it has no history but has delays.
If you wanna many input at FN, you can suggest that feedback node resize how LabVIEW Idea Exchange.
Best Regards,
08-22-2012 05:52 PM - edited 08-22-2012 06:13 PM
@Luis_AM3C wrote:
I understand you now, but i found a mistake at your sentence.
Feedback nodes: Allow only one history value (selectable delay, check properties...configuration)
Where is the mistake? A single feedback node can only output a single history value.
@Luis_AM3C wrote:
Look my VI, the feedback nodes can show many history values and slightly faster than shift registers. EUREKA!!!
You are still using ancient LabVIEW version 9 and there were significant changes in the compiler since then. If I disable debugging, both version are virtually identical in speed in LabVIEW 2012. (difference is less than 1%)
(with debugging enabled, the FN takes 1.5x longer than the SR, which is the opposite of your statement)
What are the actual times you are getting?
08-22-2012 06:44 PM
@Luis_AM3C wrote:
Hi P@Anand
FN can be used for operate many history values slightly faster than SR, FN work and work better.
Many FN have high performace that 1 SR resized.
Best Regards,
This is what I get when I run your code still you stick on to your point?. ( LV2011 version)
08-22-2012 07:40 PM
to vt92~
i mean is
1.) Wait 45 seconds
2.) Start the FOR loop
3.) Iterate the FOR loop every 600 seconds