SlideShare una empresa de Scribd logo
1 de 19
Lesson 1
          Introduction to Real Time


TOPICS
A. What is Real-Time?
B. RT Host
C. RT Target




                                      ni.com/training
A. What is Real Time?




         Real Time Response: The ability to reliably
         and, without fail, respond to an event or
         perform an operation, within a guaranteed
         time period.


                                               ni.com/training
Real-Time Terms

Loop Cycle Time
  • Execution time of one cycle of a loop
Jitter
  • Variation from the desired loop cycle time
Determinism
  • Measure of jitter magnitude
Latency
  • Time required to respond to an event, or the time between
    input and output

                                                       ni.com/training
Real-Time Terms (continued)

Embedded
 • A computer system that is a component within a larger
   system. Embedded systems usually operate headlessly.




                                                    ni.com/training
Maximum Jitter                              Jitter Range


                        Desired Loop Time          Maximum
                                                    Jitter

                 1
Loop Iteration




                 2

                 3

                 4

                 5
                     Loop Time (seconds)

                                                           ni.com/training
Operating Systems

 • Processor time is shared between programs
 • Operating systems can preempt high priority VIs
    − Many programs run in the background—screen savers, disk
      utilities, virus software, and so on
    − It must service interrupts—keyboard, mouse, Ethernet, and so on
 • Cannot guarantee determinism—that is, it is a
   non-deterministic system




                                                             ni.com/training
Real-Time Operating Systems

• Ensure that high-priority tasks execute first
• Do not require user input from peripherals

LabVIEW Real-Time Module executes VIs on the following:
• Hardware targets running the Ardence Phar Lap
  Embedded Tool Suite (ETS)
• Computers running Wind River VxWorks
 This course focuses on the ETS platform


                                                  ni.com/training
Selecting an Operating System
General
                                Real-
Purpose                                 Closed loop
          Data acquisition    Time OS
  OS                                    control

                                        Time-critical
          Offline analysis
                                        decisions

          Data presentation             Extended run time

                                        Stand alone
                                        operation

                                        Increased
                                        reliability

                                                  ni.com/training
Real-Time Development Tools
                 Compiler
                  Linker
                                   LabVIEW Real-Time
Software




                 Debugger

           System Analysis Tools
                                   Execution Trace Tool
                  RTOS
                                   LabVIEW Real-Time
Hardware




              Microprocessor             Target
                I/O Device


                                                ni.com/training
LabVIEW Real-Time System Using ETS
  Host Computer              RT Target




     Develop                 Execute
                  Download


                                   ni.com/training
Discussion Exercise 1-1: Project
  Specification Document




       Read and discuss the Project Specification document and
       determine if real time is necessary for this application.
GOAL




                                                       ni.com/training
B. Real-Time Host

  Host Computer




                    ni.com/training
C. Real-Time Targets

                       Desktop PCs
                         Determinism for PCI systems

                       NI RT PXI Embedded Controllers
                         High speed, high channel density, I/O variety

                       NI RT Compact FieldPoint
                         Small footprint, harsh environments
 LabVIEW
 Real-Time             NI Compact Vision System
                         Compact and distributed machine vision

                       NI CompactRIO
                         Reconfigurable Embedded System



                                                    ni.com/training
Real-Time Hardware Configuration

                       Desktop PCs
                         Determinism for PCI systems

                       NI RT PXI Embedded Controllers
                         High speed, high channel density, I/O variety

                       NI RT Compact FieldPoint
Host-Target
                         Small footprint, harsh environments

                       NI RT Compact Vision System
                         Compact and distributed machine vision

                       NI CompactRIO
                         Reconfigurable Embedded System


                                                    ni.com/training
RT Target – Host-Target Configuration
NI RT Series PXI Controller—Ideal for
  high-speed, high channel count
  acquisition
NI cRIO Series—Embedded system with
  real-time controller, reconfigurable FPGA
  chassis, and industrial I/O modules
NI RT Series Compact FieldPoint
  Controller—Ideal for distributed real-time
  I/O applications
NI 1450 Series Compact Vision System—
  Acquires, processes, and displays
  images for IEEE1394 cameras
Desktop PCs as RT Targets—Ideal for low
 cost implementation
                                               ni.com/training
RT Target – PXI Embedded Controller

    Processor                            PXI Backplane




Connect to host
                  Memory
                           DAQ Devices
                                            SCXI Modules


                                                           ni.com/training
