12-12-2012 02:59 PM
Hello:
I'm trying to save to a file, a waveform of a "waveform graph" that has cursors, which have different colors. When opening the file I can see that the waves are plotted defined color, but the grids and cursors are colored black.
Someone can tell me what to do, so that the file is saved with the original colors of the "waveform graph"?
Best Regards
12-19-2012 07:09 AM
Probably this is happening because you are using the Invoke node Image Export, which captures an image with less information. However, if your application allows, using the Invoke Node Get Image, which captures your control, displays all the colors of your waveform, include cursors and grids colors.
In this link bellow, you can see how use this Invoke Node:
http://digital.ni.com/public.nsf/allkb/5AE4ADCBB65A6D8F86256FBF007A1AC1?OpenDocument
I hope this helped you. Success in your application.
Regards.
Wesley Rocha
Applications Engineer
National Instruments Brazil
www.ni.com/suporte
12-20-2012 05:01 PM
Thanks Wesley, excellent contribution.
I used the "Get Image Invoke Node" and it works great. Now I wonder, how I can do to save the graph with white background?
Best regards
12-21-2012 07:11 AM
The property node BG Color is the solution to change the background color of your waveform. Using two, as in the attached image, you will be able to change the background color from captured image from your waveform, and reconstruct it without any visual perception on the front panel. If needed, you can also change, of same way, the grids of your waveform.
Tip: Remember to connect the wires in the cluster errors. Thus, in addition to ensuring the data flow, you propagates possible errors.
I hope this helped you again and thanks for your recognized.
Success in your application.
Wesley Rocha
Applications Engineer
National Instruments Brazil