LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

random choise from .txt

Your goal is to create a VI that can be used to arbitrary choices winner. Do you have a list of all participants in a text file called "Participants.txt". The program should retrieve this list and then randomly select the winner. On the front panel should be numeric control by which the user can specify how many people should be selected (how much is prices). The program should ensure that no person will be selected more than once. List of winners should be saved to a text file. On the front panel should be a red light that will indicate an error if the required number of winners is higher than the total number of participants.

0 Kudos
Message 1 of 4
(2,430 Views)
This sounds like a homework assignment. You have not asked an actual question. Please note that this is not a place to get your work done for you. You will get some help if you attach the code you have written along with the details on where you are having issues.
0 Kudos
Message 2 of 4
(2,429 Views)

yes, it´s homework. i am beginner in Lab view. we have two lessons,  and my teacher is.... sorry 🙂

0 Kudos
Message 3 of 4
(2,413 Views)
The recent post at http://forums.ni.com/t5/LabVIEW/Prompting-for-password/m-p/2795558/highlight/true#M820529 has some excellent links for self learning.
0 Kudos
Message 4 of 4
(2,406 Views)