SlideShare uma empresa Scribd logo
1 de 15
Workshop 04
Review
Today's Topics
 Review of Workshop 04
 Arrays
 Clusters
 Error Cluster
 Enumerations
 Graphs and Charts
Review Question 1
True or False?
1. Arrays can contain only one data type.
2. An array must contain at least one element.
3. The Bundle function can be used to add elements to a
cluster.
4. Clusters can contain both controls and indicators within the
same shell; however, arrays cannot.
5. It is possible to have clusters containing arrays as well as
arrays containing clusters.
Review Question 1
True or False?
1. Arrays can contain only one data type. TRUE
2. An array must contain at least one element. FALSE
3. The Bundle function can be used to add elements to a
cluster. FALSE
4. Clusters can contain both controls and indicators within the
same shell; however, arrays cannot. FALSE
5. It is possible to have clusters containing arrays as well as
arrays containing clusters. TRUE
Review Question 2
The Error Cluster contains which of the following?
a) Boolean
b) Array
c) String
d) Numeric
e) Cluster
Review Question 2
The Error Cluster contains which of the following?
a) Boolean - status
b) Array
c) String - source
d) Numeric - code
e) Cluster
• Cluster elements have a logical
order unrelated to their position in
the shell
• You can view and modify the
cluster order by right-clicking
the cluster border and
selecting Reorder Controls
In Cluster from
the shortcut menu
• Order determines how cluster is
unbundled
Clusters: Order
• Clusters differ from arrays in that they are a fixed size
• Clusters can contain mixed data types; arrays contain only
one data type
• Like an array, a cluster is either a control or an indicator
and cannot contain a mixture of controls and indicators
• You can create a cluster of clusters, cluster of arrays,
array of clusters, but NOT an array of arrays
Clusters vs. Arrays
Enumeration
• An enum represents a pair of values, a string and
a numeric, where the enum’s value is one of a
defined list of value pairs
• Appears as a string to you, and a number to computer
Enumeration: Configuring
1. Right-click on the enum
2. Select Edit Items…
Demonstration 1:
Configuring an Enum
• Chart:
• Remembers history – new point added to end of plot
• Good for inside a loop
Graphs vs. Charts
• Graph:
• New plot of all new data
• Good for outside the loop
• Use the Context Help window
to determine how to wire multi-
plot data to Waveform Graphs
and XY Graphs
• Right-click the chart and select Advanced»Update
Mode from the shortcut menu
• Strip chart is the default update mode
• Scope chart and Sweep chart modes display plots
significantly faster than the strip chart mode
Chart Update Modes
Demonstration 2:
Plotting Charts and Graphs
THANK YOU !!!

Mais conteúdo relacionado

Mais procurados

Matrices And Application Of Matrices
Matrices And Application Of MatricesMatrices And Application Of Matrices
Matrices And Application Of Matricesmailrenuka
 
Tutorial: Chain
Tutorial: ChainTutorial: Chain
Tutorial: Chainpyhasse
 
Alg II 3-6 Solving Systems - Matrices
Alg II 3-6 Solving Systems - MatricesAlg II 3-6 Solving Systems - Matrices
Alg II 3-6 Solving Systems - Matricesjtentinger
 
Alg II Unit 3-6-solvingsystemsmatrices
Alg II Unit 3-6-solvingsystemsmatricesAlg II Unit 3-6-solvingsystemsmatrices
Alg II Unit 3-6-solvingsystemsmatricesjtentinger
 
Tutorial spyout
Tutorial spyoutTutorial spyout
Tutorial spyoutpyhasse
 
Linear algebra for deep learning
Linear algebra for deep learningLinear algebra for deep learning
Linear algebra for deep learningSwayam Mittal
 
Math 131 he goal of this lab is to find descriptive statistics/tutorialoutlet
Math 131 he goal of this lab is to find descriptive statistics/tutorialoutletMath 131 he goal of this lab is to find descriptive statistics/tutorialoutlet
Math 131 he goal of this lab is to find descriptive statistics/tutorialoutletHussanz
 
Application of matrices in Daily life
Application of matrices in Daily lifeApplication of matrices in Daily life
Application of matrices in Daily lifeshubham mishra
 
Advanced formula
Advanced formulaAdvanced formula
Advanced formulaMaymay027
 
Advanced Excel Courses Mumbai
Advanced Excel Courses MumbaiAdvanced Excel Courses Mumbai
Advanced Excel Courses MumbaiFaiyaz Khairaz
 