RT Target—cFP Controller

                  Watchdog timer
                  Removable CompactFlash memory
                  (cFP-2x20 only)
                  Onboard static memory
                  Dedicated processor
                  User-defined DIP switches and LEDs
                  Serial port
                  Backup power supply connection
                  Ethernet port


                                              ni.com/training
Target Platform Comparison


                       PXI     cRIO     cFP     PC
  Loop Speed          Best     Better   Good   Best
  I/O Count           High     High     High    Low
  Rugged              Better   Best     Best     —
  Scalability         Best     Better   Good   Better
  Third-party RT HW    Yes      Yes     No      Yes
  Distributed         Better   Best     Best   Good

                                               ni.com/training
Summary – Matching Quiz
1. Jitter        A. How reliably a system responds to events
                    or performs operations within a given time
2. Determinism      limit
                 B. Time taken to execute one cycle of a loop
3. Embedded
                 C. Variation of loop cycle time from the
4. Real time        desired loop cycle time
                 D. Computer system that is typically a
5. Loop cycle       component within a larger system
   time          E. The ability to reliably, and without
                    fail, respond to an event or perform an
                    operation within a guaranteed time period
                                                    ni.com/training

Más contenido relacionado

La actualidad más candente

Slide used at ACM-SAC 2014 by Suzaki
Slide used at ACM-SAC 2014 by SuzakiSlide used at ACM-SAC 2014 by Suzaki
Slide used at ACM-SAC 2014 by SuzakiKuniyasu Suzaki
 
Develop Your Own Operating Systems using Cheap ARM Boards
Develop Your Own Operating Systems using Cheap ARM BoardsDevelop Your Own Operating Systems using Cheap ARM Boards
Develop Your Own Operating Systems using Cheap ARM BoardsNational Cheng Kung University
 
Solving Real-Time Scheduling Problems With RT_PREEMPT and Deadline-Based Sche...
Solving Real-Time Scheduling Problems With RT_PREEMPT and Deadline-Based Sche...Solving Real-Time Scheduling Problems With RT_PREEMPT and Deadline-Based Sche...
Solving Real-Time Scheduling Problems With RT_PREEMPT and Deadline-Based Sche...peknap
 
Overview of Linux real-time challenges
Overview of Linux real-time challengesOverview of Linux real-time challenges
Overview of Linux real-time challengesDaniel Stenberg
 
Kernel Memory Protection by an Insertable Hypervisor which has VM Introspec...
Kernel Memory Protection by an Insertable Hypervisor which has VM Introspec...Kernel Memory Protection by an Insertable Hypervisor which has VM Introspec...
Kernel Memory Protection by an Insertable Hypervisor which has VM Introspec...Kuniyasu Suzaki
 
Risc and cisc casestudy
Risc and cisc casestudyRisc and cisc casestudy
Risc and cisc casestudyjvs71294
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating SystemTech_MX
 
Colama powered virtual college computer lab
Colama powered virtual college computer labColama powered virtual college computer lab
Colama powered virtual college computer labCoriolis Technologies
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.pptrahul km
 
Linux Preempt-RT Internals
Linux Preempt-RT InternalsLinux Preempt-RT Internals
Linux Preempt-RT Internals哲豪 康哲豪
 
Track B- Advanced ESL verification - Mentor
Track B- Advanced ESL verification - MentorTrack B- Advanced ESL verification - Mentor
Track B- Advanced ESL verification - Mentorchiportal
 
The survey on real time operating systems (1)
The survey on real time operating systems (1)The survey on real time operating systems (1)
The survey on real time operating systems (1)manojkumarsmks
 
RTOS implementation
RTOS implementationRTOS implementation
RTOS implementationRajan Kumar
 

La actualidad más candente (20)

Rtos
RtosRtos
Rtos
 
Slide used at ACM-SAC 2014 by Suzaki
Slide used at ACM-SAC 2014 by SuzakiSlide used at ACM-SAC 2014 by Suzaki
Slide used at ACM-SAC 2014 by Suzaki
 
Develop Your Own Operating Systems using Cheap ARM Boards
Develop Your Own Operating Systems using Cheap ARM BoardsDevelop Your Own Operating Systems using Cheap ARM Boards
Develop Your Own Operating Systems using Cheap ARM Boards
 
Implement Runtime Environments for HSA using LLVM
Implement Runtime Environments for HSA using LLVMImplement Runtime Environments for HSA using LLVM
Implement Runtime Environments for HSA using LLVM
 
