Log off User in combination with RAB

Hello,<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I have a problem with a Rab application in (5.07 and 5.08).
When I open a screen (For Example "Screen Test") from my "Main Screen", I used timer_tick event for updating the screen every 1000Ms. When I close back from "Screen Test" to "Main Screen" there is no problem at all. But.
When I select the ABB Menu and then select "Log On" Menu, and select for example "Default User" I get an error "Null Reference" from the timer_tick event in the "second" not opened screen.
I already tried to disable the timer when I close the "second screen" (Deactivate), and enable this timer when I open the "second screen". (Activate)
Can somebody help me with this problem?
Comments
-
Hi
Dont' really know how your application works but it sound like you aren't creating and disposing your timer object correctly between the screens.Per Svensson
Robotics and Vision Specialist
Consat Engineering0
Categories
- 10.4K All Categories
- 5.3K RobotStudio
- 351 UpFeed
- 15 Tutorials
- 9 RobotApps
- 282 PowerPacs
- 404 RobotStudio S4
- 1.8K Developer Tools
- 239 ScreenMaker
- 2.6K Robot Controller
- 251 IRC5
- 36 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 702 RAPID Programming
- 14 Wizard Easy Programming
- 107 Collaborative Robots
- 3 Job listings