From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

formula node

Bonjour,
je ne suis pas un expert en LabVIEW mais j'aimerais utilisé une formula node pour réalisé ceci:
 
If( -0,01<x<0,01) y =0;
else y=x;
 
Lorsque je tape cette algorithme dans la formula node, le résultat y est toujours égale à 0. POURQUOI????
 
Pouvez vous m'aidez svp???
 
Cordialement!
 
Murat.
0 Kudos
Message 1 of 3
(2,386 Views)
Hi Murat,

even when I don't speak french I think I got your question.
Try this:

I would prefer the LabView way, no need for a formula node...

Message Edited by GerdW on 04-25-2007 04:12 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,380 Views)

The original statement will work just fine with a small change. It's the ',' as the decimal separator that is the problem. It's not supported in the formula node.

I agree about the LabVIEW solution instead of the formula node.

0 Kudos
Message 3 of 3
(2,374 Views)