Open and edit program and installation files

Program file

The SDK can open and edit program files with .urp extension. You can access and modify inner XML.

// Read program file
URProgram prg = URProgram.Load("myPrg.urp");

Program file

The SDK can open and edit installation files with .installation extension.

// Read installation file
URInstallation installation = URInstallation.Load("default.installation");

Try it with the Windows example

Classes

Members of URArchive :
public abstract class URArchive {
protected URArchive(XElement xml),
protected abstract string Extension { get; },
// File name that should be used on a UR robot
public string FileName { get; },
// Load a UR archive from stream and decode it as XML
public static XElement Load(Stream fileStream),
// Load a UR archive from file path and decode it as XML
public static XElement Load(string filePath),
public string Name { get; set; },
protected abstract string NameAttribute { get; },
protected abstract string RootElement { get; },
// Save encoded file to a stream
public void Save(Stream stream),
// Save encoded file to a directory, overwrite it if it exists
public string Save(string directory),
// XML description of the object
public XElement XML { get; }
}
Members of URProgram :
public class URProgram : URArchive {
// Create a URProgram from its XML definition
public URProgram(XElement xml),
protected override string Extension { get; },
public const string EXTENSION = ".urp",
// Load a program from stream
public static URProgram Load(Stream urpStream),
// Load a *.urp program from file path
public static URProgram Load(string urpFile),
protected override string NameAttribute { get; },
protected override string RootElement { get; }
}
Members of URInstallation :
public class URInstallation : URArchive {
// Create a URProgram from its XML definition
public URInstallation(XElement xml),
protected override string Extension { get; },
public const string EXTENSION = ".installation",
// Load an installation file from stream
public static URInstallation Load(Stream urpStream),
// Load a *.installation file from path
public static URInstallation Load(string urpFile),
protected override string NameAttribute { get; },
protected override string RootElement { get; }
}
Logo

UnderAutomation
66 Avenue des Champs-Elysées
75008 Paris
FRANCE

© 2021 UnderAutomation - UnderAutomation Universal Robots .NET Communication SDK (Software Development Kit)は、あらゆるURロボットと通信できる、カスタマイズされた.NET Core、.NET Framework、.NET Standardアプリケーションを作成する機能を提供します。Windows、Mac OS、Linux、LabView、Node.js、Python用のすぐに使えるサンプルが用意されています。TCP/IP Dashboard ServerとXML-RPCを使ってロボットをリモートコントロールし、Client Interfaceでデータストリームの受信とデコードを行います。