SlideShare a Scribd company logo
1/6 www.ni.com
Tutorial: Front Panel
Publish Date: Jul 02, 2008 | 22 Ratings | out of 53.64
Overview
This tutorial explores the Front Panel and its relationship with the Block Diagram. Learn about the different types of Front Panel objects as well as how to find them on the Controls palette and place
them on the Front Panel.
Table of Contents
This video explores the Front Panel and its relationship with the Block Diagram. Learn about the different types of Front Panel objects as well as how to find them on the Controls palette and place
them on the Front Panel.This video explores the Front Panel and its relationship with the Block Diagram. Learn about the different types of Front Panel objects as well as how to find them on the
Controls palette and place them on the Front Panel.This video explores the Front Panel and its relationship with the Block Diagram. Learn about the different types of Front Panel objects as well as
how to find them on the Controls palette and place them on the Front Panel.
The front panel window is the user interface for the VI. The front panel has controls and indicators, which are the interactive input and output terminals, respectively, of the VI. Controls and indicators
placed on the front panel are automatically placed on the block diagram. Refer to the “Block Diagram” tutorial for more information on block diagram terminals.
Front Panel Window
When you open a new or existing VI, the front panel window of the VI appears and functions as the graphical user interface or GUI of a VI. You can find the source code that runs the front panel on
the block diagram. The front panel window contains a toolbar across the top and a palette that you can access by right-clicking anywhere on the front panel.Controls
After opening the palette, use it to place controls and indicators on the front panel.Controls
Note: Use the thumb tack to pin the palette to the front panel and then select .Controls View»Change Visible Categories
2/6 www.ni.com
In the dialog box, click and then to make all available controls and indicators visible on the front panel.Change Visible Categories Select All OK
Controls and Indicators
Controls – knobs, push buttons, dials, and other input devices – are the interactive input terminals, while indicators — graphs, LEDs, and other displays – are the interactive output terminals of the VI.
Controls simulate instrument input devices and supply data to the block diagram of the VI. Indicators simulate instrument output devices and display data the block diagram acquires or generates.
The figure above has two controls – and – and one indicator, a waveform graph named . The user can change the input value for theNumber of Measurements Delay (sec) Temperature Graph
and controls. The user can see the value generated by the VI on the indicator. The VI generates the values for the indicators based onNumber of Measurements Delay (sec) Temperature Graph
the code created on the block diagram. To learn more about the block diagram, see the “Block Diagram” tutorial.
Every control and indicator has a data type associated with it. For example, the horizontal slide is a numeric data type. Double-click the control to make LabVIEW jump to theDelay (sec) Delay (sec)
terminal location on the block diagram. Notice the color of the terminal. Orange terminals signify a data type called double (DBL), which is a type of numeric data.
3/6 www.ni.com
The most commonly used data types are numeric, Boolean value, and string. Learn more about data types in the “Data Types” tutorial.
Numeric Controls and Indicators
The numeric data type can represent various types of numbers, such as integer or real. The two common numeric objects are the numeric control and the numeric indicator. Objects such as meters
and dials also represent numeric data. Use the palette to place a numeric control on the front panel and then use the increment and decrement buttons to adjust its values.Controls
Follow steps 1-3 to create a numeric control and change its value.
1. Right-click the front panel to open the palette, and from the subpalette drag and drop a onto the front panel.Controls Numeric Numeric Control
2. Label the control by double-clicking on the label and typing the word “Input.”Input
3. Now change the value of the control by clicking the increment or decrement button. Alternatively, you can double-click the number with either the Labeling tool or the Operating tool, enter a
new number, and press the key.<Enter>
Boolean Controls and Indicators
The Boolean data type represents data that has only two parts, such as TRUE and FALSE or ON and OFF. Use Boolean controls and indicators to enter and display Boolean values. Boolean objects
simulate switches, push buttons, and LEDs. The vertical toggle switch and the round LED Boolean objects are shown below. You can find them in the subpalette in the paletteBoolean Controls
(see below).
4/6 www.ni.com
String Controls and Indicators
The string data type is a sequence of ASCII characters. Use string controls to receive text from the user, such as a password or user name, and use string indicators to display text to the user. The
most common string objects are tables and text entry boxes as shown below. You can find string controls and indicators in the subpalette or the subpalette. SomeString and Path Lists and Tables
common string indicators are shown below.
Shortcut Menus and Property Dialog Boxes
All LabVIEW objects have associated shortcut menus and property dialog boxes. As you create a VI, use the shortcut menu items and/or the properties dialog box to change the appearance and/or
behavior of front panel and block diagram objects. To access the shortcut menu, right-click the object you want to modify. To access the Properties dialog box, select from the shortcutProperties
menu.
Follow steps 1 and 2 to create a string control and then use the Properties dialog box to add a scroll bar. Start with a blank VI.
1. From the subpalette, select a and place it on the front panel.String & Path String Control
2. Right-click the string indicator to open the shortcut menu and select .Properties
5/6 www.ni.com
3. From the Properties dialog box, put a check in the checkbox and click .Show vertical scroll bar OK
4. The resulting string control has a scroll bar so the user can scroll up and down to view all of the text. This allows the use of a small string control to display a large amount of text.
Front Panel Window Toolbar
Each window has a toolbar associated with it. Use the front panel window toolbar buttons to run and edit the VI. The following toolbar appears on the front panel window.
Click the button to run your VI. You do not need to compile your code; LabVIEW compiles it automatically. You can run a VI if the button appears as a solid white arrow, shown atRun Run
left.
The button appears broken when the VI you are creating or editing contains errors. If the Run button still appears broken after you finish wiring the block diagram, the VI is broken andRun
cannot run. Click this button to display the window, which lists all errors and warnings.Error List
Click to run the VI until you abort or pause execution. You also can click the button again to disable continuous running.Run Continuously
While the VI runs, the button appears. Click this button to stop the VI immediately if there is no other way to stop the VI. If more than one running top-level VI uses the VI,Abort Execution
the button is dimmed.
Caution: The button stops the VI immediately before it finishes the current iteration. Aborting a VI that uses external resources, such as external hardware, might leave theAbort Execution
resources in an unknown state by not resetting or releasing them properly. Design VIs with a stop button to avoid this problem.
Click to pause a running VI. When you click the button, LabVIEW highlights on the block diagram the location where you paused execution, and the button appearsPause Pause Pause
red. Click the button again to continue running the VI.Pause
6/6 www.ni.com
Select the pull-down menu to change the font settings for the selected portions of your VI, including size, style, and color.Text Settings
Click the pull-down menu to align objects along axes, including vertical, edge, and left.Align Objects
Click the pull-down menu to resize multiple front panel objects to the same size.Distribute Objects
Click the pull-down menu to resize multiple front panel objects to the same size.Resize Objects
Click the pull-down menu when your objects overlap each other and you want to define which one is in front or back of another. Select one of the objects with the Positioning toolReorder
and then select from and .Move Forward, Move Backward, Move To Front, Move To Back
Click the button to toggle the display of the context help window.Show Context Help Window
appears to remind you that a new value is available to replace an old value. The button disappears when you click it, press the key, or click the front panelEnter Text Enter Text <Enter>
or block diagram workspace.
Tip: The key on the numeric keypad ends a text entry, while the main key adds a new line. To modify this behavior, select , choose from the<Enter> <Enter> Tools»Options Environment
list, and place a checkmark in the option.Category End text entry with Enter key
It is important for a VI to have an intuitive and easy-to-read front panel. The front panel is essentially the gateway for all user input and output of a VI. Therefore it is essential that the programmer has
good grasp of how to effectively program a front panel.
Video Exercise The LabVIEW Environment Modules Home FIRST Community

