LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graph equation formula node problems

I am using LV6.0. I am having some problems regarding the formula in the formula node. I hope someone can help. The vi is attached
0 Kudos
Message 1 of 6
(3,532 Views)

Hi

After each line you have to write a semicolon ( ; ) and you also have to put a * before the brackets. So your formulas should look like this:

x=a*0.02;
y=0.01*(a*a + a);

Hope this helps.

Thomas

Message Edited by becktho on 10-04-2005 09:48 AM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 6
(3,531 Views)
Thanks. The vi can now RUN. However I am getting TWO graphs instead of ONE. One is in red. I hope you can help. The new vi is attached.
0 Kudos
Message 3 of 6
(3,517 Views)

Yes, that's right. Waveform graphs and charts always show data in this way. If you want to use your x-values as x-axis and the y-values as y-axis, you have to use the xy-graph.

Attached is a screenshot of the vi.

Hope this helps.

Thomas

Message Edited by becktho on 10-04-2005 12:32 PM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 4 of 6
(3,516 Views)
I have done a different way and it works. Is my way also correct or is there a catch?
0 Kudos
Message 5 of 6
(3,491 Views)

Hi

As I see, you now use the function "index and bundle cluster array". This results in an array of clusters.

I usually use just the bundle function, which results in a cluster of arrays.

I can't tell you if there may be problems, because I hardly use the first function. Obviously it works, but I'd suggest you to use the bundle-function, as this way is mentioned in the context help of the xy-graph.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 6 of 6
(3,486 Views)