03-23-2023 11:34 AM
Bonjour à tous,
Déjà j'espère que je suis dans le forum francophone.
Etant nouveau sur LabVIEW je veux lire un fichier.csv et afficher le contenue du fichier:(texte et nombre).
Mon problème est que j'arrive seulement à afficher les chiffres mais je n'arrive pas à afficher le texte(par exemple Speed qui se trouve dans le fichier).
Pouvez-vous m'aider s'il vous plaît?
Je joints mon vi et le fichier csv.
Merci d'avance
Solved! Go to Solution.
03-23-2023 11:45 AM - edited 03-23-2023 11:48 AM
Hi Mich,
@Mich4 wrote:
Already I hope that I am in the French-speaking forum.
Being new to LabVIEW I want to read a.csv file and display the contents of the file: (text and number).
My problem is that I can only display the numbers but I can't display the text (for example Speed which is in the file).
Can you help me please?
No, you posted in the world-wide English forum…
You cannot read the text content when using the "DBL" instance of the ReadSpreadsheetFile function!
What's the problem again?
You may remove the header line before indexing the columns…
03-23-2023 12:22 PM
Hi GerdW,
Thanks for your answer, and sorry for the French.
I had only that to worry about, thank you very much.
It's going to be silly but I can't find the first block that you linked with 1st column, what is it called please? At worst, can you send me the vi if you have it?
Thanks a lot.
03-23-2023 02:05 PM
Hi Mich,
@Mich4 wrote:
It's going to be silly but I can't find the first block that you linked with 1st column, what is it called please? At worst, can you send me the vi if you have it?
You read a 2D array and you want to index columns from that array: I would use the IndexArray function…