Using $object from main graph in subgraph

More
2 months 5 days ago #14 by jds
Hello,
I've made a new (copy) of the base component creating new class. Everything works like it should be.
The only thing that was missing is a slider to control the manual setpoint.
Since the base class of the motor control with frequency convertor (originally ppo3) contains 24 graphs, I thought I'd be "smart" and create a new pwg with only a slider and feedback of the setpoint. This pwg is opend when clicking the speed value in the main graph. The only thing I can't get to work is getting the values of the object in the new graph.
I there a way to refer to the object of the main graph using a subgraph?

graphs:


parameters:
 

Please Log in or Create an account to join the conversation.

More
2 months 5 days ago #15 by claes
Hi jds,

Open the manspeed graph with command

open graph manspeed /instance=$object

/Claes
The following user(s) said Thank You: jds

Please Log in or Create an account to join the conversation.

More
2 months 5 days ago #16 by jds
Great thank you, I knew there should have been a way. I already read /instance but I thought it was only to be used in combination with /class.
Works like a charm!

Please Log in or Create an account to join the conversation.

Time to create page: 0.568 seconds
Powered by Kunena Forum