Rtos
RtosRtos
Rtos
 
Solving Real-Time Scheduling Problems With RT_PREEMPT and Deadline-Based Sche...
Solving Real-Time Scheduling Problems With RT_PREEMPT and Deadline-Based Sche...Solving Real-Time Scheduling Problems With RT_PREEMPT and Deadline-Based Sche...
Solving Real-Time Scheduling Problems With RT_PREEMPT and Deadline-Based Sche...
 
Workload Optimization
Workload OptimizationWorkload Optimization
Workload Optimization
 
Overview of Linux real-time challenges
Overview of Linux real-time challengesOverview of Linux real-time challenges
Overview of Linux real-time challenges
 
Kernel Memory Protection by an Insertable Hypervisor which has VM Introspec...
Kernel Memory Protection by an Insertable Hypervisor which has VM Introspec...Kernel Memory Protection by an Insertable Hypervisor which has VM Introspec...
Kernel Memory Protection by an Insertable Hypervisor which has VM Introspec...
 
Risc and cisc casestudy
Risc and cisc casestudyRisc and cisc casestudy
Risc and cisc casestudy
 
Linux Kernel Overview
Linux Kernel OverviewLinux Kernel Overview
Linux Kernel Overview
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
 
Colama powered virtual college computer lab
Colama powered virtual college computer labColama powered virtual college computer lab
Colama powered virtual college computer lab
 
Real time Linux
Real time LinuxReal time Linux
Real time Linux
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.ppt
 
Linux Preempt-RT Internals
Linux Preempt-RT InternalsLinux Preempt-RT Internals
Linux Preempt-RT Internals
 
Mastering Real-time Linux
Mastering Real-time LinuxMastering Real-time Linux
Mastering Real-time Linux
 
Track B- Advanced ESL verification - Mentor
Track B- Advanced ESL verification - MentorTrack B- Advanced ESL verification - Mentor
Track B- Advanced ESL verification - Mentor
 
The survey on real time operating systems (1)
The survey on real time operating systems (1)The survey on real time operating systems (1)
The survey on real time operating systems (1)
 
RTOS implementation
RTOS implementationRTOS implementation
RTOS implementation
 

Destacado

Plant one on me nursery200
Plant one on me nursery200Plant one on me nursery200
Plant one on me nursery200mx6661988
 
Hool sudlal eb saz hutuch 2012 on
Hool sudlal eb saz hutuch 2012 onHool sudlal eb saz hutuch 2012 on
Hool sudlal eb saz hutuch 2012 onCopy Mn
 
Activities involved in succession process 3
Activities involved in succession process 3Activities involved in succession process 3
Activities involved in succession process 3John Johari
 
Lak12 - Leeds - Deriving Group Profiles from Social Media
Lak12 - Leeds - Deriving Group Profiles from Social Media Lak12 - Leeds - Deriving Group Profiles from Social Media
Lak12 - Leeds - Deriving Group Profiles from Social Media lydia-lau
 
We can change the world
We can change the worldWe can change the world
We can change the worldNinjaMadi
 
ραντεβού με την ποίηση στη βιβλιοθήκη
ραντεβού με την ποίηση στη βιβλιοθήκηραντεβού με την ποίηση στη βιβλιοθήκη
ραντεβού με την ποίηση στη βιβλιοθήκηmsourgiad
 
National Association of Healthcare Access Management Presentation
National Association of Healthcare Access Management PresentationNational Association of Healthcare Access Management Presentation
National Association of Healthcare Access Management Presentationmikemike09
 
Keys ch11&12
Keys ch11&12Keys ch11&12
Keys ch11&12bradosin
 
The marketing plan is a highly detailed
The marketing plan is a highly detailedThe marketing plan is a highly detailed
The marketing plan is a highly detailedmohtar hasim
 

Destacado (13)

Plant one on me nursery200
Plant one on me nursery200Plant one on me nursery200
Plant one on me nursery200
 
State of Search 2014
State of Search 2014State of Search 2014
State of Search 2014
 
Hool sudlal eb saz hutuch 2012 on
Hool sudlal eb saz hutuch 2012 onHool sudlal eb saz hutuch 2012 on
Hool sudlal eb saz hutuch 2012 on
 
Australian Mobile Behaviour
Australian Mobile BehaviourAustralian Mobile Behaviour
Australian Mobile Behaviour
 
Fmcg
FmcgFmcg
Fmcg
 
Activities involved in succession process 3
Activities involved in succession process 3Activities involved in succession process 3
Activities involved in succession process 3
 
