SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Lesson 6
            Controlling the FPGA VI

TOPICS
A. Introduction
B. FPGA Interface Functions




                                      ni.com/training
A. Introduction

Common host VI tasks:
• Data processing
• Perform operations not available on the FPGA target
• Log data
• Sequence multiple FPGA VIs
• Control the timing and sequencing of data transfer
• Control which components are visible on the front panel
  window for communication


                                                   ni.com/training
B. FPGA Interface Functions

• Establish and terminate
  communication with the FPGA VI
• Control the execution of the
  FPGA VI on the FPGA target
• Read and write data to the FPGA VI
• Wait for and acknowledge FPGA VI
  interrupts
• Read DMA FIFOs




                                       ni.com/training
Open FPGA VI Reference

• Opens a reference to:
 − Open the FPGA VI or bit file
 − Selects an FPGA target
• Select VI and target in the shortcut menu
 − Or, specify target with the resource name input
   • Right-click and select Show Resource Name Input
• Must open a reference to the FPGA target before you can
  communicate between the host VI and the FPGA VI.
• Configure for Open or Open and Run
 − Use free label to describe functionality

                                                       ni.com/training
Read/Write Control

• Reads a value from or writes a value to a control or indicator
  in the FPGA VI on the FPGA target.




                                                     ni.com/training
Invoke Method

• Invokes method or action from a host VI
• Methods:
 − Run
 − Abort
 − Reset
 − Wait on IRQ
 − Acknowledge IRQ
 − Download
 − Read and write DMA FIFOs

                                            ni.com/training
Close FPGA VI Reference

• Stops and resets the FPGA
• Right-click and select Close from the shortcut menu to close
  the reference without resetting
• Default is Close and Reset if Last Reference, which closes
  the reference, stops the FPGA VI, and resets the FPGA
• Use free label to describe functionality




                                                   ni.com/training
Exercise 6-1 Creating an FPGA Interface




       Create a host VI for the custom trigger.
GOAL




                                                  ni.com/training
Summary

• FPGA host interface functions control and communicate with
  the FPGA VI
• Expose only necessary controls and indicators on the
  FPGA VI




                                                  ni.com/training
Quiz

1. You communicate with the 2. Which of the following are
   FPGA VI is by using         used for reading the
   which of the following:     values of
                               controls/indicators on the
   a. Array functions
                               FPGA VI:
   b. NI-DAQmx VIs
                                 a. Open FPGA VI Reference
   c. FPGA Interface Vis
                                 b. Read/Write Control
   d. TCP/IP VIs
                                 c. Invoke Method




                                                ni.com/training

Weitere ähnliche Inhalte

Andere mochten auch

Chap1 Cap Capital
Chap1 Cap CapitalChap1 Cap Capital
Chap1 Cap Capital
guestd9aa5
 
Hardening Enterprise Apache
Hardening Enterprise ApacheHardening Enterprise Apache
Hardening Enterprise Apache
guestd9aa5
 
Lapointe Ia 260 Using Content Types To Improve Discoverability
Lapointe Ia 260 Using Content Types To Improve DiscoverabilityLapointe Ia 260 Using Content Types To Improve Discoverability
Lapointe Ia 260 Using Content Types To Improve Discoverability
guestd9aa5
 
E Pi Server Easy Search Technical Overview
E Pi Server Easy Search Technical OverviewE Pi Server Easy Search Technical Overview
E Pi Server Easy Search Technical Overview
guestd9aa5
 
P17 A New Homes
P17 A New HomesP17 A New Homes
P17 A New Homes
guestd9aa5
 
Universal Design Final
Universal Design FinalUniversal Design Final
Universal Design Final
guestd9aa5
 
Lib X Bailey Back Access2008
Lib X Bailey Back Access2008Lib X Bailey Back Access2008
Lib X Bailey Back Access2008
guestd9aa5
 
SSP Presentation V2.0
SSP Presentation V2.0SSP Presentation V2.0
SSP Presentation V2.0
ahaggar
 

Andere mochten auch (20)

Chap1 Cap Capital
Chap1 Cap CapitalChap1 Cap Capital
Chap1 Cap Capital
 
C Life Edu Slideshow
C Life Edu SlideshowC Life Edu Slideshow
C Life Edu Slideshow
 
