You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever the infostring matrix closing tag #endmatrix has some indentation, like " #endmatrix", the following VI function Spread Sheet String to Array.vi used in the text matrix parsers will interpret the line terminator AND the indentation space(s) as additional fake row of data. E.g.:
#startmatrix:: a
1; 2; 3
#endmatrix:: a
will be parsed ok as [1, 2, 3]
But e.g.:
#startmatrix:: a
1; 2; 3
#endmatrix:: a
will be then parsed as [1, 2, 3; NaN; NaN; NaN] by the Spread Sheet String to Array.vi.
Can be solved by insertion of Trim White Space at output of Get Matrix String.vi (schmutzig) or changing the regular expression stuff handling the closing tag #endmatrix, so it eats up the white stuff just before it, but I don't like regexp, so can't do it. :)
The text was updated successfully, but these errors were encountered:
Whenever the infostring matrix closing tag #endmatrix has some indentation, like " #endmatrix", the following VI function Spread Sheet String to Array.vi used in the text matrix parsers will interpret the line terminator AND the indentation space(s) as additional fake row of data. E.g.:
#startmatrix:: a
1; 2; 3
#endmatrix:: a
will be parsed ok as [1, 2, 3]
But e.g.:
#startmatrix:: a
1; 2; 3
#endmatrix:: a
will be then parsed as [1, 2, 3; NaN; NaN; NaN] by the Spread Sheet String to Array.vi.
Can be solved by insertion of Trim White Space at output of Get Matrix String.vi (schmutzig) or changing the regular expression stuff handling the closing tag #endmatrix, so it eats up the white stuff just before it, but I don't like regexp, so can't do it. :)
The text was updated successfully, but these errors were encountered: