I'm either going crazy, or have forgotten something basic, or this is a bug. :question:
I have been away from LabVIEW for some time, working with Visual Basic, so either of the 1st two options is possible.
I have tried this example with 3 different LV versions with the same result so I find it hard to believe it's a bug. But ...
There is an integer input control with a Data Range of 1-10 and "Out of range action" set to "Coerce".
I am unable, from the front panel to set it to anything except values between 1 and 10, as expected.
But I also expect any calling parameter to be coerced. That isn't happening. Negative, 0, and values >10 are passed right through without coercion.
The simple vi and calling vi is attached (ver 8.0.1).
Download File:post-133-1164846160.viDownload File:post-133-1164846242.vi
Thanks for any insight,
Jon Sweeney