Controlling the User Interface Use property nodes, invoke nodes, and control references to programmatically control front panel objects.

Similar documents
Hands-On: Introduction to Object-Oriented Programming in LabVIEW

EET 310 Programming Tools

Exercise 10: Basic LabVIEW Programming

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW

LabVIEW Lesson 5 Clusters

Introduction to LabVIEW

LabVIEW Advanced Programming Techniques

Introduction to LabVIEW Design Patterns

EVALUATION. WA1844 WebSphere Process Server 7.0 Programming Using WebSphere Integration COPY. Developer

Software Engineering Best Practices. Christian Hartshorne Field Engineer Daniel Thomas Internal Sales Engineer

Learning Remote Control Framework ADD-ON for LabVIEW

LabVIEW Internet Toolkit User Guide

LabVIEW DSP Test Integration Toolkit for TI DSP

LabVIEW Day 6: Saving Files and Making Sub vis

Lab 3: Introduction to Data Acquisition Cards

Data Acquisition Using NI-DAQmx

and Certification What Does It Take To Get Certified? Steven Hoenig NJ Business Unit Manager

Getting Started with the LabVIEW Mobile Module Version 2009

Storing Measurement Data

Software Engineering for LabVIEW Applications. Elijah Kerry LabVIEW Product Manager

LABVIEW DSP TEST TOOLKIT FOR TI DSP

Manage Software Development in LabVIEW with Professional Tools

First Bytes Programming Lab 2

LabVIEW Report Generation Toolkit for Microsoft Office

Bitrix Site Manager 4.1. User Guide

User guide for the Error & Warning LabVIEW toolset

Cell Phone Vibration Experiment

Developing a LabVIEW Instrument Driver

Integrating the Internet into Your Measurement System. DataSocket Technical Overview

Sample. LabVIEW TM Core 1 Course Manual. Course Software Version 2010 August 2010 Edition Part Number B-01

Terms and Definitions for CMS Administrators, Architects, and Developers

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

Record-Level Access: Under the Hood

Database Programming with PL/SQL: Learning Objectives

User Application: Design Guide

Orthopaedics SharePoint Site: User Guide. Version: Page 1 of 19

Getting Started with the LabVIEW Mobile Module

The Essentials of File Management with LabVIEW

DSP Laboratory: Analog to Digital and Digital to Analog Conversion

Deploying Cisco Unified Contact Center Express Volume 1

User Guide to LabVIEW & APT

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

BIA and BO integration other performance management options Crystal Reports Basic: Fundamentals of Report Design

Consumption of OData Services of Open Items Analytics Dashboard using SAP Predictive Analysis

Schoolwires Staff Website Reference Guide

TestManager Administration Guide

Excel & Visual Basic for Applications (VBA)

Performance Optimization Guide Version 2.0

Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute

XML Programming with PHP and Ajax

Asta Powerproject Enterprise

Bitter, Rick et al "Object-Oriented Programming in LabVIEW" LabVIEW Advanced Programming Techinques Boca Raton: CRC Press LLC,2001

4. Do you have a VGA splitter ( Y Cable)? a document camera?

HotelTV2. Easy Start Guide REV A0.6 D October. Web : Mail : support@vestek.com.tr Tel :

Communication Diagrams

Download and Installation Instructions. Visual C# 2010 Help Library

Tips and Tricks to Speed NI LabVIEW Software Development

Getting Started with the LabVIEW Embedded Module for ARM Microcontrollers 1.0 For the Keil MCB2300

Software Synthesis from Dataflow Models for G and LabVIEW

Visual Basic. murach's TRAINING & REFERENCE

Lab 4 - Data Acquisition

Steps when you start the program for the first time

LabVIEW Report Generation Toolkit for Microsoft Office User Guide

EPM2000 LabVIEW Building Applications Instructions

(Refer Slide Time: 2:03)

Client-server Sockets

Elixir Schedule Designer User Manual

How To Configure Syslog over VPN

Hierarchical Data Visualization. Ai Nakatani IAT 814 February 21, 2007

Lab View with crio Tutorial. Control System Design Feb. 14, 2006

Administrator s Guide

Chapter 2: Getting Started

Creating a table of contents quickly in Word

A Direct Manipulation User Interface for the Control of Communication Processes - Making Call Handling Manageable -

Using SQL Server 2008 Automated Backup

Quosal Form Designer Training Documentation

RUNNING A HELPDESK CONTENTS. using HP Web Jetadmin

CYCLOPE let s talk productivity

How To Use Query Console

An Automated Testing Tool Using UI Structure

RECOMMENDED JAVA SETTINGS

Adobe Acrobat 6.0 Professional

What's New in SAS Data Management

On-Net Surveillance Systems, Inc. Triggering Software Generic Events from the Windows Scheduler

Chapter 4 Accessing Data

