13
BUILDING APPLICATIONS WITH LABVIEW Terry Stratoudakis, PE Certified LabVIEW Developer Certified Professional Instructor ALE System Integration Melville, New York March 5, 2009

BUILDING APPLICATIONS WITH LABVIEW

Embed Size (px)

Citation preview

Page 1: BUILDING APPLICATIONS WITH LABVIEW

BUILDING APPLICATIONS WITH LABVIEW

Terry Stratoudakis, PECertified LabVIEW DeveloperCertified Professional Instructor

ALE System IntegrationMelville, New YorkMarch 5, 2009

Page 2: BUILDING APPLICATIONS WITH LABVIEW

A. What is deployment?

B. Why build an executable?

C. Considers for Deploying

Overview

C. Considers for Deploying

D. LabVIEW Application Builder

E. Creating an Installer

F. Licensing

G. References

Page 3: BUILDING APPLICATIONS WITH LABVIEW

I. Among final phases of development

II. Mainly involves executables or installers

III. Not a trivial step

A. What is deployment?

III. Not a trivial step

IV. Requires testing

Page 4: BUILDING APPLICATIONS WITH LABVIEW

I. Run VI without LabVIEW Dev. Env.

II. Operator cannot change functionality

III. “Controlled” environment (re: QA friendly)

B. Why Build an Executable?

III. “Controlled” environment (re: QA friendly)

IV. More professional

Page 5: BUILDING APPLICATIONS WITH LABVIEW

� The architecture of your application

� The programming issues particular to the application

The application building process

C. Considerations for Deploying

� The application building process

� The installer building process

Page 6: BUILDING APPLICATIONS WITH LABVIEW

� Architecture – e.g. plug-in, dynamically called VIs, DLLs, etc.

� Shared Variable usage

External file locations (cfg, storage)

Considerations…

� External file locations (cfg, storage)

� Debugging needs

� External programs (DB, ActiveX)

� Deployment environment – OS and patches, fonts, screen resolution, etc.

Page 7: BUILDING APPLICATIONS WITH LABVIEW

I. Included in LabVIEW Professional

Development System

– or as an add-on package

D. Application Builder

– or as an add-on package

II. Configure and create:

– Executables, Installers, DLLs

– Web Services, Source Distribution

Page 8: BUILDING APPLICATIONS WITH LABVIEW

Application Builder pre 8.x

Stored as .bld files

Page 9: BUILDING APPLICATIONS WITH LABVIEW

Application Builder version 8.x

Project Explorer >> Build Specifications

� Application (EXE)

� Installer

� Shared Library (DLL)

� Source Distribution

� Web Service

� Zip File

Page 10: BUILDING APPLICATIONS WITH LABVIEW

E. Creating an Installer – DEMO

LabVIEW 8.6

NI-DAQmx 8.8NI-DAQmx 8.8

LabVIEW DSC Module

Report Generation Toolkit

Page 11: BUILDING APPLICATIONS WITH LABVIEW

I. Most applications have no run-time license cost.

a. Certain module/toolkit licenses are included with

hardware

Only certain modules have run-time license

F. Licensing

II. Only certain modules have run-time license

a. Datalogging Supervisory Control

b. Sound and Vibration

c. Vision

Page 12: BUILDING APPLICATIONS WITH LABVIEW

G. References� LabVIEW Help >> Application Builder, Using Build Specifications

� LabVIEW wiki

http://wiki.lavag.org/

� LabVIEW Advanced Virtual Architects (LAVA)

http://www.lavag.org

� ALE System Integration website:http://www.aleconsultants.com

� National Instruments Website

http://www.ni.com

Page 13: BUILDING APPLICATIONS WITH LABVIEW

ALE SYSTEM INTEGRATIONhttp://www.aleconsultants.com – [email protected]

� LabVIEW, LabWindows/CVI, TestStand, Visual Studio

� Customers: Test Labs, Manufacturers, Mil/Aero, Finance

� Based in Long Island, New York – projects nationwide� Based in Long Island, New York – projects nationwide

� National Instruments Certified Alliance Partner

� Over 11 Years Test & Automation experience

� Expertise in variety of instrument manufacturers’ products

� All developers have National Instruments Certification