Assignment Algo
Assignment AlgoAssignment Algo
Assignment Algorihannaiu
 
Application of matrices in real life and matrix
Application of matrices in real life and matrixApplication of matrices in real life and matrix
Application of matrices in real life and matrixDarshDobariya
 

Mais procurados (18)

Matrices And Application Of Matrices
Matrices And Application Of MatricesMatrices And Application Of Matrices
Matrices And Application Of Matrices
 
Tutorial: Chain
Tutorial: ChainTutorial: Chain
Tutorial: Chain
 
L 14-ct1120
L 14-ct1120L 14-ct1120
L 14-ct1120
 
Alg II 3-6 Solving Systems - Matrices
Alg II 3-6 Solving Systems - MatricesAlg II 3-6 Solving Systems - Matrices
Alg II 3-6 Solving Systems - Matrices
 
Alg II Unit 3-6-solvingsystemsmatrices
Alg II Unit 3-6-solvingsystemsmatricesAlg II Unit 3-6-solvingsystemsmatrices
Alg II Unit 3-6-solvingsystemsmatrices
 
Tutorial spyout
Tutorial spyoutTutorial spyout
Tutorial spyout
 
Linear algebra for deep learning
Linear algebra for deep learningLinear algebra for deep learning
Linear algebra for deep learning
 
Application of matrices in real life
Application of matrices in real lifeApplication of matrices in real life
Application of matrices in real life
 
Data structure
Data structureData structure
Data structure
 
Sumif () ppt
Sumif () pptSumif () ppt
Sumif () ppt
 
Math 131 he goal of this lab is to find descriptive statistics/tutorialoutlet
Math 131 he goal of this lab is to find descriptive statistics/tutorialoutletMath 131 he goal of this lab is to find descriptive statistics/tutorialoutlet
Math 131 he goal of this lab is to find descriptive statistics/tutorialoutlet
 
Working of Merge Sort Code
Working of Merge Sort CodeWorking of Merge Sort Code
Working of Merge Sort Code
 
Merge sort
Merge sortMerge sort
Merge sort
 
Application of matrices in Daily life
Application of matrices in Daily lifeApplication of matrices in Daily life
Application of matrices in Daily life
 
Advanced formula
Advanced formulaAdvanced formula
Advanced formula
 
Advanced Excel Courses Mumbai
Advanced Excel Courses MumbaiAdvanced Excel Courses Mumbai
Advanced Excel Courses Mumbai
 
Assignment Algo
Assignment AlgoAssignment Algo
Assignment Algo
 
Application of matrices in real life and matrix
Application of matrices in real life and matrixApplication of matrices in real life and matrix
Application of matrices in real life and matrix
 

Semelhante a Workshop 04 Review

Semelhante a Workshop 04 Review (20)

Ei u4
Ei u4Ei u4
Ei u4
 
Lesson 11 one dimensional array
Lesson 11 one dimensional arrayLesson 11 one dimensional array
Lesson 11 one dimensional array
 
Unit 1 array based implementation
Unit 1  array based implementationUnit 1  array based implementation
Unit 1 array based implementation
 
Arrays.pptx
 Arrays.pptx Arrays.pptx
Arrays.pptx
 
LectureNotes-05-DSA
LectureNotes-05-DSALectureNotes-05-DSA
LectureNotes-05-DSA
 
Ppt lesson 12
Ppt lesson 12Ppt lesson 12
Ppt lesson 12
 
ppt on arrays in c programming language.pptx
ppt on arrays in c programming language.pptxppt on arrays in c programming language.pptx
ppt on arrays in c programming language.pptx
 
Unit 2 linear data structures
Unit 2   linear data structuresUnit 2   linear data structures
Unit 2 linear data structures
 
Arrays
ArraysArrays
Arrays
 
Arrays Basics
Arrays BasicsArrays Basics
Arrays Basics
 
Arrays in C++
Arrays in C++Arrays in C++
Arrays in C++
 
0-Slot18-19-20-ContiguousStorage.pdf
0-Slot18-19-20-ContiguousStorage.pdf0-Slot18-19-20-ContiguousStorage.pdf
0-Slot18-19-20-ContiguousStorage.pdf
 
Array
ArrayArray
Array
 
Acm aleppo cpc training seventh session
Acm aleppo cpc training seventh sessionAcm aleppo cpc training seventh session
Acm aleppo cpc training seventh session
 
Arrays in programming
Arrays in programmingArrays in programming
Arrays in programming
 
