HWKey nevidí v RT

Toto je hlavní technické fórum pro diskusi o problémech při vytváření PROMOTIC aplikací a jejich řešení.

HWKey nevidí v RT

Postby Kushnerov » Fri 20. Aug 2021 4:35:04

Ahoj.
Ve vývojovém režimu je klíč viditelný. Když ale spustím projekt, klíč není vidět.

Здравствуйте.
В режиме разработки ключ виден. Но когда запускаю проект, то ключа не видно.

Hello.
In development mode, the key is visible. But when I start the project, the key is not visible.
Attachments
RTMode.png
RTMode
RTMode.png (103.56 KiB) Viewed 8258 times
DeveloperMode.png
DeveloperMode
DeveloperMode.png (69.62 KiB) Viewed 8258 times
Kushnerov
 
Posts: 5
Joined: Sat 11. Jan 2020 19:26:29

Re: HWKey nevidí v RT

Postby Kushnerov » Fri 20. Aug 2021 20:48:28

Musel jsem si vybrat klíč.

Нужно было выбрать ключ.

I had to choose a key.
Attachments
Select_Key.png
Select key
Select_Key.png (10.55 KiB) Viewed 8250 times
Kushnerov
 
Posts: 5
Joined: Sat 11. Jan 2020 19:26:29

Re: HWKey nevidí v RT

Postby Tomáš Bräuer » Mon 23. Aug 2021 12:57:08

Dobrý den,
jestli jsme to pochopili správně, tak jste měl vybranou volbu PmRtDemo, což znamená, že runtime ani nezkusí načíst HwKey a použije licenci PmRtDemo. Toto se ale musí explicitně vybrat ve volbě Runtime licence type. Tam je implicitně LicKey1, který načte licenci z HwKey a pokud není, použije se PmRtFree.
HwKey načítají pouze volby LicKey1 a LicKey2.
Samotné vývojové prostředí se nastavením tohoto ComboBoxu neřídí, protože to je volba pro runtime.

V INFO systému v runtime není zobrazený načtený klíč, ale zobrazena použitá licence. V aplikaci se musí nastavit, která licence se použije, protože v dosahu aplikace může být několik HwKey, síťové licence, atd.

Takže chyba byla u vás v nesprávně nastaveném konfigurátoru, který říkal, kterou licenci má runtime použít (PmRtDemo).

Hello,
If we understood correctly, you had the PmRtDemo option selected, which means that the runtime will not even try to load the HwKey and will use the PmRtDemo license. However, this must be explicitly selected in the Runtime license type option. There is implicitly a LicKey1 that will load the license from HwKey and if not, PmRtFree is used.
HwKey only loads the LicKey1 and LicKey2 options.
The development environment itself is not governed by the setting of this ComboBox, as this is a runtime option.

The runtime INFO system does not show the loaded key, but shows the license used. The application has to set which license to use because there may be several HwKeys, network licenses, etc. within range of the application.

So the error was in your incorrectly set configurator that told which license the runtime should use (PmRtDemo).
Tomáš Bräuer
Administrátor
 
Posts: 153
Joined: Thu 13. Dec 2012 9:13:13


Return to Nevím jak...

Who is online

Users browsing this forum: No registered users and 1 guest

cron