SlideShare a Scribd company logo
Building Measurement
Systems with Object
Oriented Labview
How can measurement systems be built from
objects ?



                                    Scalable
                                   Architectures
Measurement systems can be
  naturally thought of as
combinations of instruments.
A Real
                         Some extra
                         diagnostic
                         DMMs


                                                          Example
                                                        A bunch of
                                                        Lockin amplifiers




                                                        A special
                                                        multiplexor we
                                                        built for this
At least 4                                              project
thermometers



                                                          Some instruments
                                                          are standalone -
       A couple of
       superconducting

                                                          some are embedded
       magnets                        A (dual) magnet
                                      power supply
                                                          in hardware.
Let’s start with a simpler example
Thermometry Example

• this is a current source

• this is a voltmeter

• this is a resistor that varies its resistance
  with temperature - we can use it as a
  thermometer
Resistance First
     The actual circuit - we’ll
     make a 4-point resistance
     measurement.
     Let’s code to measure the
     resistance first.
Resistance Example
  MyCurrSource

  A (dual) current
  source instrument


                      Let’s identify the instruments
                      that we might need to use.




                                      FirstVoltmeter

                                      A simple voltmeter
Thermometry Example
                       Now something to describe
   MyCurrSource
                       the measurement process...
   A (dual) current
   source instrument




                         MyFirstResMeas

                         Which current
                         source ?
                         Which voltmeter ?




                                             FirstVoltmeter

                                             A simple voltmeter
Thermometry Example
                    MyFirstResMeas
                                                      Measure the Resistance Process
                    Which current source ?
                      ‘Mycurrsource’
                                                       - set current to zero
                    Which voltmeter ?
                                                       - wait for 1s
                      ‘FirstVoltmeter’
MyCurrSource
                                                       - measure the dc voltage (V1)
                                                          (take account of thermal offsets)
A (dual) current
source instrument                FirstVoltmeter
                                                       - set current to 100µA
                                 A simple voltmeter
                                                       - wait for 1s
                                                       - measure the new DC voltage (V2)

                                                       - set current to zero

                                                       - Calculate R as (V2-V1)/100µA

An example of the process
Thermometry Example
                          MyFirstResMeas

                          Which current source ?
                            ‘Mycurrsource’

                          Which voltmeter ?
                            ‘FirstVoltmeter’

      MyCurrSource
                                                   FirstVoltmeter

      A (dual) current
                                                   A simple voltmeter
      source instrument




The structure of measurement systems naturally
factors into measurement processes (green) and the
instruments which they use (yellow).
Thermometry Example
  MyCurrSource


                      Now add a second circuit
  A (dual) current
  source instrument



                                          SecondVoltmeter

                                          A simple voltmeter
Thermometry Example
                                                          Myfirstresmeas
             MySecondResMeas
                                                          Which current source ?
             Which current source ?
                                                            ‘ MyCurrSource’
               ‘MyCurrSource’
                                                          Which voltmeter ?
             Which voltmeter ?
                                                            ‘FirstVoltmeter’
               ‘SecondVoltmeter’

                                      MyCurrSource
                                                                                   FirstVoltmeter

                                      A (dual) current
                                                                                   A simple voltmeter
                                      source instrument
SecondVoltmeter

A simple voltmeter




           Using object references allows different
         measurements to share the same instruments.
Being able to call objects by reference is a
critical requirement for building a flexible
and reconfigurable system.
Making a thermometer
• Actually we package the resistor and
  calibrate it to yield a thermometer
  calibration file
                                     X312 Calib.csv

                                20
                                15
                            +   10
                                 5
                  SN X312        0
                                     0 7.5 15.0   30.0
Now add the calibration
                          Create a more specific measurement subclass
 MySecondResMeas

 Which current source ?
   ‘MyCurrSource’
                              MySecondThermMeas
 Which voltmeter ?
   ‘SecondVoltmeter’          Which current source ?
                                ‘Mycurrsource’
                                                                       X312
                              Which voltmeter ?
                                                               20
                                ‘SecondVoltmeter’

                                                               10
                              Where’s the calibration ?
                                ‘C:dataX312.csv’
                                                                0
                                                                    0 7.5 22.5



