03-05-2015 08:22 AM
If I try to attach the file I get the following error:
The contents of the attachment doesn't match its file type.
03-05-2015 08:24 AM - edited 03-05-2015 08:29 AM
About that upload error! It's well known and that error exists for a long time…
On your specific VI problem:
The "before append" indicator shows an empty array because you initialized the shift register with an empty array!
You need to:
- initialize the shift register with a non-empty constant
or even better:
- handle that special case of empty input seperately!
03-05-2015 08:30 AM
I have written some explains about the for loop behavour and I have also attached the link to the file, if one could maybe take a look.
03-05-2015 08:35 AM
Thanks! Well I think if I initialize a shift register with non-empty contstant this data will get appended and modify the real measured that is not ok. So I think that I should go with case structure to check if shift register is empty or not - am I looking in the right direction? How can I check if shift register is empty?
03-05-2015 08:47 AM