LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to do every 600 seconds to execute For loop?

Hi

 

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).

Z-1-2-3.png

Best Regards,

Luis A. Mata C.
Ing. Electrónico
Whatsapp: +58-414-1985579
BBM Pin: 2B83E99A
Thanks: Kudos
0 Kudos
Message 21 of 40
(1,194 Views)

@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).

Z-1-2-3.png

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.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 22 of 40
(1,189 Views)

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.

0 Kudos
Message 23 of 40
(1,181 Views)

Sorry I really meant to say that Christaian meant to say left side. I made a real confusion 😄

-----

The best solution is the one you find it by yourself
0 Kudos
Message 24 of 40
(1,178 Views)

Hi ,

 

   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!!! Smiley Very Happy

 

Best Regards,

Luis A. Mata C.
Ing. Electrónico
Whatsapp: +58-414-1985579
BBM Pin: 2B83E99A
Thanks: Kudos
0 Kudos
Message 25 of 40
(1,174 Views)

@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!!! Smiley Very Happy

 

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.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 26 of 40
(1,165 Views)

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,

Luis A. Mata C.
Ing. Electrónico
Whatsapp: +58-414-1985579
BBM Pin: 2B83E99A
Thanks: Kudos
0 Kudos
Message 27 of 40
(1,162 Views)

@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!!! Smiley Very Happy



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?

Message 28 of 40
(1,154 Views)

@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,


SR-FN - Timing.PNG

 

This is what I get when I run your code still you stick on to your point?. ( LV2011 version)

-----

The best solution is the one you find it by yourself
0 Kudos
Message 29 of 40
(1,143 Views)

to vt92~

 

i mean is 

1.) Wait 45 seconds

2.) Start the FOR loop

3.) Iterate the FOR loop every 600 seconds

0 Kudos
Message 30 of 40
(1,133 Views)