User manual BS1000 LAN base station

A Real Time, Object Oriented Fieldbus Management System

Virto Pivot View for Microsoft SharePoint Release User and Installation Guide

Generating Automated Test Scripts for AltioLive using QF Test

How to set up as VPN Network

How to use ArGoSoft Mail Server.NET Freeware

Up and Running with LabVIEW Web Services

How to Configure Dynamic DNS on a Virtual Access Router

Review from last time. CS 537 Lecture 3 OS Structure. OS structure. What you should learn from this lecture

JORAM 3.7 Administration & Monitoring Tool

Petrel TIPS&TRICKS from SCM

Publish Joomla! Article

11 November

Power Monitoring Expert 7.2

Modbus and ION Technology

Transcription:

Controlling the User Interface Use property nodes, invoke nodes, and control references to programmatically control front panel objects. A. VI Server Architecture B. Control References C. Property Nodes D. Invoke Nodes Long Island LabVIEW User Group and IEEE Test and Measurement Group

A. VI Server Architecture What is the purpose of the VI Server and the class hierarchy of properties and methods? VI Server Purpose and Use Properties and Methods VI Class Hierarchy Long Island LabVIEW User Group and IEEE Test and Measurement Group

A. VI Server Architecture VI Server Purpose and Use Provides programmatic access to LabVIEW Use the VI Server to: Programmatically control front panel objects and VIs Dynamically load and call VIs Run VIs on a computer or remotely across a network Programmatically access the LabVIEW environment and editor (Scripting)

A. VI Server Architecture VI Server Hierarchy Objects Entities that exist within the current application instance. Properties Single-valued attributes of the object: read/write, read only, write only Methods Functions that operate on the object

A. VI Server Architecture VI Server Hierarchy Parent Class Control Property: Visible Method: Reinit To Default Child Class Boolean String Numeric Property: Mech Action Property: Enable Wrapping Method: Append String Property: Representation Object Property Values Label Text: Stop Button Visible: Yes Boolean Text: Stop

A. VI Server Architecture VI Server Hierarchy VI Application Generic Etc. Generic GObject GObject Control Control Boolean GraphChart Numeric Cluster Etc. Boolean

B. Property Nodes What are property nodes, how do we use them, and why? Definition Creating Property Nodes Execution Order Using Property Nodes Long Island LabVIEW User Group and IEEE Test and Measurement Group

B. Property Nodes Definition Block diagram nodes that allow the program to dynamically access and modify properties of objects You also can use the Property Node to access the private data of a LabVIEW class Implicitly or Explicitly linked to objects by references

B. Property Nodes Creating Property Nodes Functions > Programming > Application Control > Property Node Right click any control or indicator Create Reference to explicitly wire to existing property node Create Property Node for implicit link

B. Property Nodes Execution Note The node executes from top to bottom. The Property Node does not execute if an error occurs before it executes, so always check for the possibility of errors. If an error occurs in a property, LabVIEW ignores the remaining properties and returns an error.

B. Property Nodes Property Node Uses Value Change [Value, Value (Signaling)] UI Usability [Text, Disabled, Visible] Visual Effects [Bounds, Blinking]

C. Invoke Nodes What are invoke nodes, how do we use them, and why? Definition Creating Invoke Nodes Using Methods Long Island LabVIEW User Group and IEEE Test and Measurement Group

C. Invoke Nodes Definition Invoke Nodes call methods or actions on objects. Required Inputs Optional Inputs

C. Invoke Nodes VI Methods Invoke Nodes call methods or actions on objects. Class Name Method Name Parameter

C. Invoke Nodes Invoke Node Uses Reinit to Default Object-oriented 3 rd party drivers Print image to file

D. Control References How can we interact with the VI Server? Implicitly and Explicitly Linked Property Nodes Creating Control References Selecting the VI Server Class Long Island LabVIEW User Group and IEEE Test and Measurement Group

D. Control References Implicit and Explicit Nodes Main VI Main VI SubVI Implicitly Linked Property Node Explicitly Linked Property Node

D. Control References Data By Reference Manipulate references to the data instead of the data itself. Data Reference Data Copy Reference Data Copy Traditional dataflow: branches may create copies Reference By reference: points to memory location

D. Control References Operating on Data by Reference Data Value References must be used in conjunction with the In Place Element structure

D. Control References Closing References

D. Control References References in Loops Only place code that needs to be repeated inside the loop. Opening and closing references should be outside of the loop.

D. Control References LabVIEW Cleanup LabVIEW cleans up many references when the owning VI goes idle and others when the process closes. Manually close references to avoid undesirable memory growth, particularly for long-running applications.

D. Control References User Interface Property Nodes May load the front panel into memory. Require an extra buffer allocation for data values sent to or read from the Property Node, in comparison to reading and writing directly to a terminal.

D. Control References Alexandra s Example