12-09-2008 07:20 AM
Hi
I would like to simulate probability function. I would like that an event has .75 probability to occur. I attached here my solution but I am not sure that it is the best way.
Thank you in advance.
12-09-2008 07:53 AM
I think there is something wrong with your attachment.
Can you repost it?
(or is it my computer ?)
12-09-2008 08:04 AM - edited 12-09-2008 08:05 AM
The VI's name is invalid for HTML publishing.
HTML understands '%' as escape character for formating, for instance german umlaut are something like "%auml;"....
So please rename the VI.
thanks,
Norbert
[EDIT]: Tho most common format string in HTML would be %20 for a blank (space).
12-09-2008 08:24 AM
12-09-2008 08:28 AM
Hi,
try this VI.
I did not understand yours....
12-09-2008 08:30 AM
12-09-2008 08:32 AM
12-09-2008 08:40 AM
Very strange thinking, unnecessary code.... but i think correct result !
12-09-2008 08:41 AM
12-09-2008 10:46 AM - edited 12-09-2008 10:48 AM
Also remember that all code that is common in all frames of a case structure should be outside the case structure. (e.g. the dialog box in your case).
Here's what I would do instead.
Also, remember that is is very easy to generate random numbers with complicated probability profiles, for example as described here: