 Jahan
		
			Jahan
		
		
		
		
		
		
		
		
	
			03-31-2009 01:34 PM
Hello,
May be this question is too naive and simple.I have a two dimensional array (two columns and 256 rows). All I want is to extract one of these columns as a separate one dimensional array. It seems like a very very basic task that any programming language should address. However, I could not find the right funciton in the array functions list. I am sure I am missing something very obvious. I tried index array, array subset, array to cluster and reshape array. None of them is the right function for this purpose. I have used LabVIEW for a quite a while now, but still I can not find a solution to this basic problem. Can someone help me out.
Thanks
Solved! Go to Solution.
 zenthoef
		
			zenthoef
		
		
		
		
		
		
		
		
	
			03-31-2009 01:48 PM
Hi -
With the Index Array function have you tried wiring a number to the input labeled index (col)?
See the attached vi for an example.
 zenthoef
		
			zenthoef
		
		
		
		
		
		
		
		
	
			03-31-2009 02:51 PM
03-31-2009 03:24 PM
Yes. That is exactly what I wanted to do. Thank you. I could not open your VI because I have LabVIEW 7. However, I understood from your explanations. I was getting confused by the word "disabled" in "disabled index (col)". After setting that to 1 (meaning my second column) I coudl extract the second column. Thank you for the help.
Jahan
 GerdW
		
			GerdW
		
		
		 
		
		
		
		
		
	
			03-31-2009 03:47 PM
03-31-2009 04:03 PM
 RavensFan
		
			RavensFan
		
		
		 
		
		
		
		
		
	
			03-31-2009 04:19 PM
Jahan wrote:
Sorry about that. I tried correcting it but didn't work. I will keep that in mind for the future.
Go to the options menu to the upper right of your reply and select "Unmark solution"
Then you can mark the correct reply as the solution.
 nibamot
		
			nibamot
		
		
		
		
		
		
		
		
	
			02-07-2018 08:51 AM
Works perfectly fine! Thanks!!!