Community Browser
Showing results for 
Search instead for 
Did you mean: 

Re: Never Pick Your Own Lottery Numbers Again


We use random numbers for many applications in life – from global climate prediction to air traffic control to the lottery. However, true randomness is hard to achieve. Why? Most random number generation is created by computer algorithms, meaning that it really isn’t random since the process is still controlled by something designed by a programmer.

Researchers at the Australian National University (ANU) have not only found a viable solution, but they have also developed the world’s fastest random number generator by listening to vacuum noise. No, not your household vacuum cleaner-- this generator uses a sensitive light detector to detect virtual sub-atomic particles that spontaneously appear and disappear in a vacuum.

NI PXI.jpg

ANU researchers used NI technology, including NI LabVIEW system design software, an NI PXIe-1062Q real-time chassis, and an NI PXIe-7965R NI FlexRIO module, to build their Quantum Random Number Generator. Researchers use these tools primarily for data acquisition and processing.

“We chose NI products for their versatility and ease of programming – LabVIEW proved easier to use than FPGA programming languages like VHDL or Verilog,” said Dr. Thomas Symul, research fellow at ANU. “We were already using NI products in our Quantum Optics Lab,” Professor Ping Koy Lam adds, “which is further proof of the versatility of the technology.”



The random number generator is available online for anyone to use. In fact, it has already received several million hits. Now everyone has access to truly random numbers!

>> Read the full paper on the the ANU Quantum Random Number Generator.


The online generator mentioned by the article is here:

Proven Zealot

This sort of begs to be packaged into a single "Get Real Random Number From" that ships with LabVIEW. Sure it is only helpful for apps that have an Internet connection, but that covers a pretty large sweep of applications.

Active Participant

Random number.png

authored by
Christian L, CLA
Principal Systems Engineer - Partner and Ecosystem Development - National Instruments
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for
use in hazardous environments. You assume all risks for use of the Code, and use of the Code is subject to the Sample Code License.

Trusted Enthusiast

Or a library:


Uses the JSON API library by James Powell.

Full library (U8, U16, Polymorphic VI) available at My dropbox

(c) Ton Plomp

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep
My LabVIEW Ideas

LabVIEW, programming like it should be!
Proven Zealot

Nicely done.