More Related Content

What's hot

Open Office Calc : Lesson 05
Open Office Calc : Lesson 05Open Office Calc : Lesson 05
Open Office Calc : Lesson 05
thinkict
 
3.2 Transitioning to the Results Panel
3.2 Transitioning to the Results Panel3.2 Transitioning to the Results Panel
3.2 Transitioning to the Results Panel
Simon Jackson
 
Material 1 introduction to eviews
Material 1 introduction to eviewsMaterial 1 introduction to eviews
Material 1 introduction to eviews
Dr. Vignes Gopal
 
06 win forms
06 win forms06 win forms
06 win forms
mrjw
 
Vs c# lecture1
Vs c# lecture1Vs c# lecture1
Vs c# lecture1
Saman M. Almufti
 
Maliram poonia project
Maliram poonia projectMaliram poonia project
Keyboard Shortcuts for Windows
Keyboard Shortcuts for WindowsKeyboard Shortcuts for Windows
Keyboard Shortcuts for Windows
Arun Talukdar
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
llmeade
 
functions_in_microsoft_excel_2003
 functions_in_microsoft_excel_2003 functions_in_microsoft_excel_2003
functions_in_microsoft_excel_2003
gaurav jain
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
llmeade
 
Graphical User Interface (Gui)
Graphical User Interface (Gui)Graphical User Interface (Gui)
Graphical User Interface (Gui)
Bilal Amjad
 
