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

    Class ApplicationVariablesService

    Service for managing application variables.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    communicationChannel: CommunicationChannel

    Methods

    • Retrieves all application variables as an observable.

      Returns Observable<Record<string, ApplicationVariable>>

      An observable that emits a record of application variables.

    • Sends request to clean up variables in controller.

      Returns Promise<void>

    • Sends request to create a new variable.

      Parameters

      Returns Promise<void>

    • Sends request to delete an existing variable.

      Parameters

      • variableName: string

        The name of the variable to delete.

      Returns Promise<void>

    • Sends request to initialize variables in controller and store.

      Parameters

      Returns Promise<void>

    • 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>

    • Sends request to set value of an existing variable.

      Parameters

      Returns Promise<void>