RobotStudio event

ConfL Off with API

Hi!

I want to Create a Path with a ConL Off instruction at the beginning and a ConfL On instruction at the end.
I know how to create moveInstruction, but how can i create RsActionInstructions?
Does anyone know?

The API documentation is not very helpful in this :(

regards, Matthias


Comments

  • Hi Matthias
    Here is a simple example

    RsActionInstruction actInst = new RsActionInstruction(yourTask,"ConfL","On");
    yourPath.Instructions.Add(actInst);

    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • Thanks!
    Its easier than I thought :)