Install License Key
Motorcortex Libraries require a
license.lic file to run in a production environment. This section will explain how to acquire and install
license.lic file. You can always run your Motorcortex application without a license key, but the program will exit after 30 minutes.
- Motorcortex.io account
- Motorcortex Controller with running a application connected to laptop
Log into the Motorcortex controller from the console using a screen and keyboard or through ssh as described in Remote Access & File Transfer.
Acquire Hardware key.
For generating a License.lic file the controller Hardware key is needed.
Make sure a motorcortex application is deployed before determining the hardware key.
- On your controller type the following command.
- In the reply under Application information. Copy the Hardware Key: and list of Components:
Acquire The License File.
Email this hardware key and list of components to
You wil receive a
License.licfile trough E-mail.
Add The License File.
Go to login to your
motorcortex.ioaccount and open
Browse to the configuration package.
license.licfile in the configuration package (if you have to upload the file press
UPLOADtab on the right).
line #10change “licence.pem” to the name of your
Press save and exit the file.
Congratulations the your license has been installed.
If your hardware key is correct but the
License is invalid.
Check the date and time of the motion controller with the following command.
The generated license key should be older as the current date and time of the motion controller:
Change date and time to the current UTC time.