- Posts: 21
- Thank you received: 1
Using $object from main graph in subgraph
2 months 5 days ago #14
by jds
Using $object from main graph in subgraph was created 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:
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.
2 months 5 days ago #15
by claes
Replied by claes on topic Using $object from main graph in subgraph
Hi jds,
Open the manspeed graph with command
open graph manspeed /instance=$object
/Claes
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.
2 months 5 days ago #16
by jds
Replied by jds on topic Using $object from main graph in subgraph
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!
Works like a charm!
Please Log in or Create an account to join the conversation.
Time to create page: 0.744 seconds