Creating a LabVIEW executible.

Post your LabVIEW discussions here
Post Reply
Zuccj
User
User
Posts: 2
Joined: Mon Nov 20, 2017 7:49 pm

Creating a LabVIEW executible.

Post by 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?

Hitesh
Site Admin
Site Admin
Posts: 2793
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Creating a LabVIEW executible.

Post by 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

Zuccj
User
User
Posts: 2
Joined: Mon Nov 20, 2017 7:49 pm

Re: Creating a LabVIEW executible.

Post by 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

Hitesh
Site Admin
Site Admin
Posts: 2793
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Creating a LabVIEW executible.

Post by 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

Zuccj
User
User
Posts: 2
Joined: Mon Nov 20, 2017 7:49 pm

Re: Creating a LabVIEW executible.

Post by 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.

Hitesh
Site Admin
Site Admin
Posts: 2793
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Creating a LabVIEW executible.

Post by Hitesh » Mon Jan 08, 2018 2:10 pm

Hi Zuccj,

Good to hear that this is resolved.

Regards,
Hitesh

Technical Support Engineer

Post Reply