LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

excel string cannot be imported to labview

Solved!
Go to solution

@GerdW wrote:

Hi newbieeng,

 

we both use the same LabVIEW help (even when mine is in German, which usually is even worse). The help says:


array type is the data type input for the array. The default is a 2D array of double-precision, floating-point numbers.


 

You wanted to result an array of strings, but left that input unwired. And you wondered why you got DBLs instead.

Do you still wonder why you don't get an array of strings when you don't define the datatype properly?


Hi GerdW,

Yes, I got it now, but it is really weird there are two input and both of them are the same I thought. Even if I have chosen the the format, asking the array type is interesting because there are other functions to convert string to number arrays.

 

One more thing, I have to input a 2D string array to convert all string constants to array. When I input 1D array it only shows the first string of the constant. Why does not show other strinng when array type input is in 1D array form?

 

Overall finally I got it. Thanks.

Egemen
0 Kudos
Message 11 of 16
(530 Views)

Thanks aCe. I got it.

Egemen
0 Kudos
Message 12 of 16
(527 Views)

Hi newbieeng,

 

you also have to provide the correct separator string. Default is tab, but you probably need a CR or LF instead...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 16
(527 Views)

Hi Ranjeet,

I got it. In the previous post that I answered to GerdW, I asked a question. I thought the answer is in your example. Thank you.

Egemen
0 Kudos
Message 14 of 16
(524 Views)

Thanks again. I got it too. 😄

Egemen
0 Kudos
Message 15 of 16
(522 Views)

Hi Newbieeng,

 

you know you can edit your own posts here for some minutes?

 

No need to create new posts again and again when you can add that one sentence to the former post...

Best regards,
GerdW


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