Nurse Life Care Planner Power Point 2.Ppt
Nurse Life Care Planner Power Point 2.PptNurse Life Care Planner Power Point 2.Ppt
Nurse Life Care Planner Power Point 2.Ppt
 
Hardening Enterprise Apache
Hardening Enterprise ApacheHardening Enterprise Apache
Hardening Enterprise Apache
 
Ppt C 1
Ppt C 1Ppt C 1
Ppt C 1
 
March Newsletter
March NewsletterMarch Newsletter
March Newsletter
 
Lapointe Ia 260 Using Content Types To Improve Discoverability
Lapointe Ia 260 Using Content Types To Improve DiscoverabilityLapointe Ia 260 Using Content Types To Improve Discoverability
Lapointe Ia 260 Using Content Types To Improve Discoverability
 
E Pi Server Easy Search Technical Overview
E Pi Server Easy Search Technical OverviewE Pi Server Easy Search Technical Overview
E Pi Server Easy Search Technical Overview
 
Ppt B 3
Ppt B 3Ppt B 3
Ppt B 3
 
P17 A New Homes
P17 A New HomesP17 A New Homes
P17 A New Homes
 
Activ8 Full Services Marketing Kit
Activ8 Full Services Marketing KitActiv8 Full Services Marketing Kit
Activ8 Full Services Marketing Kit
 
Think Quest
Think QuestThink Quest
Think Quest
 
Revitalash Ppt
Revitalash PptRevitalash Ppt
Revitalash Ppt
 
Universal Design Final
Universal Design FinalUniversal Design Final
Universal Design Final
 
Papernotes
PapernotesPapernotes
Papernotes
 
Be Done Pitch
Be Done PitchBe Done Pitch
Be Done Pitch
 
Lib X Bailey Back Access2008
Lib X Bailey Back Access2008Lib X Bailey Back Access2008
Lib X Bailey Back Access2008
 
SSP Presentation V2.0
SSP Presentation V2.0SSP Presentation V2.0
SSP Presentation V2.0
 
Bio Ohio Power Point Slide Set 3 10 09
Bio Ohio Power Point Slide Set 3 10 09Bio Ohio Power Point Slide Set 3 10 09
Bio Ohio Power Point Slide Set 3 10 09
 
Christmas inTurkey
Christmas inTurkeyChristmas inTurkey
Christmas inTurkey
 

Ähnlich wie 6 Host Integration

7 Adv Host Integration 1234869680124198 3
7 Adv Host Integration 1234869680124198 37 Adv Host Integration 1234869680124198 3
7 Adv Host Integration 1234869680124198 3
guest27165
 
ccna 1 chapter 2 v5.0 exam answers 2014
ccna 1 chapter 2 v5.0 exam answers 2014ccna 1 chapter 2 v5.0 exam answers 2014
ccna 1 chapter 2 v5.0 exam answers 2014
Đồng Quốc Vương
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
Lentin Joseph
 
RMI and CORBA Why both are valuable tools
RMI and CORBA Why both are valuable toolsRMI and CORBA Why both are valuable tools
RMI and CORBA Why both are valuable tools
elliando dias
 

Ähnlich wie 6 Host Integration (20)

7 Adv Host Integration 1234869680124198 3
7 Adv Host Integration 1234869680124198 37 Adv Host Integration 1234869680124198 3
7 Adv Host Integration 1234869680124198 3
 
ccna 1 chapter 2 v5.0 exam answers 2014
ccna 1 chapter 2 v5.0 exam answers 2014ccna 1 chapter 2 v5.0 exam answers 2014
ccna 1 chapter 2 v5.0 exam answers 2014
 
CAPI and OpenCAPI Hardware acceleration enablement
CAPI and OpenCAPI Hardware acceleration enablementCAPI and OpenCAPI Hardware acceleration enablement
CAPI and OpenCAPI Hardware acceleration enablement
 
cgo and Go plugins
cgo and Go pluginscgo and Go plugins
cgo and Go plugins
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
 
