ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Example Code

Explicit Parallelism in LabVIEW

Code and Documents

Attachment

Overview:

If you are using a multicore PC, this example allows you to select which of your first two processors will process the simulate sine wave.
Description:
LabVIEW automatically breaks down VIs into different threads, enabling multithreaded, parallel processing.  You can view the CPU usage in the Windows Task Manager on the "Performance" tab. Note: When run, this VI will open the Windows Task Manager. This is okay.
Requirements:

  1. LabVIEW 2012 (or compatible)
  2. Multicore Computer

Steps to Implement or Execute Code:

  1. Run the VI.

Additional Information or References:

Screenshot_2.png

 "**This document has been updated to meet the current required format for the NI Code Exchange.**"

Todd S.
LabVIEW Community Manager
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.