Example Code

UEFA Euro 2012 Sweep Stakes Generator

Code and Documents

Attachment

What better way to celebrate a tournament that bring's nations together every 4 years? No - I don't mean the Olympics, I of course mean the UEFA Euro 2012 Football Championships (or Soccer for my American friends).

Start.JPG

The following Example code will randomnly assign a person's name to a country - in the typical sweep stake fashion ( http://en.wikipedia.org/wiki/Sweepstakes ). This can be used to have some fun around the office, by choosing a random team to support during this fantastic tournament.

Names.JPGfinal.JPG

All images courtesy of NI and UEFA. I am not encouraging gambling.... Honest!

p.s.

It even contains a little bit of Euro 2012 trivia!

anticipation.jpg

Written in LabVIEW 2011 with a State machine architecture

Ashish Naik
Automotive Business Development Manager
National Instruments UK

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

Contributors