ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
01-14-2016 09:03 PM
I figured it was time to create my own Powerball simulator with the jackpot hitting a record amount..The number of tickets to purchase is user configurable.My current code generates and checks 10,000 combinations every 2.125 milliseconds and hits a jackpot in 15 to 120 seconds. I have not fully optimized my code but off to a good start.
I realize that this is CPU dependent so I will publish a link to download the EXE. I intend to publish my code soon but want to give others in the community the opportunity to create their version.
01-19-2016 08:23 AM
Link to the Powerball simulator executable. You will need to change the .e extension to .exe. I will post my LabVIEW code early next week.
The challenge is creating efficient code.
https://drive.google.com/file/d/0B2ahen3USkgZOE9QdHZxWWZ4azQ/view?usp=sharing
Matt
01-23-2016 12:05 PM
I developed the Powerball simulator because a coworker wanted a coding challenge for their high school class. Strange thing, my executable runs SLOWER than just running my code from LabVIEW. How is this possible? I am looking forward to see other solutions. I will post my source code on Monday,
Matt
01-26-2016 07:33 AM
Source code can be downloaded form this link: https://drive.google.com/file/d/0B2ahen3USkgZU2hLMk5zUzVsRTQ/view?usp=sharing