LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

drawing functions in LabView - howto?

Hello,

are there any possibilities in LabView (I have 6.1) to perform some
graphical operations?

I want to plot previously recorded data (text file) - it is an easy
task. But later I want to be able to include some functions to measure
peak data, distance between baseline and peak, draw some lines... How to
do that, are there any implemented tools for doing that?

Thanks for any help,
Wawosz
0 Kudos
Message 1 of 4
(3,044 Views)
First, LabVIEW has internal functions for performing the measurements that you indicated. However; these are not peformed visually on the graph, they are array functions.

Second, on the Graph, if you open the palatte, you will find some cursor functions. These will also perform similar operations to what you are looking for, right on the graph.

Third, if you are looking for something that you cannot find in either place above, then what you need to do is convert the graph to a bitmap image, bring it into a LabVIEW front panel, and then perform your operations.
0 Kudos
Message 2 of 4
(3,044 Views)
Hi,

You can also display data into a picture (Functions>Picture>Graphics &
Sound>Picture Plots). The result is a picture, and you can draw all
'primitives' in it.

Using the cursors in graphs, as Labviewguru suggested, is easier, but
functionality is limited.

Regards,

Wiebe.


"Labviewguru" wrote in message
news:506500000005000000D27F0000-1023576873000@exchange.ni.com...
> First, LabVIEW has internal functions for performing the measurements
> that you indicated. However; these are not peformed visually on the
> graph, they are array functions.
>
> Second, on the Graph, if you open the palatte, you will find some
> cursor functions. These will also perform similar operations to what
> you are looking for, right on the graph.
>
>
Third, if you are looking for something that you cannot find in either
> place above, then what you need to do is convert the graph to a bitmap
> image, bring it into a LabVIEW front panel, and then perform your
> operations.
0 Kudos
Message 3 of 4
(3,044 Views)
There is a shipping example called 'XY multiplot.vi' that draws a graph in a picture control. You could modify the example to add horizontal and vertical lines to do your measurements.

The example is located in the \examples\picture\demos.llb.

Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect

0 Kudos
Message 4 of 4
(3,044 Views)