Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
why it does not update my flexpendant?
Dear colleagues, I'm a friend of carmila and have simillar problems with flexpendant .. shouldn't this work ?
sig = (DigitalSignal) controller.IOSystem.GetSignal("test1");
sig.Changed += new SignalChangedEventHandler(delegate(object obj,SignalChangedEventArgs args){
textBox1.Text = sig.Get().ToString();
});
it works on virtual flexpendant .. but why doesn't it work in the real fp.. ? can anyone please give us hint ? ..
Comments
-
Hi,
I have not tried myself, but even though this is semantically correct, the event handler will be called in a thread that is NOT the UI thread, so you cannot change any property that will cause a change in the UI.
1. Can you put a MessageBox.Show method just to make sure that it is called?
2. You will pass the call from the thread the event is called to the UI thread by doing an Invoke
Saludos/Carlos
Carlos Martinez
ABB0 -
hi .. you did it again .. it works .. thanks for your advice .. mui bien ..
thanks ..
0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings