RobotStudio event

Load Configuration file programatically

Is there a way to programatically load a new configuration/parameters file through RAPID or the C# API?

Comments

  • lemster68
    lemster68 ✭✭✭
    Not the whole file, AFAIK.  You can use WriteCfgData to modify parameters though.
    Lee Justice
  • Awesome! that may help move in the right direction. Can WriteCfgData be used to also create new parameters? Say I wanted to add a new DIO that my module would need for the test?
  • lemster68
    lemster68 ✭✭✭
    I don't think so, but you could start off with spares or placeholder IO which you could then change.
    Lee Justice