Example Code

Multicore - Basic Task Parallelism

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This code demonstrated LabVIEW's ability to break program tasks in to multiple threads and execute on different sections simultaneously.

 

Description

After the signal is generated by the VI on the left, LabVIEW automatically multithreads the application to be able to simultaneously process the write to graph, statistics and write to file.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Run the VI.
2. Select a folder to save the file with the simulated data.

 

Additional Information or References

Snippet.png

Todd S.
LabVIEW Community Manager
National Instruments

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