Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Possibility to automatically activate and deactivate the license

#1
Hi out there. 

So I am sharing my RoboDK network license with my colleagues in the company, when I do not use RoboDK. However, is there an automatic deactivate license function, when you close down RoboDK?

If not, please add this to the feature request list :) Thanks in advance.
#2
With RoboDK 5.2 or newer, you should see this to activate or deactivate the license. 

   

Jeremy
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel. 


#3
You should select Deactivate on the computer that you've setup your license so you can use the license on another computer.

The license is not Deactivated automatically when you close RoboDK.
#4
        Can anyone tell me how to deactivate a networked license in v5.2.1. 

I don't see the "Activate/Deactivate" buttons.
#5
I just got back to you by email with more information about your license and the version of RoboDK you can use.
#6
For the record, you can trigger activation of your Network license and Deactivate it using command line options. For example you can activate it like this:
Code:
RoboDK.exe -LActivate=1

And deactivate the license using this command:
Code:
RoboDK.exe -LActivate=0

The following Python script shows a more detailed example to control this via the API:
Code:
from robolink import *
import time

# Constants:
Deactivate = 0
Activate = 1

# Choose to activate the license or deactivate it:
# Action = Deactivate
Action = Activate

RDK = Robolink()

# Show the current license name:
print(RDK.Command("License", "Name"))

# Provoke the activate or deactivate action:
RDK.Command("LActivate", Action)

# Wait until the action takes place (verification needs to happen with the server)
while int(RDK.Command("License", "Valid")) != Action:
    print(RDK.Command("License", "Name"))
    print("Working...")
    time.sleep(0.5)
   
# Print the last version
print(RDK.Command("License", "Name"))
print("Done")
  




Users browsing this thread:
1 Guest(s)