ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

split date time string when in array

I am reading in an array of time stamp strings, from a file. I need to split each element in the array into its respective time string and date strings.
0 Kudos
Message 1 of 4
(5,198 Views)

What do you want your output to be like?  Two arrays or a 2D array, with first column being time and next column being date?

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 4
(5,178 Views)

I wasn't sure what you wanted, but here's my guess.

In the "Experiment#" Value Change event

add this code

 

date-time.png

LabVIEW 5.0 seems so long ago...
0 Kudos
Message 3 of 4
(5,165 Views)
tbob, I wanted 2 arrays, so that I could write them to 2 combo boxes. I think I figured it out though, by indexing the array and sending the indexed column to a auto-indexing for loop with search/split string. thanks, for the quick reply though.
0 Kudos
Message 4 of 4
(5,155 Views)