 shall12
		
			shall12
		
		
		
		
		
		
		
		
	
			08-13-2013 06:13 PM - last edited on 08-14-2013 12:27 PM by JordanG
I have an example program that uses a Property Node > Value(Signaling) to generate an event. The property looks like this:
When I create a VI to do the same thing the Property Node looks like this:
I right click the boolean control, create, property node, value(Signaling) to create the node.
My VI does not generate an event when a TRUE value is passed to the property node. Is there some way to change the Data Type to boolean? Is this the problem?
Solved! Go to Solution.
 mikeporter
		
			mikeporter
		
		
		 
		
		
		
		
		
	
			08-13-2013 08:36 PM
It's hard to address your problem. The pictures don't show.
Mike...
 crossrulz
		
			crossrulz
		
		
		 
		
		
		
		
		
	
			08-14-2013 07:32 AM
It is really best to just attach your example VI. That way we can did into your settings as well.
 billko
		
			billko
		
		
		
		
		
		
		
		
	
			08-14-2013 11:38 AM
Have you read the help for Value (Signaling)? (Right-click on the property node you created.)
 altenbach
		
			altenbach
		
		
		 
		
		
		
		
		
	
			08-14-2013 11:53 AM - edited 08-14-2013 11:59 AM
@shall12 wrote:
My VI does not generate an event when a TRUE value is passed to the property node. Is there some way to change the Data Type to boolean? Is this the problem?
If the datatype of the value property node does not look like boolean (i.e. purple instead of green), you need to change the mechanical action of the boolean because it is currently latch action. Change the mechanical action to switch action and you should be OK.
Also note that a value(sgnl) property will fire the value change event unconditionally, even if the old a new value are the same.
(If you would like to be able to fire events of latch action booleans as you describe here, consider voting for this idea. :D)
08-14-2013 12:28 PM
Thanks. I did figure this out. I wonder why this did not generate an error telling me the latch was incorrect for the signal.
 Luis_AM3C
		
			Luis_AM3C
		
		
		
		
		
		
		
		
	
			04-28-2014 04:15 PM
Hi,
EUREKA!!!! Its posible, only need use a type cast to a normal boolean.
Here the solution:
Best Regards,
 altenbach
		
			altenbach
		
		
		 
		
		
		
		
		
	
			04-28-2014 04:45 PM - edited 04-28-2014 04:47 PM
@Luis_AM3C wrote:
EUREKA!!!! Its posible, only need use a type cast to a normal boolean.
Cute! 😄
You can create a constant on the upper wire and eliminate the dummy boolean. Still works. 😉
 
 Luis_AM3C
		
			Luis_AM3C
		
		
		
		
		
		
		
		
	
			04-28-2014 04:52 PM
altenbanch: "You can create a constant on the upper wire and eliminate the dummy boolean. Still works. "
Yes, I know, just showing where get the datatype.
 billko
		
			billko
		
		
		
		
		
		
		
		
	
			04-28-2014 04:55 PM
Luis mined the gemstone and Alt polished it up! Excellent!!! This will come in handy...