Personal Data

Username:
pernockham
Joined:
2020-05-14 09:47:48
Location:
MΓΆlnlycke / Sweden / CEST
Gender:
Male

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    Solved finally, in short by: listening to eventId = EVT_CmpMgr_LicenseState, make a callback, extract the event-parameter which contains the RUNTIME_LICENSE_STATE. This gives me the license state as LICENSED / LICENSED_LOS / DEMOMODE etc. What Im not certain of at this point is this the aggregation of all three licenses or just the RUNTIME? Ie, what if my CONTROL-license is ok but my Visu-license is to low, will that set LICENSE_LOST, or would I need other listeners to find out if my VISU will shut...

  • Posted a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    Third update. I figured that even knowing the level of the license, it will not tell me if its level is enough for the current application. There must be some other way to find this out? I see a component CM write in the Log if starting without license-dongle. "License lost - time left.. " Can I access this CM to check status from inside the application? This function is essential, why is it so hard to find info about implementation?

  • Modified a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    I think google has fooled me here, the only thing I can conclude so far is what i now from reading the licenseManager, which tells me that my valid license have the following product-code CONTROL - 16#3000 VISU - 16#3003, feature map: 1000 COM - 16#3004, feature map: 0200 Will different level of license give different product codes or will I see the active license level by other means? What I am trying to achieve is block Starting a machine with time limited operation should the application be larger...

  • Posted a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    I think google has fooled me here, the only thing I can conclude so far is what i now from reading the licenseManager, which tells me that my valid license have the following product-code CONTROL - 16#3000 VISU - 16#3003, feature map: 1000 COM - 16#3004, feature map: 0200 Will different level of license give different product codes or will I see the active license level by other means? What I am trying to achieve is block Starting a machine with time limited operation should the application be larger...

  • Modified a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    Im trying to read out active license by CmpCodeMeter but am not sure of the combination of ProductCode and FeatureMap that each of CONTROL, VISU and COM / SMALL, MEDIUM, LARGE equals. Started by trying CodeMGetContentByFirmcode (and productCode) expecting error 18 / Not Available if asking for a higher level of license compared to what I know is active, but function just returned the requested productcode and a featuremap Is this the way or is it better to use CodeMOpen? Which seems to also require...

  • Posted a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    Im trying to read out active license by CmpCodeMeter but am not sure of the combination of ProductCode and FeatureMap that each of CONTROL, VISU and COM / SMALL, MEDIUM, LARGE equals. Started by trying CodeMGetContentByFirmcode expecting error 18 / Not Available if asking for a higher level of license compared to what I know is active, but function just returned the requested productcode and a featuremap Is this the way or is it better to use CodeMOpen? Which seems to also require a featureCode....

  • Posted a comment on discussion Visualization πŸ‡¬πŸ‡§ on CODESYS Forge

    I must have ended in some kind of limbo between versions, because today after compile/download everything works as wanted.

  • Modified a comment on discussion Visualization πŸ‡¬πŸ‡§ on CODESYS Forge

    Two issues. Ive been struggling to get the user management the way I want it. I want to protect the device from unauthorized upload/download, but I do not want login requirement on webvisu. The combination that seems to work is to use "runtime device user management" while keeping the visu user management in "legacy mode"? Initially this seemed to work, but now images are not loaded when using direct access, while they are still shown if I access the webpage via Automation server. Im guessing its...

View All