LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

Showing results for 
Search instead for 
Did you mean: 

Puzzling Compile Warning on NXT toolkit

    I'm using LabView 7.1 to build a .vi that can be downloaded into the NXT brick to control a custom sensor. Using the NXT toolkit, the block will download and runs fine on the NXT. I get a warning stating "WARNING: Floating point data types are not supported. Value will be treated as an I32". I've looked through all the code and the sub .vi 's and find no floating point data types anywhere.  When I double click on the warning it will take me to one of the wires in the block diagram. If I replace this wire and double click the warning again, I get taken to another wire. I can continue this process until I go through pretty much all the wiring and start over.

I'm new both to LabView and the NXT toolkit so may be doing some obvious thing, if so, please let me know.

I'd like to get rid of the warning as I'd like to distribute the vi with the sensor and not have users get alarmed when they went to use it.

Thanks in adavance for your help.

0 Kudos
Message 1 of 4
I haven't seen this before (but I'm far from an expert).  Have you tried clicking on "Show Errors" in LabVIEW?  Are you calling any LabVIEW vi's that output a floating point value?  Are you doing any division that isn't in the form of quotient and remainder?
0 Kudos
Message 2 of 4
These are all good suggestions and working through these steps got rid of a number of other identically worded warnings. Unfortunately this one seems to be immune to this strategy.
0 Kudos
Message 3 of 4
You can also upload your vi so we can have a look at it.
greetings from the Netherlands
0 Kudos
Message 4 of 4