12-23-2012 08:30 AM
Hi to all
I want to create Random number size of 6 digit ,
but it very important that the number that genetare will not be repeated
can I preform this in labview
Thanks alot
Solved! Go to Solution.
12-23-2012 10:01 AM
Create an array of integers from 0 to 999999. Then use the Riffle function to randomize that array. Then take out the values as you need them one by one using index array.
12-23-2012 11:34 PM
can yo help me
thanks
12-23-2012 11:38 PM
You should be able to figure it out. My description is simple enough. You'll learn more if you take the instructions and figure it out yourself from there, rather than being given the answer. Is this homework?
12-23-2012 11:46 PM
I will build , just can you see if I build it right ?
I fear to do something wrong and get same number ? this function related to encryption , and I need to build it right
Thanks
12-23-2012 11:48 PM
Of course. Build it. Test it. Then post it in this thread for help if you need it.
12-24-2012 12:20 AM
@Elyan_wisam wrote:
I want to create Random number size of 6 digit , but it very important that the number that genetare will not be repeated
This description is not clear at all.
If you only create a single six digit random number, a "repeat" is not defined. Do you mean that any of the digits should not occur more than once in the given number?
If you don't want the six digit numbers to repeat, you will run out of numbers at one point, because there is only a finite set.
Please formulate the questions more clearly:
@Elyan_wisam wrote:
can I preform this in labview
LabVIEW is comprehensive programming language. You can do anything with it!
So, the answer is yes, of course! Of curse you might need to start with a few tutorials... 😉
01-02-2013 01:25 PM
Is "Riffle" a newer LabVIEW function? Searching for the term gets "(Riemann) Zeta Function (Not in Base Package)."
01-02-2013 02:27 PM - edited 01-02-2013 02:32 PM
@djs_at_eaton wrote:
Is "Riffle" a newer LabVIEW function? Searching for the term gets "(Riemann) Zeta Function (Not in Base Package)."
Its been around since at least 8.6 on the Signal Processing>>Signal operation sub pallatte. Of course, that pallatte might not be shown by default.
[Edit: It IS NOT shown with default LabVIEW.ini settings]
to change visable pallattes open a block diagram View>> Functions pallatte and select customize>>Change Visable pallattes from the pallatte menu
01-02-2013 02:27 PM - edited 01-02-2013 02:27 PM
It's been around as long as I know of.
It is a part of the Full Development System. Here is the icon and its context help.