NI LabVIEW Quiz Challenge
Our monthly quiz question
Our monthly quiz question
“It’s okay to have fun”. A phrase that was used in the past to promote LabVIEW. And many programmers will agree with this, it is fun to program in LabVIEW.
For this edition we asked Natan Biesmans from QPlox Engineering to create a question. (PS: Natan did create a GPU toolkit for LabVIEW)
Want to win a gift? Answer this question:
Please put the following code in order of performance. It’s a massive operation where the art of high performance programming becomes important. Now the question: which one is the fastest, which one is second and which third? Would be nice if you could also mention the different magnitudes in timing.
For the previous edition we created a simple question that everyone who uses LabVIEW should be able to answer.
This was the question:
The selector has a value of 2,5. What will you see in “Text” after running the program?
The right answer is: 2,5 is a floating point number which gets converted to an I32 integer. If the value of the input is ,5 between two numbers, the function returns the nearest even integer. In this case that is an integer 2. Therefore you get “You and NI rock!” from the case structure.
Here are the winners:
They will receive the gift.
Do you want to challenge the Newsletter readers? Send your question to ni@cnrood.com and who knows, we might use it. Let’s have some fun!