05-27-2010 03:55 PM
i have a program that has a bunch of different .fp's loaded in which the end-user can select which one their using to use my program.
My issue is that when I create an install, the end-user installs the program, but when running the program, it is not connecting. I am trying to figure out why it is not working. I thought I was doing it correctly by changing the target settings to include all their libraries and by adding their fp's to the Files.
i am just trying to figure out what I am missing? Does the user need to install all the drivers manually like I have done when creating the program?
05-28-2010 01:38 AM
Hi,
function panels are available only while debugging a program, so that the programmer can use the provided functions conveniently. Accordingly, in an executable you can not connect or disconnect from a function panel (you can also not remove or change libraries that have been linked statically to your code).
05-28-2010 08:36 AM
I understand the use of the function panels and debugging. But for some reason, when installing my program, the program is not connecting to the instruments (scopes, supplies, etc). I am wondering if I am not including certain drivers in the install or what the issue is. The 488.2 driver was installed manually and works because I can connect manually using the MAX.
Also for instance, if I did not want to create an install, but just an executable, how would I do that? If someone else runs my "release" .exe, I get .dll errors.
Thanks
05-28-2010 08:46 AM
OK,
sorry, so it's me who did not understand your sentence:
i have a program that has a bunch of different .fp's loaded in which the end-user can select which one their using to use my program.
How can an end user run your executable and select different function panels?
05-28-2010 08:52 AM
05-28-2010 10:48 AM
Hi ngay528,
So if I am understanding you question correctly you are having errors when you deploy your application to another computer. I was wondering what errors you are receiving when you deploy the application? Also have you made sure to include in your installer all of the drivers you are using on your development computer. I saw that you are including the NI 488.2 driver but you also need to make sure to include the NI VISA driver (http://joule.ni.com/nidu/cds/view/p/id/1605/lang/en) Have a great day!
Best Regards,
Adam G