Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How labview transforms 1D txt data into shapes
How labview transforms 1D txt data into shapes
The txt file you said is actually a csv file.

If it's just 1, 1, 1, 50,13,50? EOR (end? Yes? Record) has only one one-dimensional array. Just use "read spreadsheet" vi directly, use commas as separators, and then use "first line" to output to the waveform control.

Forget it. You don't know how easy it is without a picture. Such a commonly used function, LabVIEW already comes with VI.

What if it is 1, 1, 1, 50,13,50? EOR (end? Yes? Record)? ,? 2, 1, 1,4,40,60 ... So, multiple one-dimensional arrays are stored in the same file? It is necessary to use the function of "matching regular expression" to separate a single record in the loop, then use the function of "spreadsheet string to array conversion" to convert a one-dimensional array, and then use the connected array function of LabVIEW20 12 to output the tunnel in the loop to form a large array for the waveform control to display.