09-02-2023 01:27 AM
Buongiorno a tutti, ho poca esperienza con Labview e avrei bisogno di sapere se è possibile selezionare un file di testo e cercare in questo file di testo se un codice che inserisco io manualmente o tramite acquisizione è già presente.
La versione è quella 2020 a 32 bit per necessità di progetto.
09-02-2023 05:22 AM
Buongiorno Acroma,
@Akroma96 wrote:
Hello everyone, I have little experience with Labview and I need to know if it is possible to select a text file and search in this text file if a code that I enter manually or via acquisition is already present.
The version is the 2020 32-bit one due to project needs.
Yes, all that is possible!
There are file functions including functions to read from text files.
And there are string functions including functions "MatchPattern"…
09-07-2023 12:14 PM
thank's so much!! is it possibile to take 2 different strings, compare they and receive only the different parts? i need to do a program that read strings in 2 different txt file, these text are initially equal, when one condition occure, 1 additional string will be add in one of the two txt file and i need to write only this last string.
09-07-2023 01:31 PM
Hi Akroma,
@Akroma96 wrote:
is it possibile to take 2 different strings, compare they and receive only the different parts?
Yes, sure. LabVIEW is a programming language!
@Akroma96 wrote:
i need to do a program that …
Then you should start with coding.
(Or better start with sketching an algorithm on a sheet of paper…)