Excel
ExcelExcel
ECON|i Software Training
ECON|i Software TrainingECON|i Software Training
ECON|i Software Training
EconomyModule
 
Eq hub operator_contractor_user_guide
Eq hub operator_contractor_user_guideEq hub operator_contractor_user_guide
Eq hub operator_contractor_user_guide
EqHub
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
llmeade
 
Excel shortcuts
Excel shortcutsExcel shortcuts
Excel shortcuts
Razzzz Kumar
 

What's hot (16)

Open Office Calc : Lesson 05
Open Office Calc : Lesson 05Open Office Calc : Lesson 05
Open Office Calc : Lesson 05
 
3.2 Transitioning to the Results Panel
3.2 Transitioning to the Results Panel3.2 Transitioning to the Results Panel
3.2 Transitioning to the Results Panel
 
Material 1 introduction to eviews
Material 1 introduction to eviewsMaterial 1 introduction to eviews
Material 1 introduction to eviews
 
06 win forms
06 win forms06 win forms
06 win forms
 
Vs c# lecture1
Vs c# lecture1Vs c# lecture1
Vs c# lecture1
 
Maliram poonia project
Maliram poonia projectMaliram poonia project
Maliram poonia project
 
Keyboard Shortcuts for Windows
Keyboard Shortcuts for WindowsKeyboard Shortcuts for Windows
Keyboard Shortcuts for Windows
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
functions_in_microsoft_excel_2003
 functions_in_microsoft_excel_2003 functions_in_microsoft_excel_2003
functions_in_microsoft_excel_2003
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
 
Graphical User Interface (Gui)
Graphical User Interface (Gui)Graphical User Interface (Gui)
Graphical User Interface (Gui)
 
Excel
ExcelExcel
Excel
 
ECON|i Software Training
ECON|i Software TrainingECON|i Software Training
ECON|i Software Training
 
Eq hub operator_contractor_user_guide
Eq hub operator_contractor_user_guideEq hub operator_contractor_user_guide
Eq hub operator_contractor_user_guide
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
 
Excel shortcuts
Excel shortcutsExcel shortcuts
Excel shortcuts
 

Similar to 2 front panel

Lab view introduction
Lab view introductionLab view introduction
Lab view introduction
JakupBerisha2
 
222066369 clad-study-guide
222066369 clad-study-guide222066369 clad-study-guide
222066369 clad-study-guide
homeworkping9
 
Labview Introduction
Labview IntroductionLabview Introduction
Labview Introduction
Rashmi
 
Sample instrument using lab view abhijeet agarwal-1
Sample instrument using lab view  abhijeet agarwal-1Sample instrument using lab view  abhijeet agarwal-1
Sample instrument using lab view abhijeet agarwal-1
Abhijeet Agarwal
 
Spreadsheet Auditing
Spreadsheet  AuditingSpreadsheet  Auditing
Spreadsheet Auditing
Joselito Perez
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
Terry Yoast
 
Labview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRLLabview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRL
Mohammad Sabouri
 
Alv report-tutorial-www.sapexpert.co .uk-
Alv report-tutorial-www.sapexpert.co .uk-Alv report-tutorial-www.sapexpert.co .uk-
Alv report-tutorial-www.sapexpert.co .uk-
Faina Fridman
 
