LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph problem

Hi
How to make vi of the following formula
D=(e+t)/[1-(h-1)v]
d=delay,t=time,h=hops,v=utilization where  e is fixedand all other values are changes
I want to make Graph between Delay'D' and hops'h'
You can also checked my vi  which i tried but due to this there is no changes in graph
 
kindly help me iwill be very kind to you all thanks
 
0 Kudos
Message 1 of 6
(3,111 Views)
Instead of a regular graph, it sounds like you want to use the XY Graph to plot one array against another. You simply bundle the x and y arrays together and wire it the XY Graph.
0 Kudos
Message 2 of 6
(3,101 Views)

It seems you are linearly  ramping "h" from 1 to 10 with a constant increment. Just feed the D array to a waveform graph and set the x-axis offset to "1". That's it!

If the h values were not equally spaced, you would need an x-y graph. For equally spaced x, this is optional.

Both methods are shown in the attached (LabVIEW 7.0).

 

0 Kudos
Message 3 of 6
(3,088 Views)
how to make both vi  using xy graph
0 Kudos
Message 4 of 6
(3,036 Views)
Go to LabVIEW>> Find Examples>> Fundamentals>>Graphs and Charts>> XY Graph.vi
 
This example VI illustrates how to Build a X Y graph
0 Kudos
Message 5 of 6
(3,030 Views)


@ABCEDFG wrote:
how to make both vi  using xy graph


Have you even looked at my example above?

It shows the technique for both a waveform and an xy-graph. 🙂 Just deleted what you don't need.

0 Kudos
Message 6 of 6
(3,010 Views)