[Scilab-users] Read .csv from labview

Dang, Christophe Christophe.Dang at sidel.com
Thu Oct 9 09:30:11 CEST 2014


Hello,

> De COIEngineer
> Envoyé : mercredi 8 octobre 2014 17:56
>
> aa = csvRead(path,[],[],"double",[],[],[8 1 9000 3]);
>
> Warning: Inconsistency found in the columns. At line 2, found 2 columns while the previous had 4.

You correctly ignore the 7 lines of the header.
However, I have the feeling that the error message referes to the first 2 lines of the file, and not the lines of the data.

Indeed, there ares three commas in the first line of the header (i.e. 4 col)
and only one in the 2nd line.

This seems to be an error (I didn't try myself),
and you may report it in bugzilla.

As a workaround, did you try "header" parameter, which tells the number of lines to ignore?

HTH

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



More information about the users mailing list