02-03-2012 05:19 PM
I downloaded the Rotate.llb and am trying to rotate a simple 24bit .bmp I made in Windows Paint, but the rotated image comes up blank.
I edited the default image control and indicator to have my image inside it and really don't know what else to do? The example works fine with the default image, I'm wondering if it has to do with my image properties?
I tried using "Picture to Pixmap" but to no avail. Any help would be greatly appreciated. I am attaching a screen shot of my results and the modified Rotate vi I am working on, thanks.
02-06-2012 05:49 PM
Hello Sametron,
Give this a try:
Regards,
Jeff L.
02-06-2012 05:55 PM
Hi Jeff,
Thanks for the response. I could use this method, but I am trying to avoid using a path because this program will eventually be a distributable .exe and I do not want any constraints on the client's install path i.e. the image path. The NI example I was looking at does not use a path but rather seems to use an embedded picture. For now I have worked around my problem by just drawing a filled rectangle (all I need in the drawing is a line that rotates which indicates sensor tilt) but if there is a work around without the path, or a way to use the path but not an absolute path that would be good too.
02-07-2012 07:58 AM
Hello Sametron,
Have a look at this. You could try using the strip path VIs and just include the .bmp in the source files of your .exe.
Regards,
Jeff L.