Jump to content

random number within range must have input?


Recommended Posts

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 by really2002
Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.