Getting started with the visual basic editor
Getting started with the visual basic editorGetting started with the visual basic editor
Getting started with the visual basic editor
putiadetiara
 
Tugas testing
Tugas testingTugas testing
Tugas testing
Astrid yolanda
 
Visual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdfVisual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdf
sheenmarie0212
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
Ahllen Javier
 
Google calendar integration in iOS app
Google calendar integration in iOS appGoogle calendar integration in iOS app
Google calendar integration in iOS app
Ketan Raval
 
Using Applications in Windows - R.D.Sivakumar
Using Applications in Windows - R.D.SivakumarUsing Applications in Windows - R.D.Sivakumar
Using Applications in Windows - R.D.Sivakumar
Sivakumar R D .
 
Presentation on LabVIEW Basics
Presentation on LabVIEW BasicsPresentation on LabVIEW Basics
Presentation on LabVIEW Basics
Himshekhar Das
 
Vb%20 tutorial
Vb%20 tutorialVb%20 tutorial
Vb%20 tutorial
Satya Prakash
 
Gui in matlab :
Gui in matlab :Gui in matlab :
Gui in matlab :
elboob2025
 
SCREEN COMPONENTS OF TALLY - R.D.Sivakumar
SCREEN COMPONENTS OF TALLY - R.D.SivakumarSCREEN COMPONENTS OF TALLY - R.D.Sivakumar
SCREEN COMPONENTS OF TALLY - R.D.Sivakumar
Sivakumar R D .
 
c05_rac_2023.pdf
c05_rac_2023.pdfc05_rac_2023.pdf
c05_rac_2023.pdf
Manash Chatterjee
 
