LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to put add formated data in multicolumn list box

hello

 

i am beginer of labview .

 

my front panel is communicating with my hardware via serial port

 

i am also getting a data also.

 

i have fromated the answer also

 

now i have to put in the multicolumn list box.

e.g.

 

my serial port string is  :001 01 20 23 45 45 00 05 06 00 00

Formated string  01 20:23:45/45:00:05 06 00 00

now above formated string i have to add in the multicolum listbox

 

1st column 01  

2nd column 20:23:45/45:00:05

3rd column 06

4th column 00

5th column 00

 

 

i hope you people help me

 

thanks

Lokesh

 

 

 

 

 

 

 

0 Kudos
Message 1 of 6
(3,501 Views)

hello

 

here an example in attachement

 

i supposed that you could have more than one acquisition so

for example i initialised array of 10 records with 5 columns

then filling it

 

Regards

 

tinnitus

 

 

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 6
(3,478 Views)

Or just use Spreadsheet String to Array with a space as the delimiter instead of the loop with the match pattern.

0 Kudos
Message 3 of 6
(3,469 Views)

A couple of mistakes.

 

You initialize an array of 5 records with 10 elements instead of vice versa.

Dennis is right, use "spreadsheet string to array" instead. Here's a quick draft (note that the delimiter is set to \'codes, it's a space constant)

 

 

Is this loop interactive, i.e. does it need to update the records as the arrive with each iteration? If this is not the case, you should update the ItemNames only once after the loop has finished. For example as follows.

 

Download All
0 Kudos
Message 4 of 6
(3,460 Views)

Right

 

about  interactivity it was not specified i presumed that because it is often the case

 

yes 5 is ten an ten is 5

 

 modified vi

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 5 of 6
(3,459 Views)

Thanks a lot

 

it is very useful for me.

 

0 Kudos
Message 6 of 6
(3,428 Views)