 plpablo
		
			plpablo
		
		
		
		
		
		
		
		
	
			10-26-2018 05:51 AM - edited 10-26-2018 05:52 AM
Hello all
I trying to make automatic event in my code but some how is not working please have look.
task is :
in string array i have "manual" and "auto" strings when auto string is present event structure should be triggered automatically when manual string is present the event structure should be triggered by 'next step' button.
 Artem.SPb
		
			Artem.SPb
		
		
		
		
		
		
		
		
	
			10-26-2018 06:26 AM
Why Event?
see code
If you need notify change to Event structure, you need val(signaling) property (see bottom line)
 mikeporter
		
			mikeporter
		
		
		 
		
		
		
		
		
	
			10-26-2018 06:40 AM
Your code has many problems.
But the big one is number 2. That is why it isn't working as you expected. The problem is that the mode indicator is read in parallel with the execution of the event structure - which is where the mode indicator value is set. Consequently, the indicator is read before it is set. Dataflow!
Recommend that you take a LV training class, live or online.
Mike...