WinEst As 1. Es2. Tassignment stInfo (Esti.docx
WinEst As 1. Es2. Tassignment stInfo (Esti.docxWinEst As 1. Es2. Tassignment stInfo (Esti.docx
WinEst As 1. Es2. Tassignment stInfo (Esti.docx
alanfhall8953
 

Similar to 2 front panel (20)

Lab view introduction
Lab view introductionLab view introduction
Lab view introduction
 
222066369 clad-study-guide
222066369 clad-study-guide222066369 clad-study-guide
222066369 clad-study-guide
 
Labview Introduction
Labview IntroductionLabview Introduction
Labview Introduction
 
Sample instrument using lab view abhijeet agarwal-1
Sample instrument using lab view  abhijeet agarwal-1Sample instrument using lab view  abhijeet agarwal-1
Sample instrument using lab view abhijeet agarwal-1
 
Spreadsheet Auditing
Spreadsheet  AuditingSpreadsheet  Auditing
Spreadsheet Auditing
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Labview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRLLabview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRL
 
Alv report-tutorial-www.sapexpert.co .uk-
Alv report-tutorial-www.sapexpert.co .uk-Alv report-tutorial-www.sapexpert.co .uk-
Alv report-tutorial-www.sapexpert.co .uk-
 
Getting started with the visual basic editor
Getting started with the visual basic editorGetting started with the visual basic editor
Getting started with the visual basic editor
 
Tugas testing
Tugas testingTugas testing
Tugas testing
 
Visual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdfVisual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdf
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
 
Google calendar integration in iOS app
Google calendar integration in iOS appGoogle calendar integration in iOS app
Google calendar integration in iOS app
 
Using Applications in Windows - R.D.Sivakumar
Using Applications in Windows - R.D.SivakumarUsing Applications in Windows - R.D.Sivakumar
Using Applications in Windows - R.D.Sivakumar
 
Presentation on LabVIEW Basics
Presentation on LabVIEW BasicsPresentation on LabVIEW Basics
Presentation on LabVIEW Basics
 
Vb%20 tutorial
Vb%20 tutorialVb%20 tutorial
Vb%20 tutorial
 
Gui in matlab :
Gui in matlab :Gui in matlab :
Gui in matlab :
 
SCREEN COMPONENTS OF TALLY - R.D.Sivakumar
SCREEN COMPONENTS OF TALLY - R.D.SivakumarSCREEN COMPONENTS OF TALLY - R.D.Sivakumar
SCREEN COMPONENTS OF TALLY - R.D.Sivakumar
 
c05_rac_2023.pdf
c05_rac_2023.pdfc05_rac_2023.pdf
c05_rac_2023.pdf
 
WinEst As 1. Es2. Tassignment stInfo (Esti.docx
WinEst As 1. Es2. Tassignment stInfo (Esti.docxWinEst As 1. Es2. Tassignment stInfo (Esti.docx
WinEst As 1. Es2. Tassignment stInfo (Esti.docx
 

Recently uploaded

2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 

Recently uploaded (20)

2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 

2 front panel

  • 1. 1/6 www.ni.com Tutorial: Front Panel Publish Date: Jul 02, 2008 | 22 Ratings | out of 53.64 Overview This tutorial explores the Front Panel and its relationship with the Block Diagram. Learn about the different types of Front Panel objects as well as how to find them on the Controls palette and place them on the Front Panel. Table of Contents This video explores the Front Panel and its relationship with the Block Diagram. Learn about the different types of Front Panel objects as well as how to find them on the Controls palette and place them on the Front Panel.This video explores the Front Panel and its relationship with the Block Diagram. Learn about the different types of Front Panel objects as well as how to find them on the Controls palette and place them on the Front Panel.This video explores the Front Panel and its relationship with the Block Diagram. Learn about the different types of Front Panel objects as well as how to find them on the Controls palette and place them on the Front Panel. The front panel window is the user interface for the VI. The front panel has controls and indicators, which are the interactive input and output terminals, respectively, of the VI. Controls and indicators placed on the front panel are automatically placed on the block diagram. Refer to the “Block Diagram” tutorial for more information on block diagram terminals. Front Panel Window When you open a new or existing VI, the front panel window of the VI appears and functions as the graphical user interface or GUI of a VI. You can find the source code that runs the front panel on the block diagram. The front panel window contains a toolbar across the top and a palette that you can access by right-clicking anywhere on the front panel.Controls After opening the palette, use it to place controls and indicators on the front panel.Controls Note: Use the thumb tack to pin the palette to the front panel and then select .Controls View»Change Visible Categories
  • 2. 2/6 www.ni.com In the dialog box, click and then to make all available controls and indicators visible on the front panel.Change Visible Categories Select All OK Controls and Indicators Controls – knobs, push buttons, dials, and other input devices – are the interactive input terminals, while indicators — graphs, LEDs, and other displays – are the interactive output terminals of the VI. Controls simulate instrument input devices and supply data to the block diagram of the VI. Indicators simulate instrument output devices and display data the block diagram acquires or generates. The figure above has two controls – and – and one indicator, a waveform graph named . The user can change the input value for theNumber of Measurements Delay (sec) Temperature Graph and controls. The user can see the value generated by the VI on the indicator. The VI generates the values for the indicators based onNumber of Measurements Delay (sec) Temperature Graph the code created on the block diagram. To learn more about the block diagram, see the “Block Diagram” tutorial. Every control and indicator has a data type associated with it. For example, the horizontal slide is a numeric data type. Double-click the control to make LabVIEW jump to theDelay (sec) Delay (sec) terminal location on the block diagram. Notice the color of the terminal. Orange terminals signify a data type called double (DBL), which is a type of numeric data.
  • 3. 3/6 www.ni.com The most commonly used data types are numeric, Boolean value, and string. Learn more about data types in the “Data Types” tutorial. Numeric Controls and Indicators The numeric data type can represent various types of numbers, such as integer or real. The two common numeric objects are the numeric control and the numeric indicator. Objects such as meters and dials also represent numeric data. Use the palette to place a numeric control on the front panel and then use the increment and decrement buttons to adjust its values.Controls Follow steps 1-3 to create a numeric control and change its value. 1. Right-click the front panel to open the palette, and from the subpalette drag and drop a onto the front panel.Controls Numeric Numeric Control 2. Label the control by double-clicking on the label and typing the word “Input.”Input 3. Now change the value of the control by clicking the increment or decrement button. Alternatively, you can double-click the number with either the Labeling tool or the Operating tool, enter a new number, and press the key.<Enter> Boolean Controls and Indicators The Boolean data type represents data that has only two parts, such as TRUE and FALSE or ON and OFF. Use Boolean controls and indicators to enter and display Boolean values. Boolean objects simulate switches, push buttons, and LEDs. The vertical toggle switch and the round LED Boolean objects are shown below. You can find them in the subpalette in the paletteBoolean Controls (see below).
  • 4. 4/6 www.ni.com String Controls and Indicators The string data type is a sequence of ASCII characters. Use string controls to receive text from the user, such as a password or user name, and use string indicators to display text to the user. The most common string objects are tables and text entry boxes as shown below. You can find string controls and indicators in the subpalette or the subpalette. SomeString and Path Lists and Tables common string indicators are shown below. Shortcut Menus and Property Dialog Boxes All LabVIEW objects have associated shortcut menus and property dialog boxes. As you create a VI, use the shortcut menu items and/or the properties dialog box to change the appearance and/or behavior of front panel and block diagram objects. To access the shortcut menu, right-click the object you want to modify. To access the Properties dialog box, select from the shortcutProperties menu. Follow steps 1 and 2 to create a string control and then use the Properties dialog box to add a scroll bar. Start with a blank VI. 1. From the subpalette, select a and place it on the front panel.String & Path String Control 2. Right-click the string indicator to open the shortcut menu and select .Properties
  • 5. 5/6 www.ni.com 3. From the Properties dialog box, put a check in the checkbox and click .Show vertical scroll bar OK 4. The resulting string control has a scroll bar so the user can scroll up and down to view all of the text. This allows the use of a small string control to display a large amount of text. Front Panel Window Toolbar Each window has a toolbar associated with it. Use the front panel window toolbar buttons to run and edit the VI. The following toolbar appears on the front panel window. Click the button to run your VI. You do not need to compile your code; LabVIEW compiles it automatically. You can run a VI if the button appears as a solid white arrow, shown atRun Run left. The button appears broken when the VI you are creating or editing contains errors. If the Run button still appears broken after you finish wiring the block diagram, the VI is broken andRun cannot run. Click this button to display the window, which lists all errors and warnings.Error List Click to run the VI until you abort or pause execution. You also can click the button again to disable continuous running.Run Continuously While the VI runs, the button appears. Click this button to stop the VI immediately if there is no other way to stop the VI. If more than one running top-level VI uses the VI,Abort Execution the button is dimmed. Caution: The button stops the VI immediately before it finishes the current iteration. Aborting a VI that uses external resources, such as external hardware, might leave theAbort Execution resources in an unknown state by not resetting or releasing them properly. Design VIs with a stop button to avoid this problem. Click to pause a running VI. When you click the button, LabVIEW highlights on the block diagram the location where you paused execution, and the button appearsPause Pause Pause red. Click the button again to continue running the VI.Pause
  • 6. 6/6 www.ni.com Select the pull-down menu to change the font settings for the selected portions of your VI, including size, style, and color.Text Settings Click the pull-down menu to align objects along axes, including vertical, edge, and left.Align Objects Click the pull-down menu to resize multiple front panel objects to the same size.Distribute Objects Click the pull-down menu to resize multiple front panel objects to the same size.Resize Objects Click the pull-down menu when your objects overlap each other and you want to define which one is in front or back of another. Select one of the objects with the Positioning toolReorder and then select from and .Move Forward, Move Backward, Move To Front, Move To Back Click the button to toggle the display of the context help window.Show Context Help Window appears to remind you that a new value is available to replace an old value. The button disappears when you click it, press the key, or click the front panelEnter Text Enter Text <Enter> or block diagram workspace. Tip: The key on the numeric keypad ends a text entry, while the main key adds a new line. To modify this behavior, select , choose from the<Enter> <Enter> Tools»Options Environment list, and place a checkmark in the option.Category End text entry with Enter key It is important for a VI to have an intuitive and easy-to-read front panel. The front panel is essentially the gateway for all user input and output of a VI. Therefore it is essential that the programmer has good grasp of how to effectively program a front panel. Video Exercise The LabVIEW Environment Modules Home FIRST Community