Example Code

Blackbody Generator for LabVIEW

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

Description

1. Overview

This VI calculates and outputs the statistics of the Blackbody radiation for a user-defined situation.

 

2. Description

This VI generates blackbody curves and displays a chromaticity diagram. To view the algorithms used, open bbcurve.vi and flxy.vi.
A black body is an idealized physical body that absorbs all incident electromagnetic radiation, regardless of frequency or angle of incidence. A white body is one with a "rough surface [that] reflects all incident rays completely and uniformly in all directions."

 

3. Requirements

  • NI LabVIEW Base Development System 2012 (or compatible).

 

4. Steps to Implement or Execute Code

  1. Download and open the compressed project "Blackbody Generator LabVIEW 2012 NIVerified.lvproj".
  2. Open "Main.vi".
  3. Run the VI.
  4. Move the Deg K slider to change the curve.
  5. Click Stop to finish.

 

5. Additional Information or References

Blackbody Generator FP Screenshot.PNG

 

Blackbody Generator Screenshot.PNG

 

 

 

 

**The code for this example has been edited to meet the new Community Example Style Guidelines.**

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