Configure Use Auto Scheduled Resource Step Dialog Box

Select Configure Use Auto Scheduled Resource in the context menu for the step to launch the Configure Use Auto Scheduled Resource Step dialog box from a TestStand User Interface . You can also the Configure Use Auto Scheduled Resource on the General tab of the Step Properties dialog box.

The Configure Use Auto Scheduled Resource Step dialog box contains the following options:

  • Resource Lock Name or Reference Expression —The lock(s) to acquire before executing the steps within the Use Auto Scheduled Resource block. You can specify a single lock by name or by the object reference you receive when you create a lock using a Lock step. You can specify multiple locks using either a string array containing the names of the locks or an object reference array containing object references to the locks.
    Note You can enter a string array constant in an expression with the following syntax: {"String1", "String2", "String3"}
  • Alternative Locks —A list of lock names or reference expressions . The step attempts to acquire the first lock in the list. If the lock is not available, the step attempts to acquire the next lock, and so forth, until it successfully acquires a lock. If the step cannot acquire a lock, the step proceeds to the next Use Auto Scheduled Resource step in the same Auto Schedule block.

    You specify alternative locks if the steps in the Use Auto Scheduled Resource sub-block can execute with more than one set of resources. For example, you could specify alternative locks " DAQCard1 " and " DAQCard2 " if the steps can execute with either card, depending on which card is available.

    • Add —Adds a new empty lock name or reference expression to the list after the currently selected item.
    • Delete —Deletes the currently selected item.
    • Move Up —Moves the currently selected item up one place in the list.
    • Move Down —Moves the currently selected item down one place in the list.
  • Acquired Lock (optional output string) —An expression that specifies a string variable or property into which to store the lock alternative the step acquires during execution. To identify the alternative lock it selects, the step stores the unevaluated alternative lock expression, exactly as the expression appears in the list.

See Also

Step Properties dialog box

Synchronization Step Types