LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving "Waveform graph" with cursors, set of different colors, in an image file

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

0 Kudos
Message 1 of 4
(2,957 Views)

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

Wesley Rocha
Application Engineer
National Instruments Brazil

Visite a nossa comunidade em PORTUGUÊS!!!

Certified-LabVIEW-Associate-Dev
Message 2 of 4
(2,910 Views)

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

0 Kudos
Message 3 of 4
(2,894 Views)

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

www.ni.com/suporte

Wesley Rocha
Application Engineer
National Instruments Brazil

Visite a nossa comunidade em PORTUGUÊS!!!

Certified-LabVIEW-Associate-Dev
Message 4 of 4
(2,883 Views)