Using Labview and NI PXI Hardware, We Achieved
Total Page:16
File Type:pdf, Size:1020Kb
InstrumentationNewsletter The Worldwide Publication for Measurement and Automation l Fourth Quarter 2009 6 New NI PXI Semiconductor Suite Expands Measurement Capabilities for Chip Test 8 The Robot Revolution: BuildingCover Better Title Measurement Cover Title: LabVIEW Addresses the Needs Systems with Windows 7 of an Emerging Market 10 Virtualization Provides a More Cover Title page 3 page 3 Efficient Use of Multicore Hardware 11 NI Expands HIL Test Platform with New Embedded Network Interfaces and Fault Insertion 12 Learn Best Practices for Building Automated Test Systems 14 LabVIEW and PXI Control the World’s Most Powerful Laser 15 Did You Know LabVIEW Could Edit VIs through Voice Commands? 16 Special Focus: Choosing the Right Technology for Your Wireless Application 24 Deploy Your .m Files to Real-Time Hardware 26 Guarding Against Hardware Obsolescence 28 NI Announces the 2009 Graphical System Design Achievement Award Winners ni.com Inside NI Staying On Top of Technology Trends At National Instruments, product development is driven by a passion for Tools for Innovation innovation and new technologies. By staying on top of technology trends, The LabVIEW platform takes advantage of advanced technologies including we have built a platform of tools that has helped engineers and scientists wireless, embedded processors, and field-programmable gate arrays (FPGAs) worldwide create some of the most advanced applications. We are always to make it easy for you to develop cutting-edge applications. As a result, planning for what’s ahead, and our foresight means that you can be ready LabVIEW has grown from a virtual instrumentation tool to a powerful for important advancements, from multicore processors to the latest programming environment that helps you create exciting and innovative Microsoft OS. solutions using graphical system design. Examples in this issue range from the world’s most powerful laser to robots and unmanned vehicles. Embracing Windows 7 A technology that has had a big impact on engineers and scientists is Do More Microsoft Windows and its evolution from Windows 3 to Windows 95 to For more than 30 years, National Instruments has continued to deliver its Windows NT and Windows XP. When Microsoft released Windows Vista promise of innovation and continuous improvement to give you the tools in 2006, wide adoption did not occur as it did with previous Windows to be successful, whether you have a simple data acquisition application updates. However, with Windows XP starting to show its age and the or a more complex system. Windows 7, PCI Express, robotics, multicore, economy affecting PC purchases, there appears to be a demand for and FPGAs are just some examples of our investments to help you do more. improvement. Windows 7 promises increases in performance and security as well as data throughput, which may entice engineers and scientists using older OSs to make the switch. NI engineers have been testing and running Windows 7 for months – John Graff [email protected] prior to its recent release. As you would expect, we are proud to announce John Graff has been with National Instruments that the entire NI LabVIEW 2009 platform officially supports Windows 7. since 1987 and is the vice president of marketing This means you can upgrade your systems with confidence, whether and customer operations. He received a you are controlling a traditional instrument or looking to make use of bachelor‘s degree in electrical engineering high-performance technologies such as multicore and PCI Express. from The University of Texas at Austin. Newsletter Instrumentation Volume 21, Number 4 Fourth Quarter 2009 Executive Editor John Graff Creative Manager Joe Silva Production Artist Fatos Shita Editor in Chief Andria Balman Art Director Adam Hampshire Photo Editors Nicole Kinbarovsky, Allie Verlander Managing Editor Jenn Giles Project Manager Megan McCall Image Coordinator Kathy Brown Associate Editors Jennifer King, Jontel Moran Illustrators Brent Burden, Komal Deep Kaur Production Specialist Robert Burnette Contributing Editors Johanna Gilmore, Tiffany Wilder Print Production Art Manager Laura Thompson Circulation Coordinator Molly Rand Instrumentation Newsletter is published quarterly by National Instruments Corporation, 11500 N Mopac Expwy, Austin, TX 78759-3504 USA. ©2009 National Instruments. All rights reserved. ActiveMath, AutoCode, BioBench, BridgeVIEW, Citadel, CompactRIO, Crashbase, CVI, DAQCard, DAQ Designer, DAQPad, DAQ-STC, DASYLab, DIAdem, DIAdem CLIP, DIAdem-INSIGHT, DocumentIt!, Electronics Workbench, FieldPoint, Flex ADC, FlexDMM, FlexFrame, FlexMotion, HiQ, HS488, IMAQ, Instrumentation Newsletter, Instrupedia, LabVIEW, LabVIEW Player, Lookout, MANTIS, MATRIXx, Measure, Measurement Ready, Measurement Studio, MITE, Multisim, MXI, NAT4882, NAT7210, NAT9914, National Instruments, National Instruments Alliance Partner, NI, NI-488, ni.com, NI CompactDAQ, NI Developer Suite, NI FlexRIO, NI-Motion, NI Motion Assistant, NI SoftMotion, NI TestStand, NI VeriStand, NIWeek, RIDE, RTSI, SCXI, Sensors Plug&Play, SignalExpress, SystemBuild, The Software is the Instrument, The Virtual Instrumentation Company, TNT4882, TNT4882C, Turbo488, Ultiboard, VAB, VirtualBench, VXIpc, and Xmath are trademarks of National Instruments. The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries. LEGO, the LEGO logo, MINDSTORMS, and WEDO are trademarks of the LEGO Group. MATLAB® and Embedded MATLAB® are registered trademarks and Parallel Computing Toolbox is a trademark of The MathWorks, Inc. All other trademarks are the property of their respective owners. Other product and company names listed are trademarks or trade names of their respective companies. A National Instruments Alliance Partner is a business entity independent from National Instruments and has no agency, partnership, or joint-venture relationship with National Instruments. Cover Building Better Measurement Systems with Windows 7 With the latest version of the Windows OS, Windows 7, LabVIEW users can unlock new technologies. overall attainable bandwidth with Windows 7, compared to the same hardware running on Windows XP. The increased hardware performance, combined with the multicore optimization of both the Windows 7 OS and LabVIEW software, resulted in a performance increase of up to 20 percent during high-speed or multifunction I/O measurements, as shown in Figure 2. High-Performance Measurements with PXI Express and Multicore Microsoft has restructured much of Windows 7 to perform more system tasks concurrently in order to benefit from increasingly common multicore processors. A key example is the Microsoft rearchitecture of the graphics Figure 1. Due to several improved features, the Windows 7 OS is a reliable program for measurement applications written with LabVIEW software. device interface (GDI), which was designed to improve responsiveness when multiple Instead of adding significantly new or different functionality in Windows 7, applications are running simultaneously. This rearchitecture results in Microsoft improved many of the features introduced in Windows Vista, fewer sequential obstacles, which can provide a more responsive user refined the usability of the shell, and increased the system responsiveness interface and better overall system performance of multithreaded and performance. These changes, combined with a focus on hardware and measurement applications. software compatibility, make Windows 7 a strong candidate for the latest Multithreaded software assigns independent, asynchronous processes test and measurement applications. This article explains how applications to separate threads, which can be executed in parallel by separate computer written within the NI LabVIEW graphical development environment can cores. Computer processor clock rates are experiencing minimal increases; take advantage of Windows 7 and the latest computing platforms to thus, the processor manufacturers are adding more cores onto a single chip. increase data throughput, improve performance, and take advantage of For LabVIEW programmers, it is common to create multiple computationally technologies such as 64-bit, USB data acquisition (DAQ), and PCI Express. intensive tasks in a single application that can run in parallel; this is as simple as drawing two loops on a block diagram. LabVIEW and NI drivers, Increasing Throughput with NI USB DAQ and Windows 7 such as NI-DAQmx, are multithreaded, which helps test engineers easily Commercial vendors are already shipping computers with Windows 7. These create high-performance acquisition and analysis applications without computers offer benefits in overall performance and multiple cores as well manually spawning and managing separate threads. DAQ applications as provide the latest bus technologies, including multiple PCI Express and that are written in LabVIEW and that use NI hardware on a multicore Hi-Speed USB slots. computer benefit from the improvements in Windows 7 and are designed Microsoft has invested significantly in USB improvements for Windows 7. to further optimize the use of multicore processors. These improvements, such as the elimination of unnecessary timers, selective Measurements that require high throughput and fast performance are hub suspension, and lower enumeration time for USB flash devices, increase prompting engineers to use new technologies such as multicore processors the performance of USB test and measurement