Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: SystemId and Sid are synonyms. For the purpose of this document will use Sid when referring to System ID.

Model developers can create define attribute of type SystemId or Sid.

...

When the Model Instance is created, using Create TQL Query, System ID value is automatically generated by TQLEngine.

...

Code Block
languagexml
titleFind Result Phidget Servo Model
linenumberstrue
<Find Status="Success">
  <Result>
    <PhidgetServoModel>
      <PhidServoId>KNI5JYVPAAAAUAABA4ONNHF2</PhidServoId>
      <PhidgetDeviceType>PhidgetAdvancedServo</PhidgetDeviceType>
      <ServoAngle>110</ServoAngle>
      <DeviceInterfaceIndex>0</DeviceInterfaceIndex>
      <ServoProtocolURL>phid://</ServoProtocolURL>
    </PhidgetServoModel>
  </Result>
</Find>

 

Note that the PhidServoId value is automatically generated even though it is NOT specified at the time of Create Query

Code Block
languagexml
titleAutomatically Generated System ID
linenumberstrue
<PhidServoId>KNI5JYVPAAAAUAABA4ONNHF2</PhidServoId>

About System ID:

  • Are Unique Have unique values per Installation of TQLEngine: System ID Values are guaranteed to be Unique for a given Installation of TQLEngine.
  • Can Value can neither be created given or modified by user: If an attribute is defined of type Sid or SystemId, their values can neither be specified or updated by the user.
  • New Values values are generated each time for same model: Each time an instance is deleted and created again new value System ID value.

...