Keep the basic resistance code but add a
thermometer measurement subclass that has a
path to a calibration file stored on the file system.
The Final Object Model
                        MySecondThermMeas
MyCurrSource
                          X337

                          ‘C:dataX337.csv’               SecondVoltmeter


                                               SN X337




                                              SN X312

               MyFirstThermMeas

                 X312
                                                         FirstVoltmeter
                 ‘C:dataX312.csv’
What can we take from this
       example ?
Measurements and
            Instruments
Measurements

                                      Almost all conceivable
     MySecondThermMeas

                MyFirstThermMeas
                                      measurements can be
                                      factored as a generic
                                      measurement process
     SecondVoltmeter
                                      linked to some
          FirstVoltmeter
                                      instruments that do work
                       MyCurrSource
                                      in the real world.
Instruments
Measurements, Instruments
     .... and Controls
Measurements
                                                                       Controls
     MySecondThermMeas
                                              ProbeHeater
                MyFirstThermMeas



                                                       SampleMagneticField



     SecondVoltmeter

          FirstVoltmeter
                                              Changes would be made
                       MyCurrSource
                                              by accessing control
                             New CurrSource
                                              objects not the
Instruments
                                              instruments directly.
Control Loops
                                      TempControlledStage

Measurements
                                                                              Controls
                                get                  set

     MySecondThermMeas
                                                      ProbeHeater
                MyFirstThermMeas



                                                               SampleMagneticField



     SecondVoltmeter

          FirstVoltmeter

                       MyCurrSource
                                                 Control loops can be built
                             New CurrSource
                                                 by referencing both control
Instruments
                                                 and measurement objects.
Measurement systems can be
   naturally factored into
Measurement, Instrument and
 Control objects that work
         together.
Measurement systems naturally factor into physical
•
Instrument and virtual Measurement and Control
classes.
•Accessing Objects by reference allows the system to
be reconfigured very easily.
 This also allows instruments and measurements to
•
be shared for multiple purposes.


Scalable Architectures specialises in developing
measurement systems that scale continuously from
prototype to finished product.
                                     St. Johns Innovation Centre
     Scalable                        Cowley Road
    Architectures                    Cambridge
                                     CB4 0WS, UK
    www.scalable-architectures.com

More Related Content

Viewers also liked

Building Your Content Marketing Measurement Program From The Ground Up
Building Your Content Marketing Measurement Program From The Ground UpBuilding Your Content Marketing Measurement Program From The Ground Up
Building Your Content Marketing Measurement Program From The Ground Up
Act-On Software
 
Social Bakers EngageX: Building Measurement Frameworks - 1000heads
Social Bakers EngageX: Building Measurement Frameworks - 1000headsSocial Bakers EngageX: Building Measurement Frameworks - 1000heads
Social Bakers EngageX: Building Measurement Frameworks - 1000heads
Deanna Marie
 
Pr news pr measurement- building a foundation in metrics
Pr news   pr measurement- building a foundation in metricsPr news   pr measurement- building a foundation in metrics
Pr news pr measurement- building a foundation in metrics
Sandra Fathi
 
Data Center Measurement
Data Center MeasurementData Center Measurement
Data Center Measurement
42U Data Center Solutions
 
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
Njiraini Mwende
 
Building a Digital Measurement Plan - PSE Web 2013
Building a Digital Measurement Plan - PSE Web 2013Building a Digital Measurement Plan - PSE Web 2013
Building a Digital Measurement Plan - PSE Web 2013
ISL Digital Marketing
 
Advance building measurement NRM 2
Advance building measurement NRM 2Advance building measurement NRM 2
Advance building measurement NRM 2
Danushka Prädeep
 

Viewers also liked (7)

Building Your Content Marketing Measurement Program From The Ground Up
Building Your Content Marketing Measurement Program From The Ground UpBuilding Your Content Marketing Measurement Program From The Ground Up
Building Your Content Marketing Measurement Program From The Ground Up
 
