ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 6i compatibility with Labview 5.x programs

I am attemping to run the LabView cable TV analyzer example program called hp859xx found at:

http://zone.ni.com/idnet97.nsf/nidz/B4E6D02FD355F8A5862568AB005FBC05

However, this program was written for LabView 5.x and I am running the evaluation version of LabView 6i and I get many warnings that say the following:

Uses data range coercion, which now only applies to data entry; values will not be coerced when passed to subVIs. To coerce passed values, use the In Range and Coerce function.

Is there an updated program compatible with LabView 6i? Otherwise, how do I fix these warnings in this program?

Thanks.
0 Kudos
Message 1 of 4
(2,647 Views)
I've had that warning before when updating to 6i. It refers the coerce value if out of range function of numeric controls. In 6i the value will only be coerced if enter into the control manually, not if the data is passed to it as a sub-vi. In this case the data must be verified/coerced using the "In Range and Coerce" function found in Functions>>Comparision.

I've always ignored it and have not had any problems.

Try ignoring the warnings and run the vi...


Brian
0 Kudos
Message 2 of 4
(2,647 Views)
You're right, if you ignore it you won't have problems. However, I just found out that if you save the file in LabVIEW 6i, the warnings will disappear.
0 Kudos
Message 4 of 4
(2,647 Views)
To remove these warnings, save the VI as LabVIEW 6. You shouldn't see them again the next time you call them from LabVIEW 6.

Shan Pin Koh
0 Kudos
Message 3 of 4
(2,647 Views)