11-13-2013 01:16 AM
Hey Guys,
I need to build a UI for my application in Labview using Labview 2013. I am new to UI Programming and would need some help. To strart with i need to have a indicator that displays an image & some text. the text keeps varying. Please see attached image.
Any suggestions on what would be the best way to get started? I was thinking of a string control with an image in it. But positioning the text beside the image is proving a little cumbersome.
Looking for some pointers to get started.
Many Thanks,
Abel.
11-13-2013 01:29 AM
@DsouzaAbel wrote:
the text keeps varying.
Does this mean that the image is static and never varies? If the picture always shows, you can just paste it to the front panel and only add a text indicator next to it.
@DsouzaAbel wrote:
Any suggestions on what would be the best way to get started? I was thinking of a string control with an image in it.
You cannot have an image in a string control. You could use a picture control to display the image and the text using picture functions. There are many other possibilities.
11-18-2013 08:56 AM
Hey altenbach,
Many thanks for your reply.
Yes the image is static. I thought of a picture control but that would mean additional code to read the image and dump it into the control which may not be the best idea for a static image.
Pasting the image on the front panel also has the drawback of having to manually move the image continuously along with the string indicator as we figure out the best place for the image/text.
So I combined both the ideas you suggested using a pane with a static image and a string indicator with the variable text. So I can drag the entire pane and both the image and string indicator get positioned. Does this sound OK? Or there could be some drawbacks with this approach too?
Best Regards,
Abel.