Lak12 - Leeds - Deriving Group Profiles from Social Media
Lak12 - Leeds - Deriving Group Profiles from Social Media Lak12 - Leeds - Deriving Group Profiles from Social Media
Lak12 - Leeds - Deriving Group Profiles from Social Media
 
We can change the world
We can change the worldWe can change the world
We can change the world
 
ραντεβού με την ποίηση στη βιβλιοθήκη
ραντεβού με την ποίηση στη βιβλιοθήκηραντεβού με την ποίηση στη βιβλιοθήκη
ραντεβού με την ποίηση στη βιβλιοθήκη
 
National Association of Healthcare Access Management Presentation
National Association of Healthcare Access Management PresentationNational Association of Healthcare Access Management Presentation
National Association of Healthcare Access Management Presentation
 
Felicitacio2012
Felicitacio2012Felicitacio2012
Felicitacio2012
 
Keys ch11&12
Keys ch11&12Keys ch11&12
Keys ch11&12
 
The marketing plan is a highly detailed
The marketing plan is a highly detailedThe marketing plan is a highly detailed
The marketing plan is a highly detailed
 

Similar a Lesson 1 introduction to real time

Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1Adam Dunkels
 
Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how Chirag Jog
 
DEF CON 27 - ALI ISLAM and DAN REGALADO WEAPONIZING HYPERVISORS
DEF CON 27 - ALI ISLAM and DAN REGALADO WEAPONIZING HYPERVISORSDEF CON 27 - ALI ISLAM and DAN REGALADO WEAPONIZING HYPERVISORS
DEF CON 27 - ALI ISLAM and DAN REGALADO WEAPONIZING HYPERVISORSFelipe Prado
 
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationHiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationVEDLIoT Project
 
Monitorama 2015 Netflix Instance Analysis
Monitorama 2015 Netflix Instance AnalysisMonitorama 2015 Netflix Instance Analysis
Monitorama 2015 Netflix Instance AnalysisBrendan Gregg
 
Typhoon Managed Execution Toolkit
Typhoon Managed Execution ToolkitTyphoon Managed Execution Toolkit
Typhoon Managed Execution ToolkitDimitry Snezhkov
 
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...Puppet
 
