LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

making installer executables connect to devices

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? 

0 Kudos
Message 1 of 6
(3,771 Views)

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).

0 Kudos
Message 2 of 6
(3,753 Views)

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 

0 Kudos
Message 3 of 6
(3,743 Views)

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?

0 Kudos
Message 4 of 6
(3,740 Views)
Sorry, They are not selecting function panels, but selecting which instrument they have connected.  So for instance, I have two different types of compatible scopes, and the user selects which one they have connected.
0 Kudos
Message 5 of 6
(3,738 Views)

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

National Instruments
Applications Engineer
0 Kudos
Message 6 of 6
(3,723 Views)