12-15-2015 07:38 AM
Anyone can help me how sort array without Sort 1d Array function? Wich sorting is easiest to make in VI and how start?
12-15-2015 07:40 AM
12-15-2015 07:48 AM - edited 12-15-2015 07:52 AM
Bubble sort? Swap value function?
12-15-2015 07:52 AM
12-15-2015 07:55 AM - edited 12-15-2015 08:14 AM
I dont know how insert x' to Array[0] and y' to Array[1]. Some help?
12-15-2015 08:48 AM
Replace Array Subset.
You may also find the In Place Element Structure more useful for manipulating the array elements.
12-15-2015 09:49 AM - edited 12-15-2015 09:57 AM
Why that doesnt work? ://
12-15-2015 10:49 AM - edited 12-15-2015 10:50 AM
You only coded the inner loop of a bubble sort where you bubbled the single largest value to the end.
There is another loop outside of that that works on ever smaller sections of the array.
12-15-2015 11:00 AM
Ok i done. Anyone can tell me is ok?
12-15-2015 11:04 AM
Why don't you tell us if it is OK - put some test data in and see if it comes out sorted or not. You could even run your algorithm alongside the Sort 1D Array function and check you get the same result.