01-21-2014 05:33 AM
Elijah Kerry did a real nice power point presentation on Application Builder ( Risk Associated w Source Distribution) back in 2012. I can't remeber what forum/group, etc I found it under. Does anyone know if there is a similar presentation for creating an Installer??
ie:
How do I make sure I get all the files needed to port my code to a target machine?
Do I need to create the exe file 1st?? or does Installer do that for me?? What about MAX?? What about DAQ?? etc, etc.???
Thanks.
01-21-2014 06:16 AM - edited 01-21-2014 06:17 AM
Usually you would create the exe using the Build Specification > New > Application (EXE) option in your project.
Then create an Installer using the Build Specification > New > Installer option.
The installer has an Additional Installers page that allows any extras like the LV run-time to be installed with your application.
Up to LV 2012 you need to know the extra options to install with your app, but (someone correct me if I'm wrong) I believe LV 2013 has automated this.
01-21-2014 07:40 AM - edited 01-21-2014 07:42 AM
Addressing specifics
An installer installs something. Often an installer installs an executable- You need to build the exe and target the exe with the installer.
MAX configuration support can be added to the installer.
DAQmx should be in your lvproj!
Neil is right that LabVIEW 2013 introduced an "Automatically select additional NI installers" option. It is not "Perfect"
01-21-2014 03:20 PM
@JÞB wrote:
DAQmx should be in your lvproj!
Why would you say this? I've never had DAQmx information in the project, should I be? I perform an export in MAX, and then include that as a support file, and perform the import programatically so that if needed the channel configuration can be modified as a test system changes.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-21-2014 04:14 PM
@Hooovahh wrote:
@JÞB wrote:
DAQmx should be in your lvproj!
Why would you say this? I've never had DAQmx information in the project, should I be?
Yes. Tasks Scales and chanels need to be defined somewhere. That *.xml file with a *.lvproj extension is a nice convinient place that DAQmx will look for.
01-21-2014 04:17 PM - edited 01-21-2014 04:18 PM
@JÞB wrote:
Yes. Tasks Scales and chanels need to be defined somewhere. That *.xml file with a *.lvproj extension is a nice convinient place that DAQmx will look for.
Excuse my ignorance on the subject because I've never used it. But is this useful for deploying DAQmx scales/Channels/Aliases? When I build an EXE and then an installer is the DAQmx scales and channels information inside the .lvproj imported? Or is this just useful for development?
EDIT: It looks like it only has scales/tasks/channels not aliases. So never mind.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-21-2014 04:27 PM
Hooovahh,
ALL of that DAQmx stuff can drag-n-drop from MAX to a LabVIEW Project explorer window. Yes, it deploys with the project and any exe that uses the project.
It is really cool! try it.
01-21-2014 04:27 PM
Hooovahh,
ALL of that DAQmx stuff can drag-n-drop from MAX to a LabVIEW Project explorer window. Yes, it deploys with the project and any exe that uses the project.
It is really cool! try it.