LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Add timestamp to multicolumn listbox

Solved!
Go to solution

Hi, I am using LabVIEW 2019. Is there a way to add the timestamp (as a string) in the first column of a multicolumn listbox?  (see the attached vi)

0 Kudos
Message 1 of 5
(1,070 Views)

Hi Vries,

 

in a MCL all items are strings, so you just need to set the first item with your timestamp string…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(1,050 Views)

I added the timestamp but I do not see what I did wrong. The timestamps are written down horizontally.

0 Kudos
Message 3 of 5
(1,032 Views)
Solution
Accepted by topic author Vries

You aren't building the array the correct way.

 

You are building times into a single row by storing them in a shift register.  Then Building the other data onto it.

 

Store the final string array in the shift register.  Build the new data on with the timestamp in the same row as the numeric data.

 

Message 4 of 5
(1,010 Views)

Thank you GerdW and RavensFan!🙌

0 Kudos
Message 5 of 5
(974 Views)