LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem initializing shift register

Solved!
Go to solution

If you want to average over mutiple calls of this FOR loop, use e.g. the "First call?" primitive for the case structure.

 

0 Kudos
Message 11 of 16
(953 Views)
I did exactly what you did, and the graph gave me the same waveform I sent in.... and then I made the case that sums two iterations as case 1 and wired constant 1 into the case selector terminal. With that when i highlight the execution, i see that my values are being summed up, but the problem is that the graph doesnot show anything at all. when I wire 0 into case selctor instead and highlight execution I see that my waveform is being send directly without any change and the graph also shows me the same waveform that I send in. i do not understand what is going on! =(
0 Kudos
Message 12 of 16
(950 Views)

ATTACH your code!!! 😄

 


labview_dummy wrote:
.... and then I made the case that sums two iterations as case 1 and wired constant 1 into the case selector terminal.

 

That's not what I did. In my case, the selector is connected to "[i]+1" and the sum takes place in the "0, default" case.
0 Kudos
Message 13 of 16
(930 Views)
bump! can anyone please help!
0 Kudos
Message 14 of 16
(929 Views)

Hi,

 

Ya I did what you showed and I recevied the same wavefrm that I sent in... that's why I tried making it case 1 and wiring 1 into the selector terminal. just a sec I'll attach the program. thank-you very much for your help!

0 Kudos
Message 15 of 16
(927 Views)
Hey Altenbach thank-you so much! It worked. Apparently my case was not wired correctly!
0 Kudos
Message 16 of 16
(923 Views)