LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comparaison between 2 strings

Solved!
Go to solution

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

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 11 of 15
(896 Views)

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

0 Kudos
Message 12 of 15
(889 Views)

Probe the wires and check, it definatly stores the previous value.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 13 of 15
(885 Views)

GerdW,

It works!!

great simplification of the code...

Thanks

0 Kudos
Message 14 of 15
(883 Views)

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

0 Kudos
Message 15 of 15
(868 Views)