Versions Compared

Key

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

...

The embedded example is located in the LM-X SDK under LMX_SDK_INSTALLATION_PATH/examples/token.

To run the the embedded example and start the license server, lmx-serv, with a token.lic license:

  1. Compile the LM-X SDK on Windows or Unix.
    Set the LMX_SDK_INSTALLATION_PATH environment variable to point to the location of the LM-X SDK.

  2. Run the following command:

    Panel

    lmx-serv -l $LMX LMX_SDK_INSTALLATION_PATH/examples/token/token.lic

    The above command will start a license server and read a token.lic file that will be served by this server. (Note that the license server, lmx-serv, must be located in the path so that the copied/pasted command can work.)
     

    Note: This setting applies only to floating/network licenses.

Usage

The default location of the token is as follows:

  • On Windows: LMX_SDK_INSTALLATION_PATH/examples/token/token.exe
  • On Unix:LMX_SDK_INSTALLATION_PATH/examples/token/token

The following command will run the token program

...

  and query a license server to obtain all available details of the "myproduct" feature:

$LMX_PATH/examples/token/token myproduct
Panel

token myproduct

Note that the token program, token, must be located in the path so that the copied/pasted command can work.

  • 5 licenses of "prod_a" in version 1.0 
  • 5 licenses of "prod_b" in version 1.0