Elog domain working on VC but not on RC?!
Hello there,
the following code is working on VIRC5, but not on the real one. The errormessage is not shown on the RC. Any ideas why ??
thanks and best regards
Ren?
bool ITpsViewSetup.Install(object sender,object data)
{
// TODO: Add TpsViewRapidEvent.Install implementation
myController = new Controller();
myLog = myController.EventLog;
myLog.MessageWritten+=new ABB.Robotics.Controllers.EventLogDomain.MessageWrittenEventHandler(myLog_MessageWritten);
return false;
}
private void myLog_MessageWritten(object sender, ABB.Robotics.Controllers.EventLogDomain.MessageWrittenEventArgs e)
{
if (myHandler == null)
this.myHandler +=new System.EventHandler(UpdateUI);
this.Invoke(myHandler, sender, e);
}
private void UpdateUI(object sender, EventArgs e)
{
ABB.Robotics.Controllers.EventLogDomain.MessageWrittenEventArgs ex = (ABB.Robotics.Controllers.EventLogDomain.MessageWrittenEventArgs) e;
this.label1.Text = ex.Message.Title.ToString();
}
Comments
-
Hi there,
just for informaion: The issue mentioned above was due to a bug in 5.06.01. It has been fixed in 5.06.02. The code above is working fine now.
BR
Ren?
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings