Replies: 1 comment 6 replies
-
The If the TC isn't requesting the value, or setting the value, you could try adding it to the default set Admittedly, I haven't checked the connector data on my terminal - I'll try to take a look myself. |
Beta Was this translation helpful? Give feedback.
-
The task_controller_client and the seeder example both demonstrate how DDOP is built dynamically. Amongst other elements, there's a DeviceElement named "Connector" which has some DeviceProcessData objects like "Connector X":
To provide a value for this DPD to the TC I added eg.
to the switch statement inside request_value_command_callback(...).
If, however, a user tries to change that setting through the TC's implement setup GUI, how can I make the tc client/seeder receive that event and the new value?
I would assume I have to add AvailableTriggerMethods::OnChange to the DPD creation,
and add another case to the switch statement inside value_command_callback(...)
That doesn't work though (tested on a JD Gen4 4640 display), as I never get to see that message.
I'd like to use this to store offset and delay (DataDescriptionIndex::SCTurnOnTime, DataDescriptionIndex::SCTurnOffTime) settings inside the tc client.
What's my mistake?
Beta Was this translation helpful? Give feedback.
All reactions