LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading/displaying from multiple sensors

Solved!
Go to solution

@GerdW wrote:

Hi sr,

 

oh boy: did you take the basic LabVIEW lessons? They are offered for free!

 

Why do you think you need an array constant for a five-dimensional array? You surely need a one-dimensional array holding 5 values/elements after string conversion…

 

Solution:

- set the array constant to just 1D!

- change the format string to "%f"!

- Delete the delimiter char constant: SpreadsheetStringToArray already uses the Tab by default!

(Reading the help for LabVIEW functions might be a good idea, don't you think?)


Hi Sir

I have tried to follow the instructions; just getting the first value in the array. dont know where iam making the mistake.

Download All
0 Kudos
Message 21 of 25
(626 Views)

Hi sr,

 

I have tried to follow the instructions; just getting the first value in the array. dont know where iam making the mistake.

Do you remember message #4 and #6? Those sentences about providing good examples of the received string shown in "\-code"-display? (They were written just 2 days ago!)

 

How should we help when we don't know which string is received?

And how should we debug images? Why don't you attach a VI?

 

Example:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 22 of 25
(620 Views)

sir, pls find attached the vi and code display

Download All
0 Kudos
Message 23 of 25
(617 Views)
Solution
Accepted by topic author sr_murd

Hi sr,

 

instead of using a TAB char as delimiter between your values (as suggested by RavensFan and me) you decided to use two (!) SPACE chars instead.

 

Now you wonder why our suggestions don't work for you?

 

PLEASE use one (1) TAB char as delimiter between the sensor values!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 24 of 25
(612 Views)

All good sirs. working now for me .pls check the attached. im v v thankful 

0 Kudos
Message 25 of 25
(605 Views)