10-21-2013 09:13 AM
Hello,
I'm a new user to LabVIEW and have begun creating a basic program for a test setup we have, incorporating a Measurement Computing device (USB-1608FS). I've worked out all the kinks and have a few simple functions going so I tried to create an executable to see if it would run on the laptop running the experiment. However, when I try to run the executable on the development machine I get this error:
I've looked through the forum archives and have tried mass compiling and playing around with the various Additional Exclusions in the Build Specifications, but to no avail. I suspect it has something to do with the Universal Library since other LabVIEW programs work fine as executables, albeit they are much simpler. If it doesn't work on the same computer that I've developed the VI in LabVIEW, then I doubt it would work on one that doesn't have the development version installed.
I've attached the basic VI for additional clarification. When building the executable, I leave all options as the default except when I tried to change around with the Additional Exclusions. Thank you for any help.
10-21-2013 11:01 AM
10-21-2013 03:30 PM
You are correct, 'Add Time Header.vi' just does exactly what it says. I added that to the project as an Always Included file just to check, but I ended up getting the same error.
10-22-2013 04:29 AM
Yeah - it was only in case you had some .NET call or something unexpected in there.
I absolutely agree with you in that case that it is going to be related to the Universal Library (ULx functions) in your VI.
I would check the Measurement Computing documentation or discuss with their support regarding the problems you are having. I had a very quick look and there are a few things that might be causing your problem - "Configuring your MCC hardware for use with UL for LabVIEW VIs" refers to a CB.CFG file which is used by the library to access the hardware. It might also be that you need to include the library in your EXE if it dynamically calls VIs (for example...)
This may also have the answer:
http://meerkat.adeptscience.co.uk/KnowledgeBase/KnowledgeBaseMk4.NSF/cbaf0788e6c2caa780256ddc004b746... (Universal Library Distribution Guide)
10-22-2013 12:31 PM
I tried adding the CB.CFG file as well as the MccDaq.dll file, as recommended by the source you posted. However, still the same result. I even tried building an application from a Universal Library example, but that gave the same error.
I'm currently engaged in an email exchange with tech support so we'll see where that goes.
02-26-2014 11:29 AM
I am having the same problem...
Did you ever figure out a solution?
02-27-2014 09:34 AM
A few questions...
What hardware are you using?
What version of LabVIEW?
Did you get the same error message?
02-27-2014 10:20 AM
Windows 7, LV 2012 Professional sp1
Measurement computing USB-1208LS
The program works fine, then I build an executable. If I run the executable (on my development pc), the run arrow is broken and I get the same error, I think the message repeats a lot more though.
02-27-2014 10:27 AM
Have used Measurement Computing devices in the past I believe Sam_Sharp is on the right track.
You need to install all of the Measurement Computing software on the target machine
02-27-2014 10:44 AM
I attached a pic of the error message. The error pops up when I click on the broken run arrow.