System
Use the System functions to return Q-SYS environment information.
Returns the build version number of Q-SYS environment.
Syntax
System.BuildVersion
Example
If the current Q-SYS environment version is 7.1.0:
print (System.BuildVersion)
Debug Output
0
Returns the Q-SYS Core's Locking ID, which is used for Q-SYS feature license activation. For more information, see Licensing.
Syntax
System.LockingId
Example
print (System.LockingId)
Debug Output
*1AB2CDEFG3HI4J5
Returns a Boolean indicating whether the design is emulating or running on a Core.
Syntax
System.IsEmulating
Example
if System.IsEmulating then print("System is emulating.") end print(System.IsEmulating)
Debug Output
System is emulating. true
Returns the major version number of Q-SYS environment.
Syntax
System.MajorVersion
Example
If the current Q-SYS environment version is 7.1.0:
print (System.MajorVersion)
Debug Output
7
Returns the minor version number of Q-SYS environment.
Syntax
System.MinorVersion
Example
If the current Q-SYS environment version is 7.1.0:
print (System.MinorVersion)
Debug Output
1
Returns the complete version number of Q-SYS environment.
Syntax
System.Version
Example
If the current Q-SYS environment version is 7.1.0:
print (System.Version)
Debug Output
7.1.0