Test and Measurement Forum

Creating a LabVIEW executible.

Post your LabVIEW discussions here

Creating a LabVIEW executible.

Postby Zuccj » Thu Jan 04, 2018 8:06 pm

I have a VI that is created and working how I want, and want to turn it into an .exe so it can run on computers without labview installed. However, it keeps giving an error when trying to build the exe, and was wondering if there is any specific settings pico requires to be able to be built?
Zuccj
User
User
 
Posts: 2
Joined: Mon Nov 20, 2017 7:49 pm

Re: Creating a LabVIEW executible.

Postby Hitesh » Fri Jan 05, 2018 9:41 am

Hi Zuccj,

What error(s) are you getting when building the exe?

You will need to include the sub-vi files that the example depends on when building the exe, and ensure that the PicoSDK driver package is installed on the PC where the exe is to run.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2682
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Creating a LabVIEW executible.

Postby Zuccj » Fri Jan 05, 2018 1:22 pm

I've attached a snippet of the error I am getting. I tried downloading just the base 2000faststreaming, not changing anything and just building it exactly as it is downloaded, and I got the same error.
Attachments
building error.PNG
Zuccj
User
User
 
Posts: 2
Joined: Mon Nov 20, 2017 7:49 pm

Re: Creating a LabVIEW executible.

Postby Hitesh » Mon Jan 08, 2018 10:30 am

Hi Zuccj,

The ps2000Wrap.dll is installed as part of the PicoSDK if the ps2000 driver is selected.

Have you saved your LabVIEW code as a project (.lvproj) or is it just the .vi and .llb files? In the vi files, is the path to the ps2000Wrap.dll set to '..\..\Program Files (x86)...' or is it the absolute path i.e. C:\Program Files (x86)\Pico Technology\SDK\lib ?

Have you visited the NI Application Builder page as suggested in the dialog with details of your error?

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2682
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Creating a LabVIEW executible.

Postby Zuccj » Mon Jan 08, 2018 1:04 pm

is the path to the ps2000Wrap.dll set to '..\..\Program Files (x86)...' or is it the absolute path i.e. C:\Program Files (x86)\Pico Technology\SDK\lib ?

That was the issue. A couple functions didn't have the absolute path linked to them. Once I changed them to the correct location it built right away. Thanks.
Zuccj
User
User
 
Posts: 2
Joined: Mon Nov 20, 2017 7:49 pm

Re: Creating a LabVIEW executible.

Postby Hitesh » Mon Jan 08, 2018 2:10 pm

Hi Zuccj,

Good to hear that this is resolved.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2682
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests