Example: tourism industry

Getting Started with CompactRIO and LabVIEW - …

Getting Started with CompactRIO and LabVIEWNoteIf you are a new user of LabVIEW or are unfamiliar with LabVIEW , refer to the Getting Started with LabVIEW manual for information about LabVIEW and LabVIEW tutorial demonstrates how to develop a CompactRIO application in LabVIEW using the RIO Scan Interface. The application uses a CompactRIO Reconfigurable Embedded system with LabVIEW to make a simple process-control VI. While developing this application, you will learn the concepts and techniques necessary to develop CompactRIO applications with the Scan Interface. The Scan Interface enables you to use C Series modules directly from LabVIEW tutorial also includes optional sections wherein you can program the CompactRIO system using the LabVIEW FPGA .. 2 Required 3 Required Software .. 3 Required Hardware .. 3 For Scan Interface 3 For FPGA Interface 4 Related 4 Overview of the Application in this Tutorial.

Getting Started with CompactRIO and LabVIEW Note If you are a new user of LabVIEW or are unfamiliar with LabVIEW, refer to the Getting Started with LabVIEW manual for information about LabVIEW and LabVIEW

Tags:

  With, Getting, Started, Getting started, Labview, Compactrio, Getting started with compactrio and labview, Labview and labview

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Getting Started with CompactRIO and LabVIEW - …

1 Getting Started with CompactRIO and LabVIEWNoteIf you are a new user of LabVIEW or are unfamiliar with LabVIEW , refer to the Getting Started with LabVIEW manual for information about LabVIEW and LabVIEW tutorial demonstrates how to develop a CompactRIO application in LabVIEW using the RIO Scan Interface. The application uses a CompactRIO Reconfigurable Embedded system with LabVIEW to make a simple process-control VI. While developing this application, you will learn the concepts and techniques necessary to develop CompactRIO applications with the Scan Interface. The Scan Interface enables you to use C Series modules directly from LabVIEW tutorial also includes optional sections wherein you can program the CompactRIO system using the LabVIEW FPGA .. 2 Required 3 Required Software .. 3 Required Hardware .. 3 For Scan Interface 3 For FPGA Interface 4 Related 4 Overview of the Application in this Tutorial.

2 5 Setting Up the 5 Installing Software on and Configuring the Controller .. 6 Selecting the Programming Mode for Your 7 Creating a Project in Scan Interface Mode .. 9 Creating a VI in Scan Interface Mode .. 10 Configuring the Timed Loop .. 10 Configuring the DO Module for Pulse-Width Modulation .. 11 Adding Pulse-Width Modulation to the 12 Configuring the DI Module for Period Measurement .. 13 Getting Started with CompactRIO and a Period-Measurement Counter to the AO and AI to the VI ..15 Deploying, Testing, and Using the VI in Scan Interface : Modifying the Scan Interface Application Using the FPGA Interface ..17 Putting the Chassis and the AI Module into FPGA Interface and Configuring the DMA FIFO ..18 Adding Example VIs to the the Timed Loop in the Example Host VI and Running the VI ..20 Creating a Project in FPGA Interface the AI/AO Loop in the FPGA VI.

3 23 Creating the PWM Loop ..25 Creating a Host VI in FPGA Interface Mode ..27 Running and Testing the Host VI ..29 What You Have Learned ..30 Where to Go for Support ..31 ConventionsThe following conventions appear in this manual: The symbol leads you through nested menu items and dialog box options to a final action. The sequence File Page Setup Options directs you to pull down the File menu, select the Page Setup item, and select Options from the last dialog icon denotes a tip, which alerts you to advisory icon denotes a note, which alerts you to important text denotes items that you must select or click in the software, such as menu items and dialog box options. Bold text also denotes parameter names, controls and indicators on the front panel, dialog boxes, sections of dialog boxes, menu names, and palette text denotes variables, emphasis, a cross-reference, or an introduction to a key concept.

4 Italic text also denotes text that is a placeholder for a word or value that you must text denotes text or characters that you should enter from the keyboard, sections of code, programming examples, and syntax examples. This font is also used for the proper names of disk drives, paths, directories, programs, subprograms, subroutines, device names, functions, operations, variables, filenames, and boldBold text in this font denotes the messages and responses that the computer automatically prints to the screen. This font also emphasizes lines of code that are different from the other examples. National Instruments Corporation3 Getting Started with CompactRIO and LabVIEWR equired ComponentsThis section lists the software and hardware used in the tutorial. This section also lists documents you may find helpful while completing the SoftwareThe following software is required for this tutorial.

5 NI LabVIEW 2009 or later NI LabVIEW Real-Time Module 2009 or later NI LabVIEW FPGA Module 2009 or later (optional) NI-RIO or laterRequired HardwareThe following hardware is required for this if you do not have the hardware used in this tutorial, you can follow the steps and do offline configuration to learn concepts about using CompactRIO with LabVIEW . Power supply for the controller Ethernet connection and cable One analog input (AI) module: NI 9201, NI 9205, NI 9206, NI 9215, or NI 9221 One analog output (AO) module: NI 9263, NI 9264, or NI 9269 One digital input (DI) module: NI 9401, NI 9411, NI 9421, or NI 9423 One digital output (DO) module: NI 9401, NI 9472, or NI 9474 For Scan Interface Mode CompactRIO controller and chassis that support the RIO Scan Interface cRIO-9073 or cRIO-9074 Integrated Real-Time Controller and Chassisor cRIO-9012, cRIO-9014, cRIO-9022, or cRIO-9024 Intelligent Real-Time Embedded Controller.

6 And cRIO-9103, cRIO-9104, or cRIO-911x Reconfigurable Embedded ChassisGetting Started with CompactRIO and FPGA Interface Mode CompactRIO controller and chassisRelated DocumentationThe following documents contain information that you may find helpful as you read this tutorial: Operating instructions for the controller and modules (shipped with the hardware and available at ). LabVIEW Help Use the LabVIEW Help to access information about LabVIEW programming concepts, step-by-step instructions for using LabVIEW , and reference information about LabVIEW VIs, functions, palettes, menus, tools, properties, methods, events, dialog boxes, and so on. The LabVIEW Help also lists the LabVIEW documentation resources available from National Instruments. Access the LabVIEW Help by selecting Help Search the LabVIEW Help. Getting Started with LabVIEW Use this document as a tutorial to familiarize yourself with the LabVIEW graphical programming environment and the basic LabVIEW features you use to build data acquisition and instrument control applications.

7 Access the Getting Started with LabVIEW PDF by selecting Start All Programs National Instruments LabVIEW LabVIEW Manuals Getting Started with the LabVIEW Real-Time Module Use this document to learn how to develop a real-time project and VIs, from setting up RT targets to building, debugging, and deploying real-time applications. Access the Getting Started with the LabVIEW Real-Time Module PDF by selecting Start All Programs National Instruments LabVIEW LabVIEW Manuals CompactRIO Reference and Procedures (Scan Interface) Use this help file to learn about using the CompactRIO system in Scan Interface programming mode. To access this help file from LabVIEW , select Help Search the LabVIEW Help, then expand Real-Time Module on the Contents tab and select CompactRIO Reference and Procedures (Scan Interface). CompactRIO Reference and Procedures (FPGA Interface) Use this help file to learn about using the CompactRIO system in FPGA Interface programming mode.

8 To access this help file from LabVIEW , select Help Search the LabVIEW Help, then expand FPGA Module on the Contents tab and select CompactRIO Reference and Procedures (FPGA Interface). FPGA Module Use this help file to learn about using the LabVIEW FPGA Module. To access this help file from LabVIEW , select Help Search the LabVIEW Help, then expand FPGA Module on the Contents tab. National Instruments Corporation5 Getting Started with CompactRIO and LabVIEWO verview of the Application in this TutorialIn this tutorial, you will create VIs that can be used in control and industrial applications where you need to measure an input and produce an output. The input and output can be analog or digital. You will configure the DO module for pulse-width modulation and the DI module for period measurement. You will configure the AI module to receive a voltage input from the AO tutorial shows how to create the VIs using both programming modes, Scan Interface mode and FPGA Interface Up the HardwareComplete the following steps to set up the hardware for the application in this the controller on the chassis if you are not using an integrated controller and chassis.

9 Refer to the controller operating instructions for information about installing the the DO module in slot 1 of the chassis, the DI module in slot 2, the AO module in slot 3, and the AI module in slot the modules as follows. DO0 on the DO module to DI0 on the DI an external power supply to the DO module if it requires one. Refer to the module operating instructions for information about power AO0 on the AO module to AI0 on the AI to the module operating instructions for information about wiring and for specifications. If the voltage ranges or other attributes of the inputs and outputs make the modules unsuitable for wiring together, skip the module wiring and go to step 4. You can still complete and learn from the tutorial, but you will not be able to test the VI as described in the Deploying, Testing, and Using the VI in Scan Interface Mode the controller to a power supply and an Ethernet network on the same subnet as the development computer.

10 Refer to the controller operating instructions for information about wiring the controller to the power supply and Ethernet Started with CompactRIO and Software on and Configuring the ControllerComplete the following steps to configure the controller and install software on Measurement & Automation Explorer (MAX) on the development the controller under Remote Systems in the Configuration pane. If you do not see the controller, you may need to disable the firewall on the development default network behavior of an unconfigured controller depends on the revision of the controller. Refer to the controller operating instructions for more information about network that the Serial Number in the Identification section matches the serial number on the you do not want to format the disk on the controller, eliminating all installed software and files, power on the controller and skip to step the Safe Mode switch on the controller to the On on the controller.


Related search queries