11-12-2008 10:06 AM
11-13-2008 11:54 AM
Hi DrMike
For case B, I do not see how this would violate the NI-Vision Acquisition License. I don't know if this would work however because even though the code is disabled it still might include IMAQdx dll's when you compile it into your executable.
11-13-2008 12:34 PM
11-13-2008 01:07 PM - edited 11-13-2008 01:08 PM
Conditional disables do in fact act as if the code is not present. So any DLL calls in conditionally disabled code will not cause the DLL to load. This is often useful when supporting multiple OSes where the code must call into different libraries on different OSes.
As to your original question about how licensing rules work with respect to this, I do not know for sure.
-Eric
11-14-2008 09:41 AM
Are you using the NI-IMAQ routines to acquire images on the IMAQ only systems? Or will those systems just not acquire any images?
If you are going to be acquiring images on all systems, the NI image acquisition hardware includes a license for the Vision Acquisition Software. In this case, it might be simpler to just install the Vision Acquisition Software on all the computers and use the same executable on all of them. You would still need to purchase licenses for the ones that are using IMAQdx to acquire the images.
If you won't be acquiring images on the IMAQ only systems, your current plan sounds pretty good.
Bruce
11-14-2008 10:51 AM
The current system uses analog cameras and imaq. The code was written though, so that systems without a framegrabber could still use the program's other features. We now want to add the ability to use Firewire camera on some systems instead on analog.
I was not aware that having an NI framegrabber in a system gives us license to NI vision acq. software. Is this info posted somewhere? Still, since some systems might not have a framegrabber it appears I'm not covered in all cases. Let's suppose all the non-imaqdx systems did have a framegrabber - if I didn't install the NI vision acq. software on those system wouldn't some sort of automated license manager either pop-up a warning and/or block execution? I assume the license check would occur when imaqdx vi is loaded or executed. Do you know which? If the license check was only when the imaqdx vi is called I cold prevent that from occurring but if the check is on imaqdx vi load then I need to make more effort.
11-14-2008 11:22 AM
I don't know if the IMAQ functions require a license or not. Since they are now part of the Vision Acq software, you might have to license them to use them.
I don't know if it is on loading or on execution. I would suspect loading, but I am not sure.
Your best option is probably to test it on a clean computer. Install a version that uses IMAQ only but doesn't license it, and see if it works. You could try different options until you find one that works the way you want.
Bruce