LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Editing VI

Hello

My VI shows a signal spectrum on a graph.
The problem is how to change x-axis markering to show
the frequency span instead of showing sample numbers.

Thanks,
Riku
0 Kudos
Message 1 of 3
(2,869 Views)
Normally, if you have specified the Start frequency and increment, you
should see the
frequencies on the x axis.

Cluster:
StartFreq
IncFreq
Amplitude array

and you should wire this cluster to the graph indicator.

ozan...

Riku wrote in message
news:3962E2B2.D8EAD37E@enermet.fi...
> Hello
>
> My VI shows a signal spectrum on a graph.
> The problem is how to change x-axis markering to show
> the frequency span instead of showing sample numbers.
>
> Thanks,
> Riku
>
0 Kudos
Message 2 of 3
(2,869 Views)
> Normally, if you have specified the Start frequency and increment, you
> should see the
> frequencies on the x axis.
>
> Cluster:
> StartFreq
> IncFreq
> Amplitude array
>
> and you should wire this cluster to the graph indicator.
>

This way works quite well, especially if the values can
change. If the values for Xo and dX are constants, then
you can enter them into the X Scale Formatting dialog.
The graph will then compute the displayed value from
these linear scaling coefficients and the index number.

Its also possible to use these combined, but I'm not
sure why you would.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,869 Views)