LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vector XL Driver - LabVIEW wrapper

Hi all,

Could someone tell me how can I check license on Vectore HW (VN1630) using LabVIEW wrapper - Vector XL Driver?

There is one function called "xl Check License" in the wrapper, but I'm not able to find out where can I get parameter "protectionCode" of this function?

Waiting for your responses ... 🙂

Jiri

0 Kudos
Message 1 of 7
(4,296 Views)

That's something you have to take up with the vectorXL manufactorer. If they can't or don't want to give you that information, how should we be able to do that?

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 7
(4,262 Views)

I think OP is using the wrappers posted by user TroyK here. Indeed I could find a wrapper for xlCheckLicense function but it seems that it's not documented in the dll documentation. Maybe is not used anymore. I used these wrappers without the need for that function. Why do you need it?

 

 

Lucian
CLA
0 Kudos
Message 3 of 7
(4,232 Views)

Well that library was created using the Import Library Wizard (ILW) and thankfully reviewed and hand modified afterwards. While the ILW despite its name isn’t a magic tool, the created VI’s are a nice starting point for a real driver but generally at least suboptimal, often almost useless for an average LabVIEW user without deep C programming language knowledge, and regularly simply crashy, it does create a wrapper for every function it can parse in the header file that is also present in the DLL. So that is why it’s present in that library. Without proper documentation in the manual it is anyones guess if the actual VI implementation is correct and its use simply impossible. If I had created that library I would probably have removed that wrapper for this reason.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 4 of 7
(4,226 Views)

OK
I'll contact co. Vector.
Thank you both

0 Kudos
Message 5 of 7
(4,213 Views)

Maybe the most interesting question would be why you believe that you would need this function. According to the documentation from TroyK on his page for this library, the DLL driver can be used without any license. It seems to be the higher level software such as their Test Software and their own LabVIEW driver that require a specific license but the driver should be working without that.

 

After all you bought the hardware and it would be a bit strange if you had to buy an extra license to even be able to access that hardware. The old DOS days where you could sell a hardware with a register description so that everybody could himself/herself try to work out what register addresses to tickle in which order and what values and be done are long gone. Without a proper device driver and user space access library even the most expensive hardware board is simply as valuable as a brick nowadays.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 6 of 7
(4,207 Views)

Good question Rolf ...
We have more Vector's HW in our Lab and it is a rule that when you are looking for some HW you can't find it ... and moreover when you have some HW with license and some without license .... and some licenses are covered by an old license agreement and some ones are covered by new license agreement ...

I doing SW which checks all PCs in LAB and its output should be list of HW connected to relevant PCs + if it is possible, get an info about licenses. Of course I can base info about licenses on a database (DB)of licenses connected to relevant HW ... here I wanted to check available functionality od Vector's driver ...
Now I'm going to play with driver's functions which should get some info about licenses and later I'll contact manufacturer when I'll be no successful. When there is some restriction from manufacturer side I'll use DB...

Have a nice day

Jiri

0 Kudos
Message 7 of 7
(4,187 Views)