Professional Documents
Culture Documents
Overview
Go parallel with multicore programming features in LabVIEW and new NI-STC3 timing and synchronization technology on X Series multifunction DAQ hardware.
Table of Contents
1. Introduction
2. Parallel Programming in LabVIEW 2009
3. Parallel I/O Timing with X Series Multifunction DAQ
4. Go Parallel from Signal to Software
5. Take the Next Step
1. Introduction
Parallelism has changed the way engineers and scientists approach problems and find new ways to innovate. From increasing the performance of hardware inputs and outputs (I/O) to maximizing
the benefits of multicore processors, data acquisition systems continue to grow more advanced, taking PC-based measurements into new applications. NI LabVIEW 2009 software and NI X Series
multifunction data acquisition (DAQ) hardware are the next generation of products to extend functionality with parallel operation from signal to software.
1/3
www.ni.com
Figure 6. The timed-loop structure in LabVIEW can execute on an assigned processor core.
The new parallel for-loop structure in LabVIEW 2009 divides for-loop processing between your processor cores by enabling parallelism. This is used for code that does not have dependencies from
one iteration to the next, and is configured by right-clicking on the loop border of a regular for loop and selecting Configure Iteration Parallelism (Figure 7).
Figure 7. Turn any for loop into a parallel for loop by right-clicking on the structure border.
A new P terminal (for Parallelism enabled) appears on the border of the loop, where you can enter a number of parallel loop instances.
2/3
www.ni.com
3/3
www.ni.com