Universal Robots TypeScript API - v10.12.0
    Preparing search index...

    Class ApplicationService

    Provides access to data stored in the application

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    communicationChannel: CommunicationChannel

    Methods

    • Returns the data stored on the specified Application Node

      Parameters

      • name: string

        the name of the Application Node to fetch

      Returns Promise<ApplicationNode>

    • Returns a list of the Application Nodes that contribute data to the currently loaded Application

      Returns Promise<string[]>

    • Returns true if a grid from application is valid. If the variable name is not a grid or a grid defined somewhere else then it always returns true.

      Parameters

      • name: string

        The name of the variable being validated

      Returns Promise<boolean>

      true if the grid is valid or is not a grid but a different variable type

    • returns a reply promise to the specified message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Promise<T>

    • returns an observable that will emit any messages replied to the specified message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Observable<T>

    • returns a reply promise for the requested message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Promise<T>

    • returns an observable that will emit any messages replied to the requested message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Observable<T>