(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep DiveAmazon Web Services
 
Introduction to Trusted Computing
Introduction to Trusted ComputingIntroduction to Trusted Computing
Introduction to Trusted ComputingMaksim Djackov
 
Know More About Rational Performance - Snehamoy K
Know More About Rational Performance - Snehamoy KKnow More About Rational Performance - Snehamoy K
Know More About Rational Performance - Snehamoy KRoopa Nadkarni
 
3 know more_about_rational_performance_tester_8-1-snehamoy_k
3 know more_about_rational_performance_tester_8-1-snehamoy_k3 know more_about_rational_performance_tester_8-1-snehamoy_k
3 know more_about_rational_performance_tester_8-1-snehamoy_kIBM
 
Real-time Programming in Java
Real-time Programming in JavaReal-time Programming in Java
Real-time Programming in JavaAleš Plšek
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notesShikha Sharma
 
Production profiling what, why and how technical audience (3)
Production profiling  what, why and how   technical audience (3)Production profiling  what, why and how   technical audience (3)
Production profiling what, why and how technical audience (3)RichardWarburton
 
1303briscoe-sdnrg-nfv.ppt
1303briscoe-sdnrg-nfv.ppt1303briscoe-sdnrg-nfv.ppt
1303briscoe-sdnrg-nfv.pptrasikabandara7
 
TechWiseTV Workshop: Catalyst Switching Programmability
TechWiseTV Workshop: Catalyst Switching ProgrammabilityTechWiseTV Workshop: Catalyst Switching Programmability
TechWiseTV Workshop: Catalyst Switching ProgrammabilityRobb Boyd
 
Tommaso Cucinotta - Low-latency and power-efficient audio applications on Linux
Tommaso Cucinotta - Low-latency and power-efficient audio applications on LinuxTommaso Cucinotta - Low-latency and power-efficient audio applications on Linux
Tommaso Cucinotta - Low-latency and power-efficient audio applications on Linuxlinuxlab_conf
 

Similar a Lesson 1 introduction to real time (20)

Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
 
Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how
 
DEF CON 27 - ALI ISLAM and DAN REGALADO WEAPONIZING HYPERVISORS
DEF CON 27 - ALI ISLAM and DAN REGALADO WEAPONIZING HYPERVISORSDEF CON 27 - ALI ISLAM and DAN REGALADO WEAPONIZING HYPERVISORS
DEF CON 27 - ALI ISLAM and DAN REGALADO WEAPONIZING HYPERVISORS
 
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationHiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
 
Monitorama 2015 Netflix Instance Analysis
Monitorama 2015 Netflix Instance AnalysisMonitorama 2015 Netflix Instance Analysis
Monitorama 2015 Netflix Instance Analysis
 
RTOS Basic Concepts
RTOS Basic ConceptsRTOS Basic Concepts
RTOS Basic Concepts
 
Typhoon Managed Execution Toolkit
Typhoon Managed Execution ToolkitTyphoon Managed Execution Toolkit
Typhoon Managed Execution Toolkit
 
Xilinx track g
Xilinx   track gXilinx   track g
Xilinx track g
 
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
 
(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive
 
Introduction to Trusted Computing
Introduction to Trusted ComputingIntroduction to Trusted Computing
Introduction to Trusted Computing
 
Know More About Rational Performance - Snehamoy K
Know More About Rational Performance - Snehamoy KKnow More About Rational Performance - Snehamoy K
Know More About Rational Performance - Snehamoy K
 
3 know more_about_rational_performance_tester_8-1-snehamoy_k
3 know more_about_rational_performance_tester_8-1-snehamoy_k3 know more_about_rational_performance_tester_8-1-snehamoy_k
3 know more_about_rational_performance_tester_8-1-snehamoy_k
 
Real-time Programming in Java
Real-time Programming in JavaReal-time Programming in Java
Real-time Programming in Java
 
Rtos 2
Rtos 2Rtos 2
Rtos 2
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notes
 
Production profiling what, why and how technical audience (3)
Production profiling  what, why and how   technical audience (3)Production profiling  what, why and how   technical audience (3)
Production profiling what, why and how technical audience (3)
 
1303briscoe-sdnrg-nfv.ppt
1303briscoe-sdnrg-nfv.ppt1303briscoe-sdnrg-nfv.ppt
1303briscoe-sdnrg-nfv.ppt
 
TechWiseTV Workshop: Catalyst Switching Programmability
TechWiseTV Workshop: Catalyst Switching ProgrammabilityTechWiseTV Workshop: Catalyst Switching Programmability
TechWiseTV Workshop: Catalyst Switching Programmability
 
Tommaso Cucinotta - Low-latency and power-efficient audio applications on Linux
Tommaso Cucinotta - Low-latency and power-efficient audio applications on LinuxTommaso Cucinotta - Low-latency and power-efficient audio applications on Linux
Tommaso Cucinotta - Low-latency and power-efficient audio applications on Linux
 

Lesson 1 introduction to real time

  • 1. Lesson 1 Introduction to Real Time TOPICS A. What is Real-Time? B. RT Host C. RT Target ni.com/training
  • 2. A. What is Real Time? Real Time Response: The ability to reliably and, without fail, respond to an event or perform an operation, within a guaranteed time period. ni.com/training
  • 3. Real-Time Terms Loop Cycle Time • Execution time of one cycle of a loop Jitter • Variation from the desired loop cycle time Determinism • Measure of jitter magnitude Latency • Time required to respond to an event, or the time between input and output ni.com/training
  • 4. Real-Time Terms (continued) Embedded • A computer system that is a component within a larger system. Embedded systems usually operate headlessly. ni.com/training
  • 5. Maximum Jitter Jitter Range Desired Loop Time Maximum Jitter 1 Loop Iteration 2 3 4 5 Loop Time (seconds) ni.com/training
  • 6. Operating Systems • Processor time is shared between programs • Operating systems can preempt high priority VIs − Many programs run in the background—screen savers, disk utilities, virus software, and so on − It must service interrupts—keyboard, mouse, Ethernet, and so on • Cannot guarantee determinism—that is, it is a non-deterministic system ni.com/training
  • 7. Real-Time Operating Systems • Ensure that high-priority tasks execute first • Do not require user input from peripherals LabVIEW Real-Time Module executes VIs on the following: • Hardware targets running the Ardence Phar Lap Embedded Tool Suite (ETS) • Computers running Wind River VxWorks This course focuses on the ETS platform ni.com/training
  • 8. Selecting an Operating System General Real- Purpose Closed loop Data acquisition Time OS OS control Time-critical Offline analysis decisions Data presentation Extended run time Stand alone operation Increased reliability ni.com/training
  • 9. Real-Time Development Tools Compiler Linker LabVIEW Real-Time Software Debugger System Analysis Tools Execution Trace Tool RTOS LabVIEW Real-Time Hardware Microprocessor Target I/O Device ni.com/training
  • 10. LabVIEW Real-Time System Using ETS Host Computer RT Target Develop Execute Download ni.com/training
  • 11. Discussion Exercise 1-1: Project Specification Document Read and discuss the Project Specification document and determine if real time is necessary for this application. GOAL ni.com/training
  • 12. B. Real-Time Host Host Computer ni.com/training
  • 13. C. Real-Time Targets Desktop PCs Determinism for PCI systems NI RT PXI Embedded Controllers High speed, high channel density, I/O variety NI RT Compact FieldPoint Small footprint, harsh environments LabVIEW Real-Time NI Compact Vision System Compact and distributed machine vision NI CompactRIO Reconfigurable Embedded System ni.com/training
  • 14. Real-Time Hardware Configuration Desktop PCs Determinism for PCI systems NI RT PXI Embedded Controllers High speed, high channel density, I/O variety NI RT Compact FieldPoint Host-Target Small footprint, harsh environments NI RT Compact Vision System Compact and distributed machine vision NI CompactRIO Reconfigurable Embedded System ni.com/training
  • 15. RT Target – Host-Target Configuration NI RT Series PXI Controller—Ideal for high-speed, high channel count acquisition NI cRIO Series—Embedded system with real-time controller, reconfigurable FPGA chassis, and industrial I/O modules NI RT Series Compact FieldPoint Controller—Ideal for distributed real-time I/O applications NI 1450 Series Compact Vision System— Acquires, processes, and displays images for IEEE1394 cameras Desktop PCs as RT Targets—Ideal for low cost implementation ni.com/training
  • 16. RT Target – PXI Embedded Controller Processor PXI Backplane Connect to host Memory DAQ Devices SCXI Modules ni.com/training
  • 17. RT Target—cFP Controller Watchdog timer Removable CompactFlash memory (cFP-2x20 only) Onboard static memory Dedicated processor User-defined DIP switches and LEDs Serial port Backup power supply connection Ethernet port ni.com/training
  • 18. Target Platform Comparison PXI cRIO cFP PC Loop Speed Best Better Good Best I/O Count High High High Low Rugged Better Best Best — Scalability Best Better Good Better Third-party RT HW Yes Yes No Yes Distributed Better Best Best Good ni.com/training
  • 19. Summary – Matching Quiz 1. Jitter A. How reliably a system responds to events or performs operations within a given time 2. Determinism limit B. Time taken to execute one cycle of a loop 3. Embedded C. Variation of loop cycle time from the 4. Real time desired loop cycle time D. Computer system that is typically a 5. Loop cycle component within a larger system time E. The ability to reliably, and without fail, respond to an event or perform an operation within a guaranteed time period ni.com/training

Notas del editor

  1. IntroductionThis lesson introduces real-time concepts such as real time, determinism, and jitter. This lesson also discusses the components of a real-time system, including the host and the target. Use the Getting Started with the LabVIEW Real-Time Module manual to get started with the LabVIEW Real-Time Module quickly. To view the manual, select Help»Search the LabVIEW Help in LabVIEW to open the LabVIEW Help. Select the Contents tab, expand the Real-Time Module book in the table of contents, and open the Related Documentation topic. Click the Getting Started with the LabVIEW Real-Time Module link to open the document in your Web browser.
  2. A. What is Real Time?The LabVIEW Real-Time Module combines LabVIEW graphical programming with the power of a real-time operating system, enabling you to build deterministic real-time applications. A misconception about real time is that it means quick. More accurately, real time means in-time. In other words, a real-time system ensures that responses occur in time, or on time. With general purpose operating systems, you cannot ensure that a response occurs within any given time period, and calculations might finish much later or earlier than you expect them to.For a system to be considered real time, all parts of it must be real time. For example, an application that runs in a real-time operating system may not behave with real-time characteristics. The application may rely on something that does not behave in real time, which causes the application to not behave in real time.Terms that frequently describe real-time systems are deterministic, loop cycle time, jitter, and embedded. Learning more about these terms helps you understand real time.
  3. NoteThe puzzle symbol shown above indicates that you must complete this exercise for the course project. Look for this symbol on all course project exercises. Exercises are located at the end of each lesson.