really2002 Posted August 27, 2013 Report Share Posted August 27, 2013 (edited) I use the Labview 2012 with OPENG toolkit 4.0.1.9. Must the random number within range have the two input? for example i want to generate random with 0~1, but i hav to add the 1.0 and 0.0 to the input. other with it shows the error below: Subvi 'random number within range__ogtk.vi' required input'low' is not wired Subvi 'random number within range__ogtk.vi' required input'high' is not wired does this vi have default inputs? did i do some wrong? Edited August 27, 2013 by really2002 Quote Link to comment
crossrulz Posted August 27, 2013 Report Share Posted August 27, 2013 If you want 0 to 1, just use LabVIEW's built-in random number. Since the OpenG function is looking for a range, it makes sense that the inputs should be required. Plus that is actually a polymorphic VI. So it needs the inputs so LabVIEW knows which instance to call. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.