Social Bakers EngageX: Building Measurement Frameworks - 1000heads
Social Bakers EngageX: Building Measurement Frameworks - 1000headsSocial Bakers EngageX: Building Measurement Frameworks - 1000heads
Social Bakers EngageX: Building Measurement Frameworks - 1000heads
 
Pr news pr measurement- building a foundation in metrics
Pr news   pr measurement- building a foundation in metricsPr news   pr measurement- building a foundation in metrics
Pr news pr measurement- building a foundation in metrics
 
Data Center Measurement
Data Center MeasurementData Center Measurement
Data Center Measurement
 
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
 
Building a Digital Measurement Plan - PSE Web 2013
Building a Digital Measurement Plan - PSE Web 2013Building a Digital Measurement Plan - PSE Web 2013
Building a Digital Measurement Plan - PSE Web 2013
 
Advance building measurement NRM 2
Advance building measurement NRM 2Advance building measurement NRM 2
Advance building measurement NRM 2
 

Similar to Introduction to Objects - building Measurement Systems

Digital Multimeters- Basic Guide
Digital Multimeters- Basic GuideDigital Multimeters- Basic Guide
Digital Multimeters- Basic Guide
Mithila6190
 
Section 1 1
Section 1   1Section 1   1
Section 1 1
Elliot Ruiz
 
EEE project.pptx
EEE project.pptxEEE project.pptx
EEE project.pptx
ASKSasi
 
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
Md Irshad Ahmad
 
ammeter and voltmeter presentation. For college pdf
ammeter and voltmeter presentation. For college pdfammeter and voltmeter presentation. For college pdf
ammeter and voltmeter presentation. For college pdf
ashutoshmall444
 
Testing components
Testing componentsTesting components
Testing components
vietem0610
 
various types of meters
various types of metersvarious types of meters
various types of meters
ITM universe , vadodara
 
TOPIC 2.5- Testing Equipments.pptx
TOPIC 2.5- Testing Equipments.pptxTOPIC 2.5- Testing Equipments.pptx
TOPIC 2.5- Testing Equipments.pptx
MartMantilla1
 
EMI-SUBJEST-VBR
EMI-SUBJEST-VBREMI-SUBJEST-VBR
EMI-SUBJEST-VBR
Vijay Raskar
 
Outcome 2.3 identify appropriate electrical instruments for the measurement...
Outcome 2.3   identify appropriate electrical instruments for the measurement...Outcome 2.3   identify appropriate electrical instruments for the measurement...
Outcome 2.3 identify appropriate electrical instruments for the measurement...
sanewton
 
Analog sensor Part-9
Analog sensor Part-9Analog sensor Part-9
Analog sensor Part-9
Techvilla
 
Photo resistor devices its working and applications.
Photo resistor devices its working and applications.Photo resistor devices its working and applications.
Photo resistor devices its working and applications.
Soudip Sinha Roy
 
Sensors-Interfacing Techniques
Sensors-Interfacing TechniquesSensors-Interfacing Techniques
Sensors-Interfacing Techniques
Dr.YNM
 
Free Ebooks Download
Free Ebooks DownloadFree Ebooks Download
Free Ebooks Download
Edhole.com
 
Elec01
Elec01Elec01
Elec01
isdnman
 
Psim tutorial- tiristor
Psim tutorial- tiristorPsim tutorial- tiristor
Psim tutorial- tiristor
SENAI
 
Senior Design#2 Cortes
Senior Design#2 CortesSenior Design#2 Cortes
Senior Design#2 Cortes
jeanpierrecf6
 
FUNDAMENTAL OF VOLTAGE AND CURRENT
FUNDAMENTAL OF VOLTAGE AND CURRENTFUNDAMENTAL OF VOLTAGE AND CURRENT
FUNDAMENTAL OF VOLTAGE AND CURRENT
AmolD8
 
4. Test instruments and their connections
4. Test instruments and their connections4. Test instruments and their connections
4. Test instruments and their connections
sanewton
 
