11-24-2013 03:37 PM
I am trying to apply the m=y2-y1/x2-x1 equation into a labview code but having a hard time choosing what m should chose as, labview doesnt eaxctly have algebric constants and i cannot equalize the equation to 0. Any idea's to what function/numeric pallete should m be?
Regards,
Jack
11-24-2013 06:06 PM
It isn't clear what you are trying to do.
What do you have?
What are you looking for?
It seems like you are more concerned about trying to use an equation and looking for "m" on a palette, then explaing the problem you are trying to solve.
11-24-2013 06:08 PM
Jack,
What information (data) do you have available to your program? What are you trying to find (the unknown)? Two points or slope and intercept? The equations are different for the two situations.
I have written programs using both methods. Usually I do the algebra on paper and then implement the solution with primitves from the Numeric palette.
Lynn
11-25-2013 08:27 AM
m would be an indicator, x1, y1, x2, y2 would be controls or results from some action done twice, the numeric palette has both divide and subtract functions.
However, your question sounds like you have a much more basic problem - you don't know how LabVIEW (notice the spelling, with capitalization) works. If you know how computer languages work, you've got half a leg up, start by working the free tutorials on the web (a couple are at the end of this post, many more can be found by Googling "LabVIEW tutorials). If you don't know how computer languages work, well, maybe the tutorials can do you some good anyway.
Good luck, just don't try to skip past the easy stuff, it'll come back to bite you,
Cameron