05-05-2010 05:03 PM
Hello,
I have upgraded from LabView 5.1 to 7.1.
Using labview 7.1, i have opened a VI which is written in labview 5.1, I got an error saying something like
The labView will not pass the value and i have to use InRange and Coarce .. (it was repeated many times ) i have closed it but after i run the VI, the labview doesn't communicate with the dvice. where it was working fine with LabView 5.1.
any one have any idea what is going on !!!!!! how i can get that error massage again to see what it was !!! and how i can fix this issure !!
Thank u
Solved! Go to Solution.
05-05-2010 06:09 PM
That wasn't an error message. It was a warning that was telling you that the original VI had the front panel controls configured to use a coerced range. What it's telling you is that with 7.1 that mechanism only works when you use the front panel to enter the value manually. If you're using the VI as a subVI and feed it a value that's out of range, then the coercion settings will not apply, and the subVI will get the uncoerced range. So, if you were counting on making sure the subVI would never receive an out of bound value then you have to add an In Range and Coerce function in the subVI to make sure that if the subVI is fed a value programmatically then it will be forced to be in range.
I doubgt that's causing the problem of not communicating with your device unless the value was setting some sort of parameter related to some communication settings.