From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-12-2009 12:26 PM
Solved! Go to Solution.
03-12-2009 12:36 PM
03-12-2009 12:39 PM
What you have is just a subVI. It can act as a function as part of a larger application. Or you can build the rest of the application around what you have now.
What does the random number have to do with the password or text files?
You should look at examples on File I/O VI's, and als user dialog VI's in the example finder to see how they work. Then figure out how you can make them work together with whatever you have in mind for your application.
03-12-2009 12:43 PM
03-12-2009 01:22 PM
03-12-2009 01:27 PM
03-12-2009 01:30 PM
03-12-2009 01:49 PM
Hmmm. this is homework and you're using 8.5 "from somewhere else".....
Hmmm....
03-12-2009 01:51 PM - edited 03-12-2009 01:52 PM
Well, you would create a password dialog. Open your example finder and look for the example "login dialog.vi". Maybe it can give you some ideas. 😄
In the meantime, you might want to cleanup your code a little bit. There is a primitive for 1/x and I am not sure why you do that double-division? Why not e.g. the following:
Both give you equally distributed random numbers over the desired interval (incl. boundaries).
03-12-2009 02:50 PM