05-08-2018 01:39 AM
@fxblabview wrote:
Right the txt file replace my CR by an EOL. Thats why I should put a supplementary character on the reading to have complete sentence.
Thanks for your help.
Actually, you can configure the read to NOT translate the EOL.
05-08-2018 02:42 AM
Hi GerdW,
I tried your suggestion, with the retroactive node (in structures menu) with a direction change.
But the boulean value is never at false, it looks like my retroactiv node don't stock the precedent value.
Thanks fo your help
05-08-2018 02:50 AM
Probe the wires and check, it definatly stores the previous value.
/Y
05-08-2018 02:51 AM
GerdW,
It works!!
great simplification of the code...
Thanks
05-08-2018 09:50 AM - edited 05-08-2018 09:51 AM
@fxblabview wrote:I tried your suggestion, with the retroactive node (in structures menu) with a direction change.
But the boulean value is never at false, it looks like my retroactiv node don't stock the precedent value.
Please keep the terminology straight to avoid confusion, It's a "feedback node" and that's what I was suggesting already in message #3 above. The "direction change" has no functional meaning and just solves a cosmetic issue giving fewer backwards wires and wire bends. Both "directions" give the same result.
One thing you need to be careful about when testing with a "globally initialized on first call" FN is the fact that it will not work as you might expect if the code is not in a loop and you re-rerun the VI several times. Even if you keep the value the same, each new run will compare with an empty string instead. Make sure you understand all initialization options fully.