Home Programming

Discussion

Left ArrowBack to discussions page
ValVal Posts: 2 Recruit
edited September 2016 in Programming
Hello everyone !

My name is Valentin and I'm currently working on Universal Robots in my school (I'm a student).
I would like to kill a Pop-Up with a button but I don't know if it's possible or if there is special script codes...

The concept would be easy : I just want to make a light flash and then show the pop-up I would be able to kill with the button.


Thanks in advance,
Valentin

Best Answer

Comments

  • Grady_TurnerGrady_Turner Founding Pro, Partner, Beta Tester VIsion 1.1 Program, Wrist Camera URCap 1.3.0 Posts: 67 Handy
    @Val There is no script code for closing a popup on screen.  The only way I know to remotely close a popup is using the Dashboard Server

    http://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/dashboard-server-port-29999-15690/

    This would require your button going through another device that could connect to the server, and then send the command to close popup on button press
  • matthewd92matthewd92 Founding Pro, Tactile Sensor Beta Testers Posts: 1,267 Handy
    @Val you can close a popup with a button using the dashboard server as @Grady_Turner recommended combined with an event watcher.  You would need to wire it into an input on the robot and then use the event to trigger the dashboard server.  Here is an example program running in the simulator that opens a popup and then closes it when a timer has ran to a certain time and an output is turned on.

    The event monitors either outputs, inputs or variables for certain changes.  In this example the event is watching for Digital_Output[0] to go high (True) but it could be waiting for an input to go high as well.


    I will try to wire this up this morning and do a real example on the actual robot for you.

    Matt
  • ValVal Posts: 2 Recruit
    Thank you guys, it will really help me !
  • lakshmip001lakshmip001 Partner Posts: 41 Apprentice
    Hi, How to close detect that there is an error popup and close the popup through socket communication or ROS.

  • jarkarjarkar Posts: 3 Apprentice
    Hi. Is it possible to use this feature to answer a question which is presented in a popup?

    I tried to program popup which asks the user to answer yes or no on presented question. When I tried to close popup and answer the question same time via push button the program stops. 


  • matthewd92matthewd92 Founding Pro, Tactile Sensor Beta Testers Posts: 1,267 Handy
    Don't use a popup, you can simply use an operator input and then use the result of the query in your logic.  Use the Assignment command and change the source from expression to operator.
Sign In or Register to comment.
Left ArrowBack to discussions page