LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem E6.5 (LabVIEW)

I've been following Dr. Bishop book through Chapter 6. I have difficulties with problem E6.5 on page 282. Does anyone have got a solution to this problem? Thanks.
0 Kudos
Message 1 of 8
(3,213 Views)
What kind of difficulties are you having?
(Just providing an answer would be too easy.)

Les Hammer
0 Kudos
Message 2 of 8
(3,213 Views)
I don't know where I should get the array from as required by the Index Array. I've tried several approach but none of them work. It would be very helpful to me if you have a solution to this problem.
0 Kudos
Message 3 of 8
(3,213 Views)
Index Array, and Replace Array, both get their array from that fat wire that runs across the top of the loop box. Then replace the end of the wire with the output of Replace Array (just before the display box picks it up).

Les Hammer
0 Kudos
Message 4 of 8
(3,213 Views)
I tried this before. Everytime a new number is obtain, the count for it is 1, and the count for the previous number is reset to zero. The problem ask that we keep incrementing the number of count. Attached is the updated VI. Hope you could help. Thank you.
0 Kudos
Message 5 of 8
(3,213 Views)
Almost there --
1) Connect the output of "Replace Array Subset" to the array wire that runs across the loop box. (This will cause the line to become "broken.")
2) Clip the array wire between the input and output of "Replace Array Subset" (just click on it to highlight the small section and delete)- This will make the wire unbroken, and replace the old array with the new array in the shift register.

Les Hammer
0 Kudos
Message 6 of 8
(3,213 Views)
It works!! Thank you very much!!
0 Kudos
Message 7 of 8
(3,213 Views)
I got this icon from one of the example in the Labview. This icon will help me with Problem E7.2 on page 323. However, I don't know how to create this icon or from where it can be obtain in the control palette. Hope you could help. Thanks.
0 Kudos
Message 8 of 8
(3,213 Views)