LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Loop foor with register shift

Hi,
I have try the new vi, but now the 2 array doesn't work

I have try to put out the final while loop and I have the same problem
Is it due to the register shift ?

0 Kudos
Message 11 of 15
(706 Views)
Hi mini...,

as before just an initialization problem of the outer SR...
Maybe you have to change the init scheme to the one used in the inner while loop as now the SR will be reset with each call of the vi.


Message Edited by GerdW on 04-08-2008 10:27 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 15
(702 Views)
Excuse me, but I don't really understand what you want to say ?
0 Kudos
Message 13 of 15
(691 Views)
Hi Mini...,

I added an initialization step for the outer SR (and deleted unused code), now the example should work...

This init step will be called everytime the vi starts as it is connected with the iteration counter. When this is not what you need you can change the initialization to using the same scheme as the inner while loop: a SR holds the status (init/not init)...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 15
(685 Views)
Hi, I have try the new program and it works wery well

big thanks

I have import all  in my big program ans it works very very well

Thanks
0 Kudos
Message 15 of 15
(672 Views)