Basic electrical measuring instruments
Basic electrical measuring instrumentsBasic electrical measuring instruments
Basic electrical measuring instruments
Pramod A
 

Similar to Introduction to Objects - building Measurement Systems (20)

Digital Multimeters- Basic Guide
Digital Multimeters- Basic GuideDigital Multimeters- Basic Guide
Digital Multimeters- Basic Guide
 
Section 1 1
Section 1   1Section 1   1
Section 1 1
 
EEE project.pptx
EEE project.pptxEEE project.pptx
EEE project.pptx
 
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
 
ammeter and voltmeter presentation. For college pdf
ammeter and voltmeter presentation. For college pdfammeter and voltmeter presentation. For college pdf
ammeter and voltmeter presentation. For college pdf
 
Testing components
Testing componentsTesting components
Testing components
 
various types of meters
various types of metersvarious types of meters
various types of meters
 
TOPIC 2.5- Testing Equipments.pptx
TOPIC 2.5- Testing Equipments.pptxTOPIC 2.5- Testing Equipments.pptx
TOPIC 2.5- Testing Equipments.pptx
 
EMI-SUBJEST-VBR
EMI-SUBJEST-VBREMI-SUBJEST-VBR
EMI-SUBJEST-VBR
 
Outcome 2.3 identify appropriate electrical instruments for the measurement...
Outcome 2.3   identify appropriate electrical instruments for the measurement...Outcome 2.3   identify appropriate electrical instruments for the measurement...
Outcome 2.3 identify appropriate electrical instruments for the measurement...
 
Analog sensor Part-9
Analog sensor Part-9Analog sensor Part-9
Analog sensor Part-9
 
Photo resistor devices its working and applications.
Photo resistor devices its working and applications.Photo resistor devices its working and applications.
Photo resistor devices its working and applications.
 
Sensors-Interfacing Techniques
Sensors-Interfacing TechniquesSensors-Interfacing Techniques
Sensors-Interfacing Techniques
 
Free Ebooks Download
Free Ebooks DownloadFree Ebooks Download
Free Ebooks Download
 
Elec01
Elec01Elec01
Elec01
 
Psim tutorial- tiristor
Psim tutorial- tiristorPsim tutorial- tiristor
Psim tutorial- tiristor
 
Senior Design#2 Cortes
Senior Design#2 CortesSenior Design#2 Cortes
Senior Design#2 Cortes
 
FUNDAMENTAL OF VOLTAGE AND CURRENT
FUNDAMENTAL OF VOLTAGE AND CURRENTFUNDAMENTAL OF VOLTAGE AND CURRENT
FUNDAMENTAL OF VOLTAGE AND CURRENT
 
4. Test instruments and their connections
4. Test instruments and their connections4. Test instruments and their connections
4. Test instruments and their connections
 
Basic electrical measuring instruments
Basic electrical measuring instrumentsBasic electrical measuring instruments
Basic electrical measuring instruments
 

Recently uploaded

What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
ScyllaDB
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Ukraine
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 

Recently uploaded (20)

What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 

