system.vision.getClientId
Backwards Compatibility
This function replaces system.util.getClientId. Any scripts containing Vision Client scoped functions that were replaced with system.vision syntax will still work to maintain backwards compatibility.
This function is used in Python Scripting.
Descriptionβ
Returns a hex-string that represents a number unique to the running Client's session. You are guaranteed that this number is unique between all running Clients.
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.vision.getClientId()
Parametersβ
Nothing
Returnsβ
String - A special code representing the Client's session in a unique way.
Scopeβ
Vision Client
Code Examplesβ
Example #1
# This code prints the current Client's id to the debug console.
id = system.vision.getClientId()
print id