Contents

Method

SetLocation

ModuleDevice
LibraryCore
Action

Sets the user-defined location for this device.

Parameters

Location (string): The location value to assign to this device (up to 127 characters).

An empty value is okay, but the parameter itself is mandatory.
Return values

Location (string): The updated location value for this device.

Example
 Device.SetLocation(Location: "New York");
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

Available from v5.0.

Use Device.GetLocation to retrieve the assigned location value.

Changes to location are automatically sent back to the Tachyon Server so that the assigned value can be used as part of a coverage expression.