02-26-2020 04:20 AM
Hi,
it doesn't work. why ?
02-26-2020 04:25 AM
02-26-2020 04:39 AM
02-26-2020 06:12 AM
02-26-2020 06:18 AM
You're definitely going to have to provide more information. I suspect that it does exactly what you programmed it to do - put out an array of 5 zero's and a numeric zero. I'm sure this is not what you want, but until you tell us what you want us to do it is impossible to tell you how to make it work.
02-26-2020 12:26 PM - edited 02-26-2020 12:26 PM
Hi klpf,
Please read the unofficial forum rules and guidelines to learn how to ask questions that get you the help you need.
02-26-2020 01:52 PM
@JensG69 wrote:
THINK Dataflow and initialize the shift register with a starting value. Otherwise it will start with zero for the first execution of your VI. And 0*2 = 0...
Regards, Jens
Actually, it will start with whatever was in the shift register last, making it even worse. (On the first run, of course, it will be zero.)
02-26-2020 01:55 PM
The most annoying thing about being a software developer is that code does what you tell it to do, and not necessarily what you want it to do. The more experience you have, the more likely it is for those two results to converge...