LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read_From_Spreadsheet_Text_and value

Solved!
Go to solution

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

Download All
0 Kudos
Message 1 of 4
(742 Views)
Solution
Accepted by topic author Mich4

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…

Best regards,
GerdW


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

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.

0 Kudos
Message 3 of 4
(729 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(705 Views)