09-21-2016 03:41 AM
Actually there is one more thread which actually started by you, check with that i have provided how to sort the values as required by you, Try to implement that in your actual code, then your job is done
http://forums.ni.com/t5/LabVIEW/High-score-ranking-system/m-p/3346910#M983372
09-21-2016 03:44 AM
Hi Palanive,
I have tried using your code and it is working alright, however I am not sure of how to use your code to write it into excel, would you mind assisting with that?
With thanks,
Sonata
09-21-2016 03:51 AM
Hello Sonataaaaa,
If you got answer for any of your query try to Accept as solution so that others will not spend time on that thread.
If you are storing just to display the top ten rankers, dont want to use excel just build the values as an array and then apply the sorting algorithm as mentioned in http://forums.ni.com/t5/LabVIEW/High-score-ranking-system/m-p/3346910#M983372
09-23-2016 12:39 AM
Hi Palanive,
I could not use your snippet because of the LabVIEW version, but I have tried recreating your code, however I could not run it with myRIO, any suggestions I can make to my vi?
With thanks,
Sonata
09-23-2016 12:47 AM
what version of LabVIEW Youn are using?
09-23-2016 12:58 AM
Hi Palanive,
Im currently using the 2014 version, may I also ask for the snippet you gave, is it possible to display the top ten names and scores at once?
With thanks,
Sonata
09-23-2016 01:10 AM
Yes Its Possible to Display Name as well as score, I have Modified in the Main VI of Yours Check whether it satisfies your requirement.
09-23-2016 01:32 AM
Hi Palanive,
Thanks for the help! I am close to finishing. Currently the score is recording continuously, how should I modify it so that it records one score after a game ends?
With thanks,
Sonata
09-23-2016 01:58 AM
Which is the trigger to indicate that game ends?
If you get a trigger point based on that decide whether do you want to build an array with new values or not.
09-23-2016 03:44 AM
Hi Palanive,
We are thinking of allowing our program to run for 20 secs and stop so that we can record the score. Do we use the 'Elapsed Time' function from the Timing palette?
With thanks,
Sonata