annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

division

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!!

0 Kudos
Messaggio 1 di 6
3.176Visualizzazioni

i meant to says .72 not .072 ... sorry about the mistake 

0 Kudos
Messaggio 2 di 6
3.159Visualizzazioni

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

0 Kudos
Messaggio 3 di 6
3.143Visualizzazioni

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...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Messaggio 4 di 6
3.131Visualizzazioni

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?

0 Kudos
Messaggio 5 di 6
3.094Visualizzazioni

Thanks alot for all the help and suggestions. The problem is not with this calculation but with my DAQ card 

0 Kudos
Messaggio 6 di 6
3.060Visualizzazioni