LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ browser not working in compiled exe

I have built an executable of my code.  It installs on a non-LabVIEW PC fine, but throws the error in the attached image.  Previous releases of this software worked fine.  I added functionality of being able to select a DAQ device/port/line shown in control line.jpg.  That control is for a sub-vi in my code.

When I did a search for the attached error:

"Cannot load the Browse dialog.  Some necessary components are missing.  To correct the problem, reinstall the drive software that is associated with this control"

. . . I found the same error in reference to a Fieldpoint IO Point causing this problem in an exe with steps to solve the issue, but could not find anything related to DAQ IO.

Any thoughts and/or suggestions would be much appreciated.  I would like to allow my user to select which DAQ port he wants to control.

-Aaron M. Baumer

Aaron M. Baumer
Download All
Message 1 of 3
(3,062 Views)

You say you have an installer for this, in the installer did you choose to include the DAQmx components?  You say it worked fine before which makes me believe that the DAQmx components were installed before.  If they were not then you will need to include them in the installer.  Expect the installer to go from 200MB for EXE and run-time to probably 800MB to 1.2GB with the DAQmx components being included.

 

EDIT: Another suggestion, is MAX installed with the installer?  It probably needs to be.  If it is installed can you see the device you are trying to use?  If not then I'm guessing DAQmx is not installed and I'm not sure how it could work otherwise.

0 Kudos
Message 2 of 3
(3,058 Views)

@Hooovahh wrote:

You say you have an installer for this, in the installer did you choose to include the DAQmx components?  You say it worked fine before which makes me believe that the DAQmx components were installed before.  If they were not then you will need to include them in the installer.  Expect the installer to go from 200MB for EXE and run-time to probably 800MB to 1.2GB with the DAQmx components being included.


I did a manual install of DAQmx on the pc in question before, but this time I included DAQmx in the installer anyway (and, yes, it is now a 1.4Gb file!).  Anyway, I'm having my guy onsite install that version to see if it helps, but I have a feeling it will not.  It's the same error as here (also here). so I think it may require a similar workaround.

 

Almost forgot, I'm running LabVIEW 2012.0f3, MAX 5.3.1f0

Aaron M. Baumer
0 Kudos
Message 3 of 3
(3,049 Views)