PacktLib: LabVIEW Graphical Programming Cookbook

LabVIEW Graphical Programming Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Understanding the LabVIEW Environment

Introduction

Configuring essentials

Configuring quick drop

Using debug tools

Creating custom probe

Compiling EXE

Debugging EXE

Compiling a standalone application

Customizing the User Interface

Introduction

Customizing controls

Adding a menu for runtime

Creating a dialog

Sizing the dialog automatically

Using 2D picture control

Updating controls with an action engine

Creating a simple animation

Creating subpanels

Working with Common Architectures

Introduction

Working with a case structure

Working with an event structure

Working with loops

Using the state machine architecture

Using the master slave architecture

Using the producer consumer architecture

Creating a SubVI

Creating an action engine

Calling a VI by reference

Calling a VI dynamically

Creating a reentrant VI

Managing Data

Introduction

Using error terminals

Using the flat sequence structure

Using the feedback node

Reusing memory

Manipulating an array

Using rendezvous

Using semaphore

Passing Data

Introduction

Using a type-def cluster

Using an event structure to pass data

Using a queue to pass data

Using a notifier to pass data

Using a shared variable to pass data

Using Simple TCP/IP Messaging to pass data

Error Handling

Introduction

Passing an error

Handling an error with an error file

Handling an error with a centralized VI

Creating an error queue

Working with Files

Introduction

Working with INI files

Working with XML files

Working with ASCII files

Working with binary files

Working with TDMS files

Using Telnet and FTP with files

Working with a database

Understanding Data Acquisition

Introduction

Using MAX

Working with VISA

Using VISA servers

Controlling an oscilloscope

Using a simple DAQ device

Using a CompactDAQ

Simplifying Code

Introduction

Using polymorphic VI

Simplifying logic selection

Using an array for computation

Formatting into string

Speedy array search

Using relative paths in EXE

Working with External Code and Applications

Introduction

Compiling a DLL

Using a .NET DLL

Debugging a .NET DLL

Using a C-based DLL

Using ActiveX

Building a web service

Using SMTP to send e-mail

Index