Troubleshooting
Most license problems show their cause in the license window (Tools → Check License). Open the window first, look for lines marked ERROR or BLOCKED, and find the matching symptom below. The meaning of each line is in Reading the license window.
Key recognition
The dongle is plugged in but the license key count is 0
- Unplug and plug the dongle in again, or try another USB port. Dongles are recognized without a driver, and an open license window reflects the change within a second or two.
- Run
LicenseChecker\XLicenseChecker.exein the installation folder and check whether the dongle appears. If LicenseChecker does not show it either, the dongle or the USB port may be faulty; contact the supplier (ICT). - For a file license, check that registration finished and that the file was issued for this PC. → Registering a license
Projects open in simulation and the SIMULATION banner does not go away
- If the edition is QMachineStudio Free (no key + trial expired), simulation mode is forced when a project opens. Turning simulation mode off in the project options is refused, and "Cannot switch simulation mode while the machine is running." may appear. The cause is still the license.
- Even on a PC that used a dongle, grace operation does not apply if the dongle was removed or failed while QMS was closed and QMS starts with no key (unless grace time used earlier has not fully recovered yet). If the trial has expired, projects open in Free like this. → Grace operation after dongle loss
- Plug in a key or register a file license, then reopen the project or restart QMS.
- If it opens in simulation even with a key, check whether simulation mode is on in Project Options → Options tab. → Editions
When running is blocked
"Check Machine License Dongle." appears when starting
Look at KeyCount (number of keys) and LicenseMotorCount (licensed axes) shown with the notice, and find the cause in the license window.
| License window | Cause | Action |
|---|---|---|
License Key Count : 0, edition QMachineStudio Free | No key + trial expired | Connect a key or register a file license, then reopen the project |
Enabled Motor Count(Machine) … RESULT:'ERROR' | Too few axes | See 'Too few axes' below |
Enabled Camera Count(Machine) … RESULT:'ERROR' | Too few cameras | Turn off use (Enable) of unused cameras or use a key with enough cameras |
Project Code … RESULT:'ERROR' | Project code mismatch | See 'The project code shows ERROR' below |
In simulation mode you can still run regardless of the axis and camera counts (except when the structure signature does not match).
Too few axes (the license window list is red)
The machine's enabled motor count exceeds the total axes of the keys.
- Turn off
Enablefor unused motors in the Motor Editor to remove them from the enabled motor count. → Motor Editor - If you need more axes, add or upgrade keys (sales: sales@ict-lab.com).
- If one of several keys drops out and the axes run short, the machine stops even while running (grace operation applies only when all keys drop out). Check that all keys are plugged in.
The project code shows ERROR
- The project has a project code, but the connected RunTime key does not have that code or is dedicated to another project.
- Plug in the RunTime key issued for this project. With a Developer or Master key connected, the check is exempt.
- Changing the project code is done by ICT with the Master key. → Project code and structure signature
"The machine cannot run because the project structure does not match its signature." appears
On a machine with only a RunTime key, the project has no structure signature, or it has more modules, screens or drivers than the signature. Look at the reason in parentheses.
| Reason | Action |
|---|---|
not signed · invalid sign · sign belongs to another project · project code changed (…) | Get a .xmp saved with a Developer or higher key and deploy it |
Added items such as View +1, Driver XDRIVER_… +1 | Delete the added items, or plug in a Developer or higher key and save to renew the signature |
- In this case the project does not run in simulation mode either, because communication drivers run for real even in simulation.
- A running machine is not stopped for this reason; the next start is blocked.
"With a RunTime key, modules, views and drivers cannot be added and module types cannot be changed." appears
Only a RunTime key is connected, so feature additions are blocked. Plug in a Developer or higher key, do the work and save to sign. Maintenance changes such as scripts, parameters, IO and screen layout can be made with a RunTime key. Raising the login level to Developer does not lift this restriction.
Communication, tags and dispenser
"Communication has been stopped because no runtime license is available." appears
There is no key and the trial has expired (QMachineStudio Free), or the grace time after a dongle loss has ended. Connect a key or register a file license, then restart the program.
SCADA tags show the quality Unlicensed, or the external tag result is ERROR or BLOCKED
ERROR— the external tags exceed the licensed count. Only the allowed number of tags from the top of the tag table run. Add a SCADA grade code or reduce the number of external tags.BLOCKED— the project code or structure signature does not match, so this key cannot run the external tags.
"The dispense pattern cannot run without the dispense license (code 6)." appears
The RunTime key has no code 6 DISPENSE. Codes on V1 dongles are not counted. A V2 dongle or a file license with code 6 is needed. Editing, preview and simulation work without the code.
File license
"This license file cannot be used on this PC." — a file used on another PC does not work
A file license works only on the PC whose system code was used to issue it. Copy this PC's system code, send it to the supplier and have the license issued again.
"The license file could not be read." appears
The file is damaged or is not a license file. Copy the file you received again and import it.
The New Code button is grayed out
While a file license is registered, the New Code button is disabled, because a new system code would invalidate the registered file license.
The system code shows (not created)
The system code of this PC has not been created yet. Press New Code to create it, then Copy.
Grace operation
A red "LICENSE NOT VERIFIED" banner appeared in the title bar
No key at all has been recognized for more than 30 seconds, and the machine is in grace operation. It keeps running until the time shown in the banner. Plugging the dongle in again removes the banner. If the dongle is broken, contact the supplier within the grace time. → Grace operation after dongle loss
The grace time is shorter than 48 hours
The tank has not fully recovered since grace was last used. Grace time recovers by 1 second for every 2 seconds the dongle is recognized.
The grace time ended and the machine stopped
The machine can run again only when the dongle is connected or another key (a file license and so on) is recognized. Contact the supplier (ICT).
Other
"The project's license code is invalid." appears when opening a project
The project file may have been changed or damaged. Restore the project folder as originally deployed, and if that does not help, contact technical support (contact@ict-lab.com).
The Project Code tab does not appear in the project options
This is normal. The Project Code tab appears only while a Master key is connected. The login level does not matter.
The login level is Developer, but Developer key features do not work
The login level and the key type are different things. Features such as the project code exemption, structure signing and feature additions are decided by the type of the connected key. Check the License Grade line of the license window. → Developer dongle vs. RunTime dongle
A Master key is connected but the edition only shows Licensed
This is normal. The edition shows only whether a key is present; the key type appears in the License Grade line.
QMS does not ask about updates on exit
The new version check on exit runs only when a Developer or Master key is connected and Update on Exit is on in Tool Options. Help → Check for Updates... works regardless of the key.
Code items show only a number, without a name
Codes that are not in the QMS code dictionary (project codes and so on) are shown as numbers only. A V2 dongle does not store code names, so only codes in the dictionary get a name. This does not affect any count or check.
When contacting support
Sending the following with your inquiry helps find the cause quickly.
- A screenshot of the license window (edition · key count · grade · per-key lines · each result)
- The key information shown in LicenseChecker (
License Version,Serial No,License Type,Motor Axis,License Code Items) - The QMS log around the time of the problem → Log Manager
Contact sales (sales@ict-lab.com) for purchases and upgrades, and contact@ict-lab.com for technical support.