RobotStudio event

VSTA addin



Hi,
 
I ran into the following problem (Robotstudio 5.15)
 
Selected ADD-ins.
Opened Visual Studio Tools for applications:
->New project ->Visual Basic ->Robot Studio Sample->Build
 
Back to RobotStudio :
VSTA Users Add-in
     Macro_AttachDetachObjectToRobot
     Macro_CreateTarget
     ..
     ..
 
Now my problems starts:
 
1) I cannot see the macros if I try to look for them in the Event Manager for simulation.
    I thougt the above macros should be listed under CALL VSTA macro ???
    (i know I can't use the sample for real, I just wanted to check the syntax so I could
    make my own functions to use from the event manager, e.g. playing with graphics objects
   during the simulation)
 
2) When I save the station, close Robot Studio, and opens the station once again, the
    VSTA macros in the VSTA users add-in folder is empty ??
 
Summary:
 
I am an experienced Visual Studio user, but I do not understand how to use it from
ABB robot studio.
 
Hope I will get some help.
 
Kind regards
 
Poul Blom
 
 
 
 
Poul Blom

Comments

  • Hi Poul,

    To use the macros in the Event manager you have to add them to the station.
    Then will they also be saved with the station.

    But if you are an experienced Visual Studio user I recommend that instead of working with VSTA and the Event Manager, create Smart Components with "Code Behind" instead. That is more powerful, and you can save and reuse your components in different stations. For more information take a look at our Developer Center:

    image


    Best regards,
    Anders Spaak
    ABB Robotics
  • Hi Anders,

    The problem is that I cannot add to station (add to station is dimmed when I right-click).

    Poul
    Poul Blom