11-08-2010 02:18 PM
Can someone tell me what the best way to do division using LabVIEW? when the angle is below .072 i am getting very bad result.
can someone provide me with the reason or a better way to do this ???
please answer asap.. thank you!!
11-08-2010 02:40 PM
i meant to says .72 not .072 ... sorry about the mistake
11-08-2010 03:04 PM
What do you mean by a very bad result?
Please indicate what the program is producing and what you think the result should be.
You can use the Negate primitive rather than multiplying by -1. Do you want Steps to be negative? Should steps be an integer datatype rather than double?
Lynn
11-08-2010 03:15 PM - edited 11-08-2010 03:17 PM
Hi sticyfingers,
have you tried to change the display format of your result indicator to get "nicer" results?
- Asking for ASAP in a forum of volunteers is quite annoying...
- What "better" way do you need? You already use math primitives...
11-08-2010 09:24 PM
I suspect your formula is wrong. If it wasn't for the round to nearest node, pulse/rev would completely cancel itself out from the influencing the final result. What is this suposed to do?
11-09-2010 07:51 AM
Thanks alot for all the help and suggestions. The problem is not with this calculation but with my DAQ card