NI Tutorial 2956 en
NI Tutorial 2956 en
NI Tutorial 2956 en
Table of Contents
1. Overview
2. Reason 1: LabVIEW for High-Speed Measurements from a Broad Range of Sensors
3. Reason 2: LabVIEW for Vibration Monitoring and Predictive Maintenance
4. Reason 3: LabVIEW for Data Logging
5. Reason 4: LabVIEW for Statistical Process Control
6. Reason 5: LabVIEW for Sharing Data between PLCs and other Automation Devices
7. Reason 6: LabVIEW for Developing Graphical User Interfaces
8. Reason 7: LabVIEW for Alarming, Logging, Scaling and Reporting
9. Reason 8: LabVIEW for Enterprise and Database Connectivity
10. Reason 9: LabVIEW for Advanced Algorithms and Custom Motion Control
11. Reason 10: LabVIEW for Fast Throughput and Reliability with FPGA-based Control
1. Overview
Both process and discrete manufacturers are under increasing pressure to maximize efficiency, reduce downtime, and improve yield. Manufacturers recognize that the key to making these
improvements is timely and accurate information. However, information development is complicated by the mix of hardware and software that exists in plants and the limitation of traditional systems.
You can incorporate LabVIEW into your existing system to add measurements and analysis to your processes to gather complex data and convert it into useful information. Additionally, through the
openness of LabVIEW you can connect and provide the information where it is needed, whether that is in a database, available on a web based dashboard, or provided into the existing plant control
hardware. You can even use LabVIEW to close feedback loops and perform complex control operations using the provided information.
This whitepaper presents 10 compelling reasons to add LabVIEW to your PLCs.
Related Resources
LabVIEW
Programmable Automation Controllers
What is LabVIEW?
LabVIEW is a graphical development environment that complements IEC 61131-3 based PLCs by incorporating PC and embedded technologies for real-time analysis, monitoring, advanced control,
and predictive maintenance. You can significantly achieve better throughput, yield and uptime by adding LabVIEW to your existing PLC-based systems. The new NI LabVIEW 8.5 enhances the
industrial measurement capabilities of LabVIEW with new features designed for advanced analysis and control, improved distributed system management and new targets for human-machine
interfaces (HMIs). For instance, new libraries in LabVIEW allow engineers to use streamlined FPGA targeting tools to implement high performance, hardware-based machine monitoring and
protection systems and the new LabVIEW Touch Panel Module, which helps them to use the same software to create Windows CE-based HMIs. LabVIEW introduces technology that simplifies
custom controller hardware development and provides new display targets. With LabVIEW, engineers and machine builders can use one software tool to design and deploy industrial systems
performing high-performance measurements, FPGA-based advanced analysis and control, communication to existing systems, and human-machine interfaces.
Test drive LabVIEW by download, online, or by DVD!
1/4
www.ni.com
6. Reason 5: LabVIEW for Sharing Data between PLCs and other Automation Devices
Whether you are communicating with devices such as process instruments, programmable logic controllers (PLCs), smart sensors, or single-loop controllers, LabVIEW offers a variety of reliable and
easy-to-use tools to help you meet any of your communication needs. LabVIEW supports OLE for Process Control (OPC) for information exchange among disparate automation devices. LabVIEW
includes compatibility with OPC Data Access 3.0, a recent addition to the OPC specification that increases performance and reliability for accessing real-time data from process control hardware and
software. With the Modbus library for National Instruments LabVIEW, or the built in Modbus I/O server in the DSC module you can use any Ethernet or serial port as a Modbus TCP or Modbus serial
master or slave. Using the Modbus I/O server with communication gateways, you can easily incorporate existing equipment on any industrial network to your LabVIEW application. Communication
gateways support a variety of networks including DeviceNet, ControlNet, EthernetIP, PROFIBUS, and PROFINET among others.
See Also:
Network Communication with LabVIEW
2/4
www.ni.com
LabVIEW makes it easy to create human-machine interface (HMI) applications for remote monitoring and control. LabVIEW provides hundreds of objects for developing a professional user interface:
graphs, charts, knobs, dials, thermometers, and more. Simply drag and drop the objects from the controls palette and then use interactive property pages to customize their behavior and
appearance. You can deploy your user interface applications on PCs, touch panels, panel PCs, and even web browsers. LabVIEW allows multiple clients to simultaneously control a web published
application or VI and also gives you a wide selection of choices to present your data. With the 3D Picture Control in LabVIEW, it is now easy to create, import and control 3D graphics for realistic
presentation of real world objects.
The new LabVIEW Touch Panel Module, along with new shared variable capabilities for communicating with handheld devices, makes it possible for automation engineers to quickly add Windows
CE-based HMIs to their measurement and control systems. With the shared variable, you can easily display values from their real-time controller code directly on custom operator interfaces often
used in embedded machine control and monitoring systems, further simplifying the development of handheld systems for field monitoring applications.
10. Reason 9: LabVIEW for Advanced Algorithms and Custom Motion Control
With LabVIEW, engineers can develop control systems spanning from simple PID control to advanced dynamic control systems, which helps them choose the appropriate hardware and control
methodology without changing their software development approaches. LabVIEW block diagram approach to programming enables scientists and engineers naturally design parallel programs. The
LabVIEW compiler automatically breaks up these parallel programs into multiple processing cores. Therefore, the scientist and engineer can focus on their solution without getting bogged down in
the details of multithreaded programming, yet still gain a performance advantage from the latest PC technology.
If engineers have already designed their algorithms in other software, with the Simulation Interface Toolkit 3.0, they can integrate models they developed in the The MathWorks, Inc Simulink
environment into LabVIEW for real-time control prototyping and hardware-in-the-loop (HIL) applications. And, with the External Model Interface in LabVIEW, you can use the values from third-party
plant models in the LabVIEW Simulation Module. You can use LabVIEW to take advanced control algorithms and target them not only to LabVIEW Real-Time targets such as PCs, PXI and
CompactRIO, but also directly to custom board designs based on 32-bit microprocessors using the LabVIEW Microprocessor SDK.
Using NI SoftMotion technology in LabVIEW, engineers can also create customized motion controllers for better performance and flexibility. You can deploy a variety of motion control functions such
as trajectory generation and custom algorithms to any hardware platform based on your specific application requirements and price and performance needs.
See Also:
Custom Motion Control with LabVIEW
11. Reason 10: LabVIEW for Fast Throughput and Reliability with FPGA-based Control
Engineers can use LabVIEW FPGA to create custom measurements and control algorithms. This capability enables engineers to incorporate extremely time-critical functions to hardware such as
limit and proximity sensor detection and machine health monitoring. Because the control code runs directly in silicon, it is possible for engineers to quickly create applications that incorporate custom
communication protocols or high speed control loops: up to 1 MHz digital control loops and 200 kHz analog control loops.
LabVIEW streamlines the prototyping and deployment of control systems in industrial computers, FPGAs or custom designs all using the same LabVIEW graphical programming approach. The
new LabVIEW FPGA Wizard automatically generates FPGA I/O and timing code to embed control logic directly into FPGA hardware for high performance and reliability. With the LabVIEW FPGA
3/4
www.ni.com
new LabVIEW FPGA Wizard automatically generates FPGA I/O and timing code to embed control logic directly into FPGA hardware for high performance and reliability. With the LabVIEW FPGA
Wizard, engineers have a simple approach to harness the latest FPGA technology, which means they can focus more on their control system logic. The new LabVIEW FPGA Wizard automatically
generates I/O and timing code for developing custom measurement applications.
4/4
www.ni.com