 RT23i
		
			RT23i
		
		
		
		
		
		
		
		
	
			11-09-2014 05:15 PM
en la secuencia del subvi funciona bien pero al momento de llamarlo a otro programa este ya no funciona
11-09-2014 05:16 PM
una imagen
11-09-2014 05:18 PM
el subvi
 Zwired1
		
			Zwired1
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		11-09-2014
	
		
		05:54 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		06-10-2025
	
		
		08:28 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
The way your subVI is set up it will be called from your main VI, run until it completes, and then return control to the main VI while passing the final values of the booleans. The intermediate on and off states inside the subVI will not be passed to the indicators on the main VI and I'm guessing this is the "error" you're reporting?
The way to have a subVI affect a control/indicator on the caller's front panel is to pass a reference to the caller's front panel indicator to the subVI and use a "value" property node inside the subvi.
Try the attached to see the concept and adapt it as you need. There is a bit more information here and here.
 Luis_CT
		
			Luis_CT
		
		
		
		
		
		
		
		
	
			11-10-2014 08:50 AM
Buen día RT23i.
Lo que menciona Zwired1 tiene razón, dependiendo del comportamiento de tu SubVI de forma individual es como se comportará en el VI que hace uso de este (Calling VI), al momento de llamar tu VI te arroja algún mensaje de error? Se queda trabado? Como estas mandando llamar tu SubVI?
Saludos!