LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to add text message to the graph when we export image with waveform graph

I am using invoke node (export image) with the waveform graph to plot graph.
I am attaching the VI and also the exported jpeg  image.Acctually the prog generates the bmp image but as NI forum doesnt allow bmp file to upload so I m attaching jpeg image.
In the VI I am reading two temperatures one from Dbus to get the sensor temperature and the other is thermocouple temp from the center of oven.The exported image is generated automatically when the program ends.You can see that in block diagram of attached VI below the while loop.

I need the user defined text to be displayed on to the exported image of the graph.

Please let me know.
Download All
0 Kudos
Message 1 of 3
(3,140 Views)
I can't run your VI because it is missing a lot of SubVIs.  So I am not sure what text you are refering to.
 
However, when you export a simplified image the graph also exports an annotations you have placed on the graph.  So you could programatically add annotations and then when the image is exported you will get the text.
0 Kudos
Message 2 of 3
(3,124 Views)

You could also use the invoke node to print the VI's front panel.  The invoke node that prints the graph only prints what is directly contained in the graph.  The invoke node for the front panel prints the entire front panel.

See the attached files for examples.

Daniel Eaton
National Instruments
Systems Engineering
Embedded and Industrial Control
Download All
0 Kudos
Message 3 of 3
(3,099 Views)