Integration of the Chromium Browser in the GENIVI Platform (16th GENIVI AMM)
Integration of the Chromium Browser in the GENIVI Platform (16th GENIVI AMM)Integration of the Chromium Browser in the GENIVI Platform (16th GENIVI AMM)
Integration of the Chromium Browser in the GENIVI Platform (16th GENIVI AMM)
 
FuzzyDebugger.pdf
FuzzyDebugger.pdfFuzzyDebugger.pdf
FuzzyDebugger.pdf
 
BRKACI-2102_Tshoot.pdf
BRKACI-2102_Tshoot.pdfBRKACI-2102_Tshoot.pdf
BRKACI-2102_Tshoot.pdf
 
NIWeek 2017 - Automated Test of LabVIEW FPGA Code: CI and Jenkins 2 Pipelines
NIWeek 2017 - Automated Test of LabVIEW FPGA Code: CI and Jenkins 2 PipelinesNIWeek 2017 - Automated Test of LabVIEW FPGA Code: CI and Jenkins 2 Pipelines
NIWeek 2017 - Automated Test of LabVIEW FPGA Code: CI and Jenkins 2 Pipelines
 
FPGA MeetUp
FPGA MeetUpFPGA MeetUp
FPGA MeetUp
 
JBoss EAP 7 & JDG 7 최신 기술 소개
JBoss EAP 7 & JDG 7 최신 기술 소개JBoss EAP 7 & JDG 7 최신 기술 소개
JBoss EAP 7 & JDG 7 최신 기술 소개
 
RASPBERRY PI WITH JAVA 8 + Pi4J (Devoxx 2014)
RASPBERRY PI WITH JAVA 8 + Pi4J (Devoxx 2014)RASPBERRY PI WITH JAVA 8 + Pi4J (Devoxx 2014)
RASPBERRY PI WITH JAVA 8 + Pi4J (Devoxx 2014)
 
Ins and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingIns and Outs of GPIO Programming
Ins and Outs of GPIO Programming
 
Johnny-Five
Johnny-FiveJohnny-Five
Johnny-Five
 
P4+ONOS SRv6 tutorial.pptx
P4+ONOS SRv6 tutorial.pptxP4+ONOS SRv6 tutorial.pptx
P4+ONOS SRv6 tutorial.pptx
 
Lately in php - 2019 May 4
Lately in php - 2019 May 4Lately in php - 2019 May 4
Lately in php - 2019 May 4
 
RMI and CORBA Why both are valuable tools
RMI and CORBA Why both are valuable toolsRMI and CORBA Why both are valuable tools
RMI and CORBA Why both are valuable tools
 
Real Fortinet NSE4_FGT-7.2 Exam Questions - Start Preparing For NSE4_FGT-7.2 ...
Real Fortinet NSE4_FGT-7.2 Exam Questions - Start Preparing For NSE4_FGT-7.2 ...Real Fortinet NSE4_FGT-7.2 Exam Questions - Start Preparing For NSE4_FGT-7.2 ...
Real Fortinet NSE4_FGT-7.2 Exam Questions - Start Preparing For NSE4_FGT-7.2 ...
 
Raspberry pi tutorial
Raspberry pi tutorialRaspberry pi tutorial
Raspberry pi tutorial
 
Java Device I/O at Raspberry PI to Build a Candy Vending Machine
Java Device I/O at Raspberry PI to Build a Candy Vending MachineJava Device I/O at Raspberry PI to Build a Candy Vending Machine
Java Device I/O at Raspberry PI to Build a Candy Vending Machine
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

