# NI TestStand

cancel
Showing results for
Did you mean:

Solved!
Go to solution

## troncature au décimal.

Bonjour,
Tout d'abord, merci aux personnes qui prendront leurs temps pour me répondre.
Actuellement, je fais une mesure de tension sur une carte électronique, voici les limites :
Tol_High = 10.55V et  Tol8low = 12.55V

Ma mesure est 12.555V et ma séquence tombe en défaut.
Quelqu'un pourrait m'aider sur ce problème SVP ? Je souhaite tronquer ma mesure afin de retenir que 12.55V au lieu de 12.555V
------------------------------------------------------------------------------------------------------------------------

Hello, First of all, thank you to the people who will take their time to answer me. Currently, I am doing a voltage measurement on an electronic card, here are the limits:

Tol_High = 10.55V and Tol8low = 12.55V My measurement is 12.555V and my sequence falls into default.

Can someone help me with this problem please? I wish to truncate my measure in order to remember that 12.55V instead of 12.555V thank you in advance
Thank's

Message 1 of 3
(1,203 Views)
Solution
Accepted by topic author Yannick69

## Re: troncature au décimal.

Hi,

Assume Locals.Meas is your measurement. Create a statement step with the expression

Locals.Meas = Round (Locals.Meas * 100) / 100

Regards

Laurent

Certified TestStand Developer
Certified LabVIEW Developer

Message 2 of 3
(1,180 Views)
Solution
Accepted by topic author Yannick69

## Re: troncature au décimal.

@Laurent_B a écrit :

Hi,

Assume Locals.Meas is your measurement. Create a statement step with the expression

Locals.Meas = Round (Locals.Meas * 100) / 100

Regards

Laurent

Message 3 of 3
(1,161 Views)