08-16-2011 10:13 AM
Hi all !!!
Please help me. Attached I've sent my Labview programm. I need to minus XYGraph2 from XYGraph1. Please see, is my version is right????
THANKS IN ADVANCE SOOOOOOO MUCH!
P.S. I know, my question seems very basic and elementary, but, please, be so kind and answer me.
Solved! Go to Solution.
08-16-2011 10:21 AM - edited 08-16-2011 10:23 AM
It looks like you're correctly subtracting Graph 2 from Graph 1 and Plotting it in Graph 3 to me.
Are you expecting something different?
EDIT: Nevermind, I just ran it so it looks like subtracting cluster arrays may do something weird.
08-16-2011 10:25 AM
Hi Moony,
When you say you need to minus XYGraph 2 from XY Graph 1, do you mean that you need to subtract the variable (y) values, taken from graph 2, from the variable (y) values, taken from graph 1?
At the moment it appears you are taking values from both the constant (x) and variable (y) axis from each other, I believe this is why you are getting the vertical straight line at 0.00 on the constant axis.
Dom
08-16-2011 10:26 AM - edited 08-16-2011 10:27 AM
Actually, it still looks good.
The smallest array will set the number of datapoints that you get. Are you expecting the arrays to be the same size?
EDIT: And Dominic is right that you're squashing your X values. I missed that.
08-16-2011 10:30 AM
Hi DominicRoberton and Taki1999!
Thanks for replies. About your question:
I mean that I need to subtract the variable (y) values, taken from graph 2, from the variable (y) values, taken from graph 1. I think I did something wrong, wasn't it???
08-16-2011 10:31 AM
Does this make any more sense?
08-16-2011 10:35 AM
DominicRoberton,
My Labview version is 8.5, and your document I can't open...
Would you be kind to send me once more saving for my version?
Thank you in advance...
08-16-2011 10:38 AM
Try now.
08-16-2011 10:41 AM
Thaaaaaaaank you, sooooooooooo much. Thanks for your help.
Now I like it
08-16-2011 10:45 AM
Please, answer my last question. To me is very fussy how can I get several graphs in one window...
Can you help me with this?
Best regards,
Moony