LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can i create a property node of a property node?

hello - i made a small vi that im attaching to visiualize what i am wanting to do. i have two modes in my vi - one with automation on and the other off... in manual control mode.
 
in automation mode...i am reading a sensor (hall effect) and when the boolean is true, then the property node of a stop motor event is automatically executed.
 
if i want to be in manual mode, i don't want that property node to execute whenever the boolean reads true. i only want to be able to press the stop button manually.
 
so i tried creating a property node of a property node, and chose the "disabled" property wiring a 1 constant into it which should be "disabled".
 
anyway - i don't know if this is even possible cause i am getting an error. can i make this work or how can i turn automation off and therefore turning the property node to the stop motor off too?
 
thanks!
0 Kudos
Message 1 of 5
(2,905 Views)

Don't overcomplicate things! 😉

You don't need a property node of a property node, that would make little sense. Simply place the property node inside a case structure so it only executes under certain conditions.

Message 2 of 5
(2,895 Views)

Thats the problem....I do have a pn inside a case structure, so if a sensor's value is reached it automatically shuts off a motor. However, sometimes, I don't want that to automatically happen so I want the property node to be diabled or inactive. So making a pn of a pn is what I think would solve this. Is there such a thing?

 

thanks!


@altenbach wrote:

Don't overcomplicate things! 😉

You don't need a property node of a property node, that would make little sense. Simply place the property node inside a case structure so it only executes under certain conditions.




0 Kudos
Message 3 of 5
(2,858 Views)
You can place a case structure inside a case structure. No problem with that.
www.vartortech.com
0 Kudos
Message 4 of 5
(2,856 Views)
Check the attached VI. If I understood your question correctly, maybe this looks like what you want.
www.vartortech.com
0 Kudos
Message 5 of 5
(2,847 Views)