09-08-2008 05:13 PM
I am working on an indoor positioning system. What i want to do is draw a grid to represent a 10m by 10m room. When the information is received and the triangulation is calculated, I want to put a red square/dot (to scale of the robots size) on the grid to represent where it is in the room. The square/dot should be able to be updated in real time.
How would I go about this in Lab View?
Cheers
09-08-2008 05:21 PM
One simple way to do this is to use a custom Boolean control and use an array on your front panel. You can customize the Boolean control's faces to display any picture you want. The False can simply be blank, and the True can be the picture of your square/dot. Check the LabVIEW Help on how to customize controls.
For ultimate control you can use a picture indicator and simply draw what you want.
09-08-2008 05:54 PM - edited 09-08-2008 05:55 PM
Hey Kamilan,
Another way to process is to use XY graph within a custom square/dot. I don't think you can use a traditional cursor because you can't change its size.
To update in real time just make a while loop.
I enclose a quick example.
Cheers
Charly
09-08-2008 07:06 PM
Hello, I'm sorry, I'm using Labview 8.2. I can't see your sample code. Could you save it as an older version please.
Thanks
Kamilan
09-08-2008 08:49 PM
Converted to LV8.2
09-09-2008 09:19 AM
09-09-2008 11:19 AM
09-09-2008 01:49 PM
09-14-2008 06:03 PM
Hello,
I've been I'll with the flu and haven't been able to get to uni until now. JoelLabView, this is exactly what I needed. I will have a play around and edit it till I get what I need. The other examples have given me a better understanding of labview and I will in corporate it into my final design.
Thanks
K