SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

Similar a 6 Host Integration

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
 
CAPI and OpenCAPI Hardware acceleration enablement
CAPI and OpenCAPI Hardware acceleration enablementCAPI and OpenCAPI Hardware acceleration enablement
CAPI and OpenCAPI Hardware acceleration enablementGanesan Narayanasamy
 
cgo and Go plugins
cgo and Go pluginscgo and Go plugins
cgo and Go pluginsstrikr .
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry PiLentin Joseph
 
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)Igalia
 
BRKACI-2102_Tshoot.pdf
BRKACI-2102_Tshoot.pdfBRKACI-2102_Tshoot.pdf
BRKACI-2102_Tshoot.pdfCcieOfPeople
 
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 PipelinesChing-Hwa Yu
 
JBoss EAP 7 & JDG 7 최신 기술 소개
JBoss EAP 7 & JDG 7 최신 기술 소개JBoss EAP 7 & JDG 7 최신 기술 소개
JBoss EAP 7 & JDG 7 최신 기술 소개Ted Won
 
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)savageautomate
 
Ins and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingIns and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingICS
 
P4+ONOS SRv6 tutorial.pptx
P4+ONOS SRv6 tutorial.pptxP4+ONOS SRv6 tutorial.pptx
P4+ONOS SRv6 tutorial.pptxtampham61268
 
Lately in php - 2019 May 4
Lately in php - 2019 May 4Lately in php - 2019 May 4
Lately in php - 2019 May 4Eric Poe
 
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 toolselliando dias
 
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 ...EleanorSun3
 
Raspberry pi tutorial
Raspberry pi tutorialRaspberry pi tutorial
Raspberry pi tutorialImad Rhali
 
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 MachineJeff Prestes
 
Pwning mobile apps without root or jailbreak
Pwning mobile apps without root or jailbreakPwning mobile apps without root or jailbreak
Pwning mobile apps without root or jailbreakAbraham Aranguren
 

Similar a 6 Host Integration (20)

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
 
Pwning mobile apps without root or jailbreak
Pwning mobile apps without root or jailbreakPwning mobile apps without root or jailbreak
Pwning mobile apps without root or jailbreak
 

Más de guru122

Anne Meininger Usa
Anne Meininger UsaAnne Meininger Usa
Anne Meininger Usaguru122
 
Vct Ver. Polska
Vct Ver. PolskaVct Ver. Polska
Vct Ver. Polskaguru122
 
Animations
AnimationsAnimations
Animationsguru122
 
Bilgi Seminerleri1
Bilgi Seminerleri1Bilgi Seminerleri1
Bilgi Seminerleri1guru122
 
Marinier Laird Cogsci 2008 Emotionrl Pres
Marinier Laird Cogsci 2008 Emotionrl PresMarinier Laird Cogsci 2008 Emotionrl Pres
Marinier Laird Cogsci 2008 Emotionrl Presguru122
 
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 Overviewguru122
 
Britwear
BritwearBritwear
Britwearguru122
 
Customizing Share Point The Supported Wa
Customizing Share Point The Supported WaCustomizing Share Point The Supported Wa
Customizing Share Point The Supported Waguru122
 
Deroure Repo3
Deroure Repo3Deroure Repo3
Deroure Repo3guru122
 
Chap1 Cap Capital
Chap1 Cap CapitalChap1 Cap Capital
Chap1 Cap Capitalguru122
 
Adfs Shib Interop Um Oxford
Adfs Shib Interop Um OxfordAdfs Shib Interop Um Oxford
Adfs Shib Interop Um Oxfordguru122
 

Más de guru122 (13)

chap1-
chap1-chap1-
chap1-
 
Anne Meininger Usa
Anne Meininger UsaAnne Meininger Usa
Anne Meininger Usa
 
Vct Ver. Polska
Vct Ver. PolskaVct Ver. Polska
Vct Ver. Polska
 
Animations
AnimationsAnimations
Animations
 
Bilgi Seminerleri1
Bilgi Seminerleri1Bilgi Seminerleri1
Bilgi Seminerleri1
 
Ucl
UclUcl
Ucl
 
Marinier Laird Cogsci 2008 Emotionrl Pres
Marinier Laird Cogsci 2008 Emotionrl PresMarinier Laird Cogsci 2008 Emotionrl Pres
Marinier Laird Cogsci 2008 Emotionrl Pres
 
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
 
Britwear
BritwearBritwear
Britwear
 
Customizing Share Point The Supported Wa
Customizing Share Point The Supported WaCustomizing Share Point The Supported Wa
Customizing Share Point The Supported Wa
 
Deroure Repo3
Deroure Repo3Deroure Repo3
Deroure Repo3
 
Chap1 Cap Capital
Chap1 Cap CapitalChap1 Cap Capital
Chap1 Cap Capital
 
Adfs Shib Interop Um Oxford
Adfs Shib Interop Um OxfordAdfs Shib Interop Um Oxford
Adfs Shib Interop Um Oxford
 

Último

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Último (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

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

Notas del editor

  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.