Description
Description-Separate-1The physical constants built into LabVIEW are not the currently accepted values. The CODATA project gathers the accepted values and errors, and they publish them intermittantly through NIST. The latest, 2022 data only released earlier this year. The attached folder is a palette containing all of these values, in extended precision, along with a few VIs of common values relating to Pi, 2 and e. All are represented by more digits than a numeric indicator will allow you to show and give you the truest numerical representation you can achieve in LabVIEW
This is an update to the 2018 values which can be found here https://forums.ni.com/t5/Example-Code/Physical-constants-from-CODATA-2018/ta-p/3949452
In the attached zip file, there are many small subVIs wrapped into llb files. These contain all of the physical constant data found in https://physics.nist.gov/cuu/Constants/Table/allascii.txt that use SI units (there are a couple that do not and these are omitted)
All of the VIs have the value in extended precision, with the correct unit. The second output provides the measurement error should you need it.
Description-Separate-2How to Use
How-Separate-1Unzip the attached file into the user.lib folder under your LabVIEW installation path. Load LabVIEW (or refresh the palettes) and you will find the conatnts arranged into alphabetical libraries under a "Contstants" folder. Quickdrop will allow you to find them directly by name.
How-Separate-2Additional Information
Additional-Separate-1All of the data is pulled and parsed directly from https://physics.nist.gov/cuu/Constants/Table/allascii.txt
Code was generated in LabVIEW 2024 Q3
Additional-Separate-2