Measurement Studio lecture handout given by Mr. Ashish Chandiok on Measurement Studio in National Workshop on LabVIEW and its Applications.Organized at Dayalbagh Educational Institute,Dayalbagh,AGRA from 28-29 August 2015.
On Demand Feedback Analysis for Certification Processrahulmonikasharma
Many companies provide certifications to other vendors to validate that the vendor’s product functions efficiently on their technology. But it so happens that the process of certification might take longer due to errors that pop up which the vendors will not be able to resolve. The vendors need to resolve the errors with the help of product owner’s engineers which is a lengthy and less efficient process. With this in regard, the solution of on-demand feedback analysis of the certification process proposed in this paper helps minimize the delay in the certification process.
On Demand Feedback Analysis for Certification Processrahulmonikasharma
Many companies provide certifications to other vendors to validate that the vendor’s product functions efficiently on their technology. But it so happens that the process of certification might take longer due to errors that pop up which the vendors will not be able to resolve. The vendors need to resolve the errors with the help of product owner’s engineers which is a lengthy and less efficient process. With this in regard, the solution of on-demand feedback analysis of the certification process proposed in this paper helps minimize the delay in the certification process.
Code in the Cloud presentation as presented in Antwerp Lindner Hotel on 8th December 2014
#codeinthecloud
Agenda from the event:
In the AM (Introduction)
- Introduction to Application Lifecycle Management and Visual Studio Online
- Managing your project: what, who and when
- Working with code: keeping the source code safe and in-sync and be productive as a developer
- Tracking progress: how are we doing
- Improving quality: continuous build, deploy and testing
EAT
In the PM (Putting it all into practice)
- Exciting demonstrations and walkthroughs on how to run your project with Visual Studio Online.
Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...TransWare AG
https://youtu.be/78hN6BF0k0U
Integrate Katalon Studio with modeling tools such as Microsoft Visio, Sparx Systems Enterprise Architect or others like ARIS. This approach links BDD with model-based testing to generate test scenarios and test scenarios collections.
This video demos a showcase:
- Visio flowchart diagram of a business process with business activities
- Mock-up web application supporting the business process
- Katalon Studio test case recording and execution on application forms level
- Visio flowchart with added test case information per business activity
- BPM-X to generate Katalon Studio test suites and collections
- Test execution for all end-to-end test cases of the business process
The presented solution is based on the BPM-X enterprise model integration bus.
BPM-X
…is agnostic of tools and modeling languages
…connects existing modeling and testing tools
…automates the generation of test cases and data
…provides orchestration for test automation tools
ContentsTeam Work Schedule3Team Task Assignment3Project .docxbobbywlane695641
Contents
Team Work Schedule 3
Team Task Assignment 3
Project Plan 4
Step 1: Define the Problem 4
Step 2: Create a Plan 4
Step 3: Execute 4
Step 4: Check Work 6
Step 5: Learn and Generalize 6
House of Quality (HOQ) for Theia’s Smart Glasses 7
Step 1: Define the Problem 7
Step 2: Create a Plan 7
Step 3: Execute 8
Step 4: Check Work 14
Step 5: Learn and Generalize 14
Aggregate Project Plan 15
Step 1: Define the Problem 15
Step 2: Create a Plan 15
Step 3: Execute 16
Step 4: Check Work 22
Step 5: Learn and Generalize 22
I was able to use the APP skills from the midterm and apply it to our actual project. We learned that project #2 yields the highest EMV so that will be the industry we will be focusing on. 22
Theia’s Conceptual Design Process 23
Step 1: Define the Problem 23
Step 2: Create a Plan 23
Step 3: Execute 24
Concept 1 27
Concept 2 28
Concept 3 29
Concept 4 30
Concept 5 31
Concept 6 32
Step 4: Check Work 34
Step 5: Learn and Generalize 34
Phase Ⅱ Reportca 36
Step 1: Define the Problem 36
Step 2: Create a Plan 36
Step 3: Execute 36
Project Planning 36
House of Quality 37
Aggregate Project Plan 37
Reverse Engineering (includes FAST analysis + diagram) 38
Conceptual Design 38
Step 4: Check Work 38
Step 5: Learn and Generalize 39
Team Work Schedule
Date
Task
10/24
Homework assigned, touch bases with team to decide weekend plans.
10/25
Read handout and HOQ example. Everyone assigned to do individual research about AR Glasses.
10/26
Read handout and HOQ example. Everyone assigned to do individual research about AR Glasses.
10/27
Meet at a cafe downtown, due to the power outage. Meeting time is 1 hour.
10/28
Everyone working remotely. Also everyone is working on Phase I/II at the moment. HOQ problem is postponed for a while as we are working on Phase I/II.
10/29
Meet at TBD. Meeting time is 1 hour.
10/30
Revise our work.
10/31
Final revisions. Turn in homework.
Team Task Assignment
Task
Phase 1 - Missing Info + Tech Strategy
Phase 1 - Missing Functional Maps
Project Planning
House of Quality for Product
Aggregate Project Plan
Reverse Engineering
Conceptual Design
Phase II ReportProject PlanStep 1: Define the Problem
We need to clearly determine the tasks required of this project and develop a systematic plan of action to tackle these tasks.Step 2: Create a Plan
Framework for Project Planning:
1. Clearly state the intent of the Project
2. Determine the Design/Development sub-tasks and activities Comment by Christopher Chiang: Develop OS
Develop Display technology
Develop glasses framework
Audio Output
Develop Bluetooth compatibility
Battery development
Charge development
Environment sensing capability
3. Create a design/development activity matrix
4. Create a schedule for each subtask using a GANTT Chart
5. Identify the Critical Path for the Project
6. Assign Clear Roles and Responsibilities & track progressStep 3: Execute
1. Clearly state the intent of the Project
a. Develop smart glasses wearable technology prototype within a 1 year timesp.
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and TricksSenturus
Senturus shares insights and tips on IBM Cognos 10 Framework Manager Metadata Modeling. View the video recording and download this deck: http://www.senturus.com/resources/cognos-framework-manager-metadata-modeling-tips-tricks/.
Topics Include:
• Use determinants, parameter maps and query macros to implement row level security
• Understand the use of determinants and their importance
• Enhance your metadata by leveraging parameter maps and query macros
See a live demonstration of implementing row-level security based on user attributes, dimensional modeling of relational query subjects and use of Model Design Accelerator.
Senturus, a business analytics consulting firm, has a resource library with hundreds of free recorded webinars, trainings, demos and unbiased product reviews. Take a look and share them with your colleagues and friends: http://www.senturus.com/resources/.
Code in the Cloud presentation as presented in Antwerp Lindner Hotel on 8th December 2014
#codeinthecloud
Agenda from the event:
In the AM (Introduction)
- Introduction to Application Lifecycle Management and Visual Studio Online
- Managing your project: what, who and when
- Working with code: keeping the source code safe and in-sync and be productive as a developer
- Tracking progress: how are we doing
- Improving quality: continuous build, deploy and testing
EAT
In the PM (Putting it all into practice)
- Exciting demonstrations and walkthroughs on how to run your project with Visual Studio Online.
Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...TransWare AG
https://youtu.be/78hN6BF0k0U
Integrate Katalon Studio with modeling tools such as Microsoft Visio, Sparx Systems Enterprise Architect or others like ARIS. This approach links BDD with model-based testing to generate test scenarios and test scenarios collections.
This video demos a showcase:
- Visio flowchart diagram of a business process with business activities
- Mock-up web application supporting the business process
- Katalon Studio test case recording and execution on application forms level
- Visio flowchart with added test case information per business activity
- BPM-X to generate Katalon Studio test suites and collections
- Test execution for all end-to-end test cases of the business process
The presented solution is based on the BPM-X enterprise model integration bus.
BPM-X
…is agnostic of tools and modeling languages
…connects existing modeling and testing tools
…automates the generation of test cases and data
…provides orchestration for test automation tools
ContentsTeam Work Schedule3Team Task Assignment3Project .docxbobbywlane695641
Contents
Team Work Schedule 3
Team Task Assignment 3
Project Plan 4
Step 1: Define the Problem 4
Step 2: Create a Plan 4
Step 3: Execute 4
Step 4: Check Work 6
Step 5: Learn and Generalize 6
House of Quality (HOQ) for Theia’s Smart Glasses 7
Step 1: Define the Problem 7
Step 2: Create a Plan 7
Step 3: Execute 8
Step 4: Check Work 14
Step 5: Learn and Generalize 14
Aggregate Project Plan 15
Step 1: Define the Problem 15
Step 2: Create a Plan 15
Step 3: Execute 16
Step 4: Check Work 22
Step 5: Learn and Generalize 22
I was able to use the APP skills from the midterm and apply it to our actual project. We learned that project #2 yields the highest EMV so that will be the industry we will be focusing on. 22
Theia’s Conceptual Design Process 23
Step 1: Define the Problem 23
Step 2: Create a Plan 23
Step 3: Execute 24
Concept 1 27
Concept 2 28
Concept 3 29
Concept 4 30
Concept 5 31
Concept 6 32
Step 4: Check Work 34
Step 5: Learn and Generalize 34
Phase Ⅱ Reportca 36
Step 1: Define the Problem 36
Step 2: Create a Plan 36
Step 3: Execute 36
Project Planning 36
House of Quality 37
Aggregate Project Plan 37
Reverse Engineering (includes FAST analysis + diagram) 38
Conceptual Design 38
Step 4: Check Work 38
Step 5: Learn and Generalize 39
Team Work Schedule
Date
Task
10/24
Homework assigned, touch bases with team to decide weekend plans.
10/25
Read handout and HOQ example. Everyone assigned to do individual research about AR Glasses.
10/26
Read handout and HOQ example. Everyone assigned to do individual research about AR Glasses.
10/27
Meet at a cafe downtown, due to the power outage. Meeting time is 1 hour.
10/28
Everyone working remotely. Also everyone is working on Phase I/II at the moment. HOQ problem is postponed for a while as we are working on Phase I/II.
10/29
Meet at TBD. Meeting time is 1 hour.
10/30
Revise our work.
10/31
Final revisions. Turn in homework.
Team Task Assignment
Task
Phase 1 - Missing Info + Tech Strategy
Phase 1 - Missing Functional Maps
Project Planning
House of Quality for Product
Aggregate Project Plan
Reverse Engineering
Conceptual Design
Phase II ReportProject PlanStep 1: Define the Problem
We need to clearly determine the tasks required of this project and develop a systematic plan of action to tackle these tasks.Step 2: Create a Plan
Framework for Project Planning:
1. Clearly state the intent of the Project
2. Determine the Design/Development sub-tasks and activities Comment by Christopher Chiang: Develop OS
Develop Display technology
Develop glasses framework
Audio Output
Develop Bluetooth compatibility
Battery development
Charge development
Environment sensing capability
3. Create a design/development activity matrix
4. Create a schedule for each subtask using a GANTT Chart
5. Identify the Critical Path for the Project
6. Assign Clear Roles and Responsibilities & track progressStep 3: Execute
1. Clearly state the intent of the Project
a. Develop smart glasses wearable technology prototype within a 1 year timesp.
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and TricksSenturus
Senturus shares insights and tips on IBM Cognos 10 Framework Manager Metadata Modeling. View the video recording and download this deck: http://www.senturus.com/resources/cognos-framework-manager-metadata-modeling-tips-tricks/.
Topics Include:
• Use determinants, parameter maps and query macros to implement row level security
• Understand the use of determinants and their importance
• Enhance your metadata by leveraging parameter maps and query macros
See a live demonstration of implementing row-level security based on user attributes, dimensional modeling of relational query subjects and use of Model Design Accelerator.
Senturus, a business analytics consulting firm, has a resource library with hundreds of free recorded webinars, trainings, demos and unbiased product reviews. Take a look and share them with your colleagues and friends: http://www.senturus.com/resources/.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
2. Table of Contents
• What is Measurement Studio
• Key Features of Measurement Studio
• Installation
• Getting Started with Measurement Studio
• Example
• Result
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
2
3. What is Measurement Studio
• Measurement Studio is the only suite of tools designed
for building professional engineering applications in
Microsoft Visual Studio 2010, 2012, and 2013
• It acquire, analyse, and display measurement data.
• It offers extensible measurement classes and user
interface (UI) controls for Windows Presentation
Foundation (WPF), Windows, and Web Forms to help
you design an end-to-end test or measurement system
in Visual Basic .NET and Visual C#.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
3
4. Key Features of Measurement
Studio
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
4
Engineering UI Controls
Present Data in an Intuitive and Impactful Format
Use graphs, charts, gauges, knobs, meters, and LEDs that are
designed for engineering applications and are compatible with
hardware-acquired data types.
Easily Create Professional UIs
Choose from a full suite of WPF controls to create a
sophisticated, resolution-independent user experience.
Support Tools in Visual Studio
Start With Integrated Examples, Templates, and Wizards
Get started faster with over 100 fully functional example
applications and built-in project templates.
Access Help and Technical Support
Receive personalized help from trained engineers to design, set up,
and troubleshoot your hardware and software.
5. Key Features of Measurement
Studio
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
5
Hardware Communication
Achieve Shorter Time to Meaningful Measurements
Remove the complexity of hardware communication
through high-level, intuitive, object-oriented hardware
class libraries.
Accelerate Development With Productivity Tools
Interactively configure and generate ready-to-use DAQ
code from within Visual Studio.
Advanced Analysis Libraries
Draw Meaningful Information From Your Data
Access over 500 engineering functions such as frequency
analysis, curve fitting, statistics, and advanced math.
Implement Inline Processing of Raw Data
Perform inline analysis in real time on acquired signals
without the difficult task of writing custom parsing algorithms.
6. Key Features of Measurement
Studio
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
6
Installer Builder
Ensure Proper Run-Time Behavior
Harness Microsoft Windows Installer distribution
technology to package built libraries, executables, drivers,
and dependencies into a single installer.
Stay in Your Native Environment
Launch the Installer Builder from within Visual Studio and
configure options in an intuitive user interface.
Compatibility With NI TestStand
Automate the Test Process
Use Measurement Studio to create the UI for your test
system.
Take Advantage of Flexible Debugging
Edit and debug .NET assemblies from NI TestStand using
Visual Studio with direct integration provided by Measurement
Studio.
7. Getting Started with
Measurement Studio
• Getting Started information—Refer to the installed NI Measurement Studio Help
topic to get started with Measurement Studio. For a list of Measurement
Studio resources, refer to the Using the Measurement Studio Help topic in
the NI Measurement Studio Help.
• Examples—Measurement Studio installs examples organized by class library,
depending on the component, the version of Visual Studio or the .NET
Framework that the example supports, the version of Measurement
Studio installed on the system, and the operating system. For more
information on example locations, refer to the Where to Find Examples
topic in the NI Measurement Studio Help.
• Measurement Studio website, ni.com/mstudio—Contains Measurement Studio
news, support, downloads, white papers, and product tutorials.
• NI Technical Support, ni.com/support—Provides access to online example
programs, tutorials, technical news, and Measurement Studio discussion
forums.
Review the information from the Microsoft website on using Visual Studio.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
7
8. Example:
Creating Measurement Studio App
• Setting up the project—Using the Measurement Studio Application Wizard, we will create a
new project that references the Measurement Studio Analysis class library and Windows
Forms controls.
• Adding user interface controls to the project—Using the Toolbox, smart tags, and the
Properties window, you will add and configure a button, waveform graph, legend, gauge, and
numeric edit user interface control.
• Generating, plotting, and analyzing the data—Using WhiteNoiseSignal and Mean, you will
generate data, plot the generated data on a waveform graph, and calculate the mean of the
data.
• Customizing the user interface—Using smart tags and the Collection Editor and Auto Format
dialog boxes, you will display the mean value on the gauge and the numeric edit, as well as
customize your user interface.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
8
9. Example:
Before Creating a project, Requirements
• Before you begin
The following components are required to complete a project in Measurement Studio:
• Microsoft Visual Studio 2010 or later
• Measurement Studio 2010 or later (Professional or Enterprise edition)
• NIDAQMX Software
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
9
10. Example:
Setting up of the Project
Step 1. Select
Start» All Programs» Microsoft Visual Studio» Microsoft Visual
Studio.
Step 2. Select
File» New» Project. The New Project dialog box launches.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
10
11. Example:
Setting up of the Project
Step 3
In the New Project window, in the pane on the left side, select
Installed Templates, then select Visual C# or Visual Basic,
depending on which language you want to create the project in.
You can then select Measurement Studio to see a list of
Measurement Studio project templates in the center pane.
Step 4
In the center pane, select NI Windows Application. Specify
MyMeasurementStudioProject for Name and specify a Location of
your choice.
Step 5
Click OK. The Measurement Studio Application Wizard launches.
Step 6
Select Analysis Library and Windows Forms User Interface Control
Library.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
11
12. Example:
Setting up of the Project
Step 7
Select Analysis Library and Windows Forms User Interface Control
Library.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
12
13. Example:
Adding User Interface Controls
Step 1
Select View» Toolbox to display the Toolbox. The Toolbox contains
components and controls that you can add to your project.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
13
14. Example:
Adding User Interface Control
Step 2
Expand the All Windows Forms group. The All Windows Forms group
contains controls and components included in the
System.Windows.Forms namespace.
Step 3
Select the Button control and drag and drop it onto the form.
Step 4
Right-click the button and select Properties to display the
Properties window. You configure the properties of the control in
the Properties window.
Step 5
The Text property will be highlighted. Type Start for the button
text.
Step 6
Expand the Measurement Studio group in the Toolbox.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
14
15. Example:
Adding User Interface Control
Step 7
Select the WaveformGraph control and drag and drop it onto the
form.
Step 8
Right-click the waveform graph and select Edit Plots to display
the WaveformPlot Collection Editor dialog box. You use the
WaveformPlot Collection Editor dialog box to add or remove plots
and to configure plot properties.
Step 9
Type Plot for the
Name. Click OK.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
15
16. Example:
Adding User Interface Control
Step 7
Select the Waveform Graph control and drag and drop it onto the
form.
Step 10
Select the Legend control and drag and drop it onto the form.
Step 11
Select the Numeric Edit control and drag and drop it onto the
form.
Step 12
Select the Gauge control and drag and drop it onto the form.
Step 13
Click the gauge smart tag to display the Gauge Tasks.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
16
17. Example:
Adding User Interface Control
Step 14
Type gauge for the name of the gauge.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
17
19. Example:
Generating Plotting and Analysing Data
C#
Step 1
Double-click the button control to display the Form1 code, with the cursor
inside the click event handler of the button control.
Step 2
Add the following code to generate random data, plot the data, calculate
the mean of the data, and display the mean on the gauge.
C# code
// Declare and initialize an instance of WhiteNoiseSignal.
WhiteNoiseSignal whiteNoise = new WhiteNoiseSignal();
// Store the generated data in a double array named data.
double[] data = whiteNoise.Generate(1000.0, 256);
// Use the PlotY method to plot the data.
Plot.PlotY(data);
// Use the Mean method to calculate the mean of the data.
double mean = Statistics.Mean(data);
// Display the mean on the gauge.
gauge.Value = mean;
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
19
20. Example:
Generating Plotting and Analysing Data
VB.Net
Step 1
Double-click the button control to display the Form1 code, with the cursor inside the
click event handler of the button control.
Step 2
Add the following code to generate random data, plot the data, calculate the mean of
the data, and display the mean on the gauge.
VB code
' Declare and initialize an instance of WhiteNoiseSignal.
Dim whiteNoise As New WhiteNoiseSignal()
' Store the generated data in a double array named data.
Dim data As Double() = whiteNoise.Generate(1000.0, 256)
' Use the PlotY method to plot the data.
Plot.PlotY(data)
' Use the Mean method to calculate the mean of the data.
Dim mean As Double = Statistics.Mean(data)
' Display the mean on the gauge.
gauge.Value = mean
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
20
21. Example:
Customizing user interface
Step 1
Right-click the legend and select Edit Items to display the
LegendItem Collection Editor dialog box. You use the LegendItem
Collection Editor dialog box to add or remove legend items and to
configure legend item properties.
Step 2
Select Plot in the Source drop-down list and enter Signal in the
Text box. Click OK. Now that you have specified a legend item for
the plot, changes you make to the plot will be reflected on the
legend.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
21
22. Example:
Customizing User Interface
Step 3
Right-click the legend and select Edit Items to display the
LegendItem Collection Editor dialog box. You use the LegendItem
Collection Editor dialog box to add or remove legend items and to
configure legend item properties.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
22
23. Example:
Customizing User Interface
Step 3
Right-click the graph and select Auto Format to display the Auto
Format dialog box. The Auto Format dialog box provides a set of
pre-configured control styles. When you select a style and click
OK, the Auto Format feature configures the appropriate control
properties to reflect the style you chose.
Step 4
Select Points Only. Click OK.
Notice that the legend
changed automatically to
match the formatting
of the graph.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
23
24. Example:
Customizing User Interface
Step 5
Click the gauge smart tag to display the Gauge Tasks.
Step 6
Select Auto Format to display the Auto Format dialog box.
Step 7
Select Dark and click OK.
Step 8
Right-click the gauge and select Properties to display the
Properties window.
Step 9
Set the Range property for the gauge with the drop-down Range
type editor. Type -0.2 for the minimum value and type 0.2 for the
maximum value.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
24
25. Example:
Customizing User Interface
Step 10
Click the numeric edit smart tag to display the NumericEdit
Tasks.
Step 11
Select Gauge in the Source drop-down list. Setting the Source
property to the gauge allows two-way binding between the
controls.
Step 12
Deselect ArrowKeys, Buttons, and Text for the InteractionMode
property of the numeric edit control. Deselecting these
interaction modes makes the numeric edit an indicator. The
numeric edit control only displays the calculated mean.
Step 13
Select the Format Mode property and in the Numeric Edit Format
Mode Editor dialog box, change the Precision to 4 to show four
decimal places of precision. Click OK.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
25
26. Example:
Customizing User Interface
Step 14
Select File » Save Form1.cs to save your application.
Step 15
Select Debug » Start Without Debugging to run the application.
1-Sep-15
Ashish Chandiok,
Dayalbagh Engineering Institute
26