Introduction to Objects - building Measurement Systems

  • 1. Building Measurement Systems with Object Oriented Labview How can measurement systems be built from objects ? Scalable Architectures
  • 2. Measurement systems can be naturally thought of as combinations of instruments.
  • 3. A Real Some extra diagnostic DMMs Example A bunch of Lockin amplifiers A special multiplexor we built for this At least 4 project thermometers Some instruments are standalone - A couple of superconducting some are embedded magnets A (dual) magnet power supply in hardware.
  • 4. Let’s start with a simpler example
  • 5. Thermometry Example • this is a current source • this is a voltmeter • this is a resistor that varies its resistance with temperature - we can use it as a thermometer
  • 6. Resistance First The actual circuit - we’ll make a 4-point resistance measurement. Let’s code to measure the resistance first.
  • 7. Resistance Example MyCurrSource A (dual) current source instrument Let’s identify the instruments that we might need to use. FirstVoltmeter A simple voltmeter
  • 8. Thermometry Example Now something to describe MyCurrSource the measurement process... A (dual) current source instrument MyFirstResMeas Which current source ? Which voltmeter ? FirstVoltmeter A simple voltmeter
  • 9. Thermometry Example MyFirstResMeas Measure the Resistance Process Which current source ? ‘Mycurrsource’ - set current to zero Which voltmeter ? - wait for 1s ‘FirstVoltmeter’ MyCurrSource - measure the dc voltage (V1) (take account of thermal offsets) A (dual) current source instrument FirstVoltmeter - set current to 100µA A simple voltmeter - wait for 1s - measure the new DC voltage (V2) - set current to zero - Calculate R as (V2-V1)/100µA An example of the process
  • 10. Thermometry Example MyFirstResMeas Which current source ? ‘Mycurrsource’ Which voltmeter ? ‘FirstVoltmeter’ MyCurrSource FirstVoltmeter A (dual) current A simple voltmeter source instrument The structure of measurement systems naturally factors into measurement processes (green) and the instruments which they use (yellow).
  • 11. Thermometry Example MyCurrSource Now add a second circuit A (dual) current source instrument SecondVoltmeter A simple voltmeter
  • 12. Thermometry Example Myfirstresmeas MySecondResMeas Which current source ? Which current source ? ‘ MyCurrSource’ ‘MyCurrSource’ Which voltmeter ? Which voltmeter ? ‘FirstVoltmeter’ ‘SecondVoltmeter’ MyCurrSource FirstVoltmeter A (dual) current A simple voltmeter source instrument SecondVoltmeter A simple voltmeter Using object references allows different measurements to share the same instruments.
  • 13. Being able to call objects by reference is a critical requirement for building a flexible and reconfigurable system.
  • 14. Making a thermometer • Actually we package the resistor and calibrate it to yield a thermometer calibration file X312 Calib.csv 20 15 + 10 5 SN X312 0 0 7.5 15.0 30.0
  • 15. Now add the calibration Create a more specific measurement subclass MySecondResMeas Which current source ? ‘MyCurrSource’ MySecondThermMeas Which voltmeter ? ‘SecondVoltmeter’ Which current source ? ‘Mycurrsource’ X312 Which voltmeter ? 20 ‘SecondVoltmeter’ 10 Where’s the calibration ? ‘C:dataX312.csv’ 0 0 7.5 22.5 Keep the basic resistance code but add a thermometer measurement subclass that has a path to a calibration file stored on the file system.
  • 16. The Final Object Model MySecondThermMeas MyCurrSource X337 ‘C:dataX337.csv’ SecondVoltmeter SN X337 SN X312 MyFirstThermMeas X312 FirstVoltmeter ‘C:dataX312.csv’
  • 17. What can we take from this example ?
  • 18. Measurements and Instruments Measurements Almost all conceivable MySecondThermMeas MyFirstThermMeas measurements can be factored as a generic measurement process SecondVoltmeter linked to some FirstVoltmeter instruments that do work MyCurrSource in the real world. Instruments
  • 19. Measurements, Instruments .... and Controls Measurements Controls MySecondThermMeas ProbeHeater MyFirstThermMeas SampleMagneticField SecondVoltmeter FirstVoltmeter Changes would be made MyCurrSource by accessing control New CurrSource objects not the Instruments instruments directly.
  • 20. Control Loops TempControlledStage Measurements Controls get set MySecondThermMeas ProbeHeater MyFirstThermMeas SampleMagneticField SecondVoltmeter FirstVoltmeter MyCurrSource Control loops can be built New CurrSource by referencing both control Instruments and measurement objects.
  • 21. Measurement systems can be naturally factored into Measurement, Instrument and Control objects that work together.
  • 22. Measurement systems naturally factor into physical • Instrument and virtual Measurement and Control classes. •Accessing Objects by reference allows the system to be reconfigured very easily. This also allows instruments and measurements to • be shared for multiple purposes. Scalable Architectures specialises in developing measurement systems that scale continuously from prototype to finished product. St. Johns Innovation Centre Scalable Cowley Road Architectures Cambridge CB4 0WS, UK www.scalable-architectures.com