06-07-2016 02:50 AM
Hello,
is there a way to get the active Licence (with name, Version/Year, Serialnumber and Computer ID) in Labview as a VI? So I can check if everything is still activated without looking in the Licence Manager.
Solved! Go to Solution.
06-07-2016 03:39 AM
Hi NoName,
what's the sense in this?
- When you are using the LabVIEW IDE the IDE itself will tell you about "non valid" license keys.
- The license for a LabVIEW version stays valid "forever": When you activated your LabVIEW2015 on your pc this activation stays valid as long as you use this LabVIEW version on this pc!
- In an executable you don't need to check any LabVIEW license keys: the LabVIEW runtime is for free! (This is not valid for the IMAQ/Vision module)
06-07-2016 03:53 AM
I want to add it to the software for trobleshooting, so I can check programmily if there is everything ok with the licence.
06-07-2016 03:54 AM - edited 06-07-2016 03:57 AM
Hi NoName,
to which software do you want to add this license check?
LabVIEW IDE checks this already on startup.
When you create an exectuable you don't need this check as the runtime is for free.
When you use additional toolkits all you need is to check for errors when calling functions from this toolkit - as you should do anyway…
06-07-2016 04:00 AM
hello GerdW
I want to check software:
Vision Acquisition (What Software is needed/licenced)
-Februar 2015 (The Software version)
Vision Runtime (like above)
- SP1 2014
Computer ID
NI-Serial no.
06-07-2016 05:42 AM
I am not sure either why you would ever retrieve that information programmatically.
You can see the licensed modules (in your case: Vision Acquisition) in the About LabVIEW screen. If you have LV 2015 and see the camera symbol there, you know that you have the 2015 license for the vision module.
You also see the LV serial number in this screen, i am not sure about a vision serial if it is not the same as the LV one (bundle serial?).
All (including the other) information can be retrieved in the NI License Manager.
Norbert
06-07-2016 08:46 AM
When the software is handed out, I want to see what licence they have, they shouldn't know we are using Labview so I have to program away around it. I got the Computer ID figured out but the rest is still a mess. I found some infos in Registry about the licence.
06-07-2016 08:53 AM
@NoName1771 wrote:
When the software is handed out, I want to see what licence they have, they shouldn't know we are using Labview s[...]
Honestly, i have no clue what you are talking about. If you refer to a software as product, i, as customer, would expect you to state the minimum requirements for the software to run. If there are licenses required which are liable to costs (like Vision), this statement is mandatory.
From reading those requirements, i would immediatly see that the software itself is at least using some LV components. If i am not mad about NI, i wouldn't care as a customer, so it shouldn't hurt to state this.
What if you get a way to read out the information you are looking for and you run it on a system which requires these installations/licenses?
Besides that running an EXE with Vision on a computer not having a Vision license immediatly pops up a dialog (at least as far as i know)... so having that check inside the application itself is most likely "too late".
Norbert
06-07-2016 09:00 AM
Every System we hand out has a valid and activated license. I want a way to DISPLAY the code used in the Activation, and the Software parts, that were licensed. (like the Labview about side, just as one from my company itself)
So it looks like this:
*Information about the company, phone number, etc*
Vision Runtime - MX123456
...
I want to get the information which Labview parts are on the System and their licence
06-15-2016 12:56 AM
I solved the problem, I just took the Information from the Registry and the Computer ID from a file in the Labview-Path