03-11-2011 04:33 AM
Hi,
I've an application which controls some devices...I've two questions:
1. I'm building an exe of my main VI. When I run it as exe on other PCs, it doesn't open the subVI (cam_pos_test.vi) (on my PC is everything running ok). The cam subVI is added in the always included VIs, when I build the application. Part of the main level VI looks like this (control/producer loop):
in the red circle is the subVI which opens the Ref to the cam_subVI. It looks like this:
I think: I make some error in the defining the path of the subVI (cam_pos_test.vi). Do you have some idea, what could be wrong? Why the cam_pos_test does not pop-up as it should on the other machines? 🙂 I've tested the cam_pos_test.vi as exe is running on other PCs.
2. I've Vision Acquisition License on my PC. Do I need Vision Acquisition License also for the PC where the executable is running (to use a cam)?
Thanks!
Angel
03-14-2011
03:49 AM
- last edited on
04-09-2024
10:16 AM
by
Content Cleaner
Hi Angel,
first to you second question: Yes, you need a deployment license for the Vision Acquisition Software. There are deployment licenses for that.
And I actually think that this might be the problem with your code and this is the reason, why its not running.
Please Check the licenses:
Vision Development:
Vision Acquisition:
https://www.ni.com/en-us/shop/product/vision-acquisition-software.html
Hope this helps, Mona
03-14-2011 07:26 AM
Hi Mona,
I've also thought about this problem. I've tested it last week on other lab PC with evaluation version of LV and Vision Acquisition:
with the source code => it works!
as an executable => it doesn"t work 😞
About the licenses: do I need for each PC a Vision Acquisition License (where the executable is running) ?! I've included the cam as an option for a nice visualization only....
Greetings,
Angel
03-14-2011 07:51 AM
Hi Angel,
it depends what exactly you are using for functions. If it is a function provieded by the Vision Acquisition Software or the Vision Development you will need a license and normally this kind of errors are caused by licensing.
What functions exactly are you using? Can you upload a very simple example of that? What kind of Software do you have installed on the PC?
Thanks, RMathews
03-14-2011 03:49 PM
Hi,
I've LabVIEW 2010 Prof. + Vision Acquisition License on my PC (where I write the code). To check: is the problem in the source code or in the executable, I've used an evaluation version of LV2010 on another PC ... as a VI it runs without problems on the lab PC, but as an executable it runs but doesn't open the cam window 😞 (everything else is ok)
The code of the cam.VI is attached. I've used only IMAQdx VIs to obtain an image from the cam...
Thank you for your time,
Angel
03-15-2011 11:02 AM
Hi There,
I think the problem is, that you will need the Vision deployment license to run it as an exe. I dont think that there is an Evalutation license for that. But you could just try it with installing the deployment license without activating it.
I hope this helps, RMathews
03-15-2011 12:09 PM
Are you sure that the path to the VI you are trying to open a reference to is correct ?
There are difference in the path the "Current VI's Path" constant.is giving you depending on if it is an exe or development env.
Make sure that the path is correct for the vi.