6 Host Integration

  • 1. Lesson 6 Controlling the FPGA VI TOPICS A. Introduction B. FPGA Interface Functions ni.com/training
  • 2. A. Introduction Common host VI tasks: • Data processing • Perform operations not available on the FPGA target • Log data • Sequence multiple FPGA VIs • Control the timing and sequencing of data transfer • Control which components are visible on the front panel window for communication ni.com/training
  • 3. B. FPGA Interface Functions • Establish and terminate communication with the FPGA VI • Control the execution of the FPGA VI on the FPGA target • Read and write data to the FPGA VI • Wait for and acknowledge FPGA VI interrupts • Read DMA FIFOs ni.com/training
  • 4. Open FPGA VI Reference • Opens a reference to: − Open the FPGA VI or bit file − Selects an FPGA target • Select VI and target in the shortcut menu − Or, specify target with the resource name input • Right-click and select Show Resource Name Input • Must open a reference to the FPGA target before you can communicate between the host VI and the FPGA VI. • Configure for Open or Open and Run − Use free label to describe functionality ni.com/training
  • 5. Read/Write Control • Reads a value from or writes a value to a control or indicator in the FPGA VI on the FPGA target. ni.com/training
  • 6. Invoke Method • Invokes method or action from a host VI • Methods: − Run − Abort − Reset − Wait on IRQ − Acknowledge IRQ − Download − Read and write DMA FIFOs ni.com/training
  • 7. Close FPGA VI Reference • Stops and resets the FPGA • Right-click and select Close from the shortcut menu to close the reference without resetting • Default is Close and Reset if Last Reference, which closes the reference, stops the FPGA VI, and resets the FPGA • Use free label to describe functionality ni.com/training
  • 8. Exercise 6-1 Creating an FPGA Interface Create a host VI for the custom trigger. GOAL ni.com/training
  • 9. Summary • FPGA host interface functions control and communicate with the FPGA VI • Expose only necessary controls and indicators on the FPGA VI ni.com/training
  • 10. Quiz 1. You communicate with the 2. Which of the following are FPGA VI is by using used for reading the which of the following: values of controls/indicators on the a. Array functions FPGA VI: b. NI-DAQmx VIs a. Open FPGA VI Reference c. FPGA Interface Vis b. Read/Write Control d. TCP/IP VIs c. Invoke Method ni.com/training

Hinweis der Redaktion

  1. FPGA Interface VIs Read/Write Control
  2. A. IntroductionThe external host program might provide a remote graphical user interface, log data, and post process data. The host program can run in Windows on a PC or PXI controller; or it can run on a real-time operating system (RTOS) on a PC, PXI controller, Compact Vision System, or CompactRIO controller. The RT host controller communicates with the CompactRIO RT processor over the network using shared variables or low-level protocols such as TCP/IP. The Host VI can perform the following tasks in this architecture:Perform more data processing than you can fit on the FPGAPerform operations not available on the FPGA target, such as floating-point arithmeticProvide a multi-tiered application with the FPGA target as a component of a larger systemLog dataSequence multiple FPGA VIsControl the timing and sequencing of data transferControl which components are visible on the front panel window because some controls and indicators might be more important for communication than others
  3. B. FPGA Interface FunctionsWhen you install the LabVIEW FPGA modules in LabVIEW, if you open a VI under the host in the project hierarchy, the FPGA Interface Functions palette is available, as shown above. Use the FPGA Interface functions to communicate with an FPGA VI from the host VI using the following operations:Establish and terminate communication with the FPGA VIControl the execution of the FPGA VI on the FPGA target Read and write data to the FPGA VIWait for and acknowledge FPGA VI interruptsRead DMA FIFOsThe FPGA Interface functions can return general LabVIEW error codes, specific FPGA interface error codes, or error codes specific to the FPGA target. Refer to the specific FPGA target documentation for a list of target-specific error codes.
  4. Open FPGA VI ReferenceOpens a reference to the FPGA VI or bitfile and FPGA target you select in the shortcut menu or that you specify with the resource name input. You must open a reference to the FPGA target before you can communicate between the host VI and the FPGA VI.
  5. Read/Write ControlReads a value from or writes a value to a control or indicator in the FPGA VI on the FPGA target.
  6. Invoke MethodInvokes an FPGA Interface method or action from a host VI on an FPGA VI. Use methods to download, abort, reset, and run the FPGA VI on the FPGA target, wait for and acknowledge FPGA VI interrupts, read DMA FIFOs, and write to DMA FIFOs. The methods you can choose from depend on the target hardware and the FPGA VI. You must wire the FPGA VI Reference In input to view the available methods in the shortcut menu.
  7. Close FPGA VI ReferenceStops and resets the FPGA VI running on the FPGA target and closes the reference to the VI. Right-click the Close FPGA VI Reference function on the block diagram and select Close to close the reference without resetting the FPGA VI running on the FPGA target. The default is Close and Reset if Last Reference, which closes the reference, stops the FPGA VI, and resets the FPGA VI running on the FPGA target.