 Xiao@Gemini
		
			Xiao@Gemini
		
		
		
		
		
		
		
		
	
			04-27-2018 08:43 AM
Hello everyone, I have a menu ring which lists all the files generated, the file is named by date, time and increment number, how can I reverse the order of the list, make the newly generated file always appear in first place. Thank you. 
Solved! Go to Solution.
 Bob_Schor
		
			Bob_Schor
		
		
		 
		
		
		
		
		
	
			04-27-2018 08:55 AM - edited 04-27-2018 08:56 AM
The elements of the ring are saved in an Array. All you need to do is re-order the array and put it back. I created a Ring control with the strings One, Two, and Three, ran this code, and it became Three, Two, One ...
Did you think to look up LabVIEW Help for "Ring"? It would have told you about this.
Bob Schor
 billko
		
			billko
		
		
		
		
		
		
		
		
	
			04-27-2018 08:56 AM
Something must have loaded the items into the menu ring. Why not reverse the data going into it?