03-23-2017 05:02 AM
thanks sir
shift register produce only two element array with this i have shown dynamic data array in vi.
I just want to know how produce same array with dbl data also.
03-23-2017 05:30 AM - edited 03-23-2017 05:33 AM
Hi Vikas,
why did you add another WHILE loop? Why don't you use the one already present in your VI?
Code analysis:
- you get a scalar value and build an array from this.
- then you take that array of one element into the inner while loop and append a random value to receive an array of just two elements
- then the inner loop stops as it is set to iterate just once and you get an array of two elements as result…
All this analysis should be done by you! Do you really understand what you are programming in your own VI?
The random function in my snippet was just for demonstration, replace it with your measurement data. You haven't used a lot example VIs before, haven't you?
They are just examples to explain certain aspects of the language. You need to ADAPT to your specific requirements…
03-23-2017 10:48 PM
hello sir
I just create shift register with random signal it shows only two element of scalar value not array. so please modified it.
regard
vikas
03-24-2017 12:26 AM
Wire the built array into the shift register on the right.
If this is difficult for you, please start with a few simple LabVIEW tutorials.
03-24-2017 02:20 AM
Hi Vikas,
as Christian already told you: you did the wiring wrong…
I just create shift register with random signal it shows only two element of scalar value not array.
Your VI does exactly what you have programmed it to do!
- I added that snippet in one of my previous posts, but you still aren't able to reproduce it in your code?
- Please learn the LabVIEW basics (as suggested several times) - I recommend to say the mantra "THINK DATAFLOW!" each minute again when looking at your block diagrams!
-