 SFK
		
		
		
		
		
		
		
		
	
			 on 
    
	
		
		
		11-15-2011
	
		
		03:36 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			2 Comments (2 New)
		
			SFK
		
		
		
		
		
		
		
		
	
			 on 
    
	
		
		
		11-15-2011
	
		
		03:36 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			2 Comments (2 New)
		
	
		Hi all,
I am using Enums a lot to index values in an array or cluster (e. g. in an FGV), and have a merge VI for the typical process needed to initialize an array at the length of the enum size (string count):
Using the type cast prevents false outputs if one were to add enum items after the currently selected value.
I would prefer having a real LabVIEW primitive to do the measureing, as a SubVI would be bound to the specific enum's data typedef. With a primitive, the same code would look something like that:
Any thoughts on this one?
Best regards,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.