ARRAYS.pptx
ARRAYS.pptxARRAYS.pptx
ARRAYS.pptx
 
DS Module1 (1).pptx
DS Module1 (1).pptxDS Module1 (1).pptx
DS Module1 (1).pptx
 
Mod 12
Mod 12Mod 12
Mod 12
 
Bcolz Groupby Discussion Document
Bcolz Groupby Discussion DocumentBcolz Groupby Discussion Document
Bcolz Groupby Discussion Document
 
linked_list.pdf [for undergraduate students
linked_list.pdf [for undergraduate studentslinked_list.pdf [for undergraduate students
linked_list.pdf [for undergraduate students
 

Último

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Último (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

Workshop 04 Review

  • 2. Today's Topics  Review of Workshop 04  Arrays  Clusters  Error Cluster  Enumerations  Graphs and Charts
  • 3. Review Question 1 True or False? 1. Arrays can contain only one data type. 2. An array must contain at least one element. 3. The Bundle function can be used to add elements to a cluster. 4. Clusters can contain both controls and indicators within the same shell; however, arrays cannot. 5. It is possible to have clusters containing arrays as well as arrays containing clusters.
  • 4. Review Question 1 True or False? 1. Arrays can contain only one data type. TRUE 2. An array must contain at least one element. FALSE 3. The Bundle function can be used to add elements to a cluster. FALSE 4. Clusters can contain both controls and indicators within the same shell; however, arrays cannot. FALSE 5. It is possible to have clusters containing arrays as well as arrays containing clusters. TRUE
  • 5. Review Question 2 The Error Cluster contains which of the following? a) Boolean b) Array c) String d) Numeric e) Cluster
  • 6. Review Question 2 The Error Cluster contains which of the following? a) Boolean - status b) Array c) String - source d) Numeric - code e) Cluster
  • 7. • Cluster elements have a logical order unrelated to their position in the shell • You can view and modify the cluster order by right-clicking the cluster border and selecting Reorder Controls In Cluster from the shortcut menu • Order determines how cluster is unbundled Clusters: Order
  • 8. • Clusters differ from arrays in that they are a fixed size • Clusters can contain mixed data types; arrays contain only one data type • Like an array, a cluster is either a control or an indicator and cannot contain a mixture of controls and indicators • You can create a cluster of clusters, cluster of arrays, array of clusters, but NOT an array of arrays Clusters vs. Arrays
  • 9. Enumeration • An enum represents a pair of values, a string and a numeric, where the enum’s value is one of a defined list of value pairs • Appears as a string to you, and a number to computer
  • 10. Enumeration: Configuring 1. Right-click on the enum 2. Select Edit Items…
  • 12. • Chart: • Remembers history – new point added to end of plot • Good for inside a loop Graphs vs. Charts • Graph: • New plot of all new data • Good for outside the loop • Use the Context Help window to determine how to wire multi- plot data to Waveform Graphs and XY Graphs
  • 13. • Right-click the chart and select Advanced»Update Mode from the shortcut menu • Strip chart is the default update mode • Scope chart and Sweep chart modes display plots significantly faster than the strip chart mode Chart Update Modes

Notas do Editor

  1. Cluster are a fixed size because you cannot add an object to an existing cluster – only change the values within the object. You can create a new cluster which contains an existing cluster (cluster within a cluster), but this is still a new cluster. Great article about Arrays and clusters: http://zone.ni.com/devzone/cda/tut/p/id/7571
  2. An enum (short for enumeration) is a data type that pairs a number with a string (ie, months of the year with the number 0-11). The list of pairings is maintained as part of the data type (this is important when it comes to type definitions and is different from a ring, which looks similar)
  3. Right-click and select Edit Items… to bring up the window in which you can add/delete/move items on the list.
  4. Chart can be used outside a loop and Graphs can be used inside a loop. However, because of the update methods for charts and graphs, the are often used inside and outside loops, respectively.If you place a graph inside a loop and send a new data point to it, only that data point will be plotted- not the entire history of data. You would have to build an array with each loop iteration and send the entire array to the graph in order to see the historical data with each loop iteration. This is commonly overlooked by new LabVIEW users.
  5. Strip chart – once the right side of the plot area is reached, the next point added causes the entire plot to shift to the left, as if it were scrollingScope chart- once the right side of the plot area is reached, the next point added causes the plot to disappear and the new point is added to the far left side Sweep chart- once the right side of the plot area is reached, the next point added causes the plot to remain and the new point is added to the far left side- a red bar shows where new data is overwriting the old data a