AndrewH Posted October 12, 2011 Report Share Posted October 12, 2011 Having an unusual problem - wonder if anyone is able to help I'm using the Get Image method on an invoke node to grab the front panel of an intensity graph, which I then store as a JPEG. Within the application the user can change the color table on this and other intensity charts to the colorscheme of their choice. However the image that is stored from Get Image only uses the color table that is defined as the default one for that chart, and not the one that is currently in use. E.g. if the intensity chart is currently displaying a color table that maps from red->white->blue (hot-cold) coloring, but has a default color table that is full color spectrum (ROYGBIV), then the exported image is full spectrum, not the currently dispayed hot-cold scheme. Does anyone have any suggestions of ways to ensure that the exported image uses the currently displayed color table rather than the default that is stored in the depths of Labview.? thanks in advance Andrew Quote Link to comment
Ravi Beniwal Posted October 12, 2011 Report Share Posted October 12, 2011 I have run into similar issues before. I resorted to programatically taking screenshot using PrntScr via keyboard emulation. Then knowing the position and size of the graph will let you extract the image subset. This also helps when you want to capture an image of more than just one control, or want to include the window border or something. Quote Link to comment
AndrewH Posted October 12, 2011 Author Report Share Posted October 12, 2011 Ohh - thanks Ravi. Seems like a serious short-coming of Labview. Any one else have any ideas???? Quote Link to comment
bmoyer Posted October 12, 2011 Report Share Posted October 12, 2011 Is this what you're trying to do? Bruce Output Intensity Graph.vi Quote Link to comment
AndrewH Posted October 13, 2011 Author Report Share Posted October 13, 2011 OK - couple of good ideas - thanks for this guys. I've now got some alternative ideas to try Thanks again Andrew Quote Link to comment
bmoyer Posted October 14, 2011 Report Share Posted October 14, 2011 Glad to hear you were able to get some resolve on this problem. Sometimes what is perceived to be a serious short-coming of LabVIEW is really only a short-coming of our perception...but sometimes not. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.