LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Minimum runtime install for program using custom NI-VISA USB driver

Solved!
Go to solution

I have a LabVIEW 2009 application that uses a driver for a USB device created using the NI-VISA Driver Wizard.  What is my minimum required runtime installation going to comprise of when I move this onto a non-development machine?

 

On my dev machine I've gone into MAX and given my new USB device a VISA alias.  I'm thinking that on the runtime machine I'm going to run into trouble if my deployment doesn't include MAX.

 

Right now, I assume the minimum is LabVIEW 2009 runtime, NI-DAQmx Configuration Runtime (includes MAX), NI-VISA runtime. 

 

Alternately, is there a method that avoids needing to configure an alias altogether?  It'd be nice to not need NI-DAQmx at all, as I'm not using any hardware other than my USB device with custom driver.

 

Thanks! 

0 Kudos
Message 1 of 5
(4,371 Views)
Solution
Accepted by topic author jaredforshey
Not sure why you would even consider installing DAQmx. You can install just MAX, the VISA runtime, and your MAX harware configuration. The LabVIEW installerallows you to export the configuration and then you would select the option to import on the deployment pc's. You would also have to include the installation of the inf file you created with the wizard.
Message 2 of 5
(4,362 Views)
Thanks Dennis!
0 Kudos
Message 3 of 5
(4,254 Views)

The installer is not working for me. It is asking for distributions that I cannot find (although they should be there). So I have resorted to installing a Run Time engine on the destination computer and then try to run an executable file created in LV2009 (using basic DAQ vi's). The engine starts to load things correctly, but then says it is missing a file , specifically nilvaiu.dll. Therefore, I am downloading NI-DAQmx Run-Time Engine. I am not sure if this specfic Run-Time engine will allow for me executable to run, but I am taking a shot. Do you have any other suggestions as I have completely abandoned the LV installer?

 

At this point I am VERY frustrated with the entire system. I am a relativley new use to LabVIEW (especially when it comes to source distributions). All I want to do is run my executable on computers without LabVIEW!!!!

0 Kudos
Message 4 of 5
(3,638 Views)

@hotshot wrote:

All I want to do is run my executable on computers without LabVIEW!!!!


Unfortunately, to run an .exe on another system w/o LV will require the installer; therefore, you cannot abandon it.  For some reason, your .dll did not get included on the install.  Based on your post, it sounds like you created an installer and then loaded an .exe separately.  Is this correct?  You first must create the .exe, then ensure it is included on the installer when you do the build (I assume you are using the Professional version).  You may have not included an option on your install that one of your VIs require.  You can also transfer the .dll in question from your dev machine to the running machine.  Check your path, but it will probably go in the c:\windows\system32 folder.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 5 of 5
(3,626 Views)