The txt file you are talking about is actually a csv file.
If there is only one one-dimensional array such as 1,1,1,50,13,50?EOR (end?of?record), directly use the "Read Spreadsheet" VI and use a half-width comma as the separator, and then use the "first line" output to connect to the waveform control.
Forget it, you wouldn’t know how simple it is without the picture above. For such commonly used functions, LabVIEW already comes with VIs.
If it is like what you wrote 1,1,1,50,13,50?EOR (end?of?record)?,?2,1,1,4,40,60... ..In this way, there are multiple one-dimensional arrays in the same file? This requires using the "Match Regular Expression" function in a loop to separate records one by one, then use the "Spreadsheet String to Array Conversion" function to convert a one-dimensional array, and then use the LabVIEW2012 loop output tunnel's connected array function. Connect them into a large array for the waveform control to display.