From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
How do I get Labview to read a comma delimited text file and convert it to an array? I've tried the "Spreadsheet String to Array" vi, but I don't know how to specify comma delimited (neither the manual nor the help files address this, but the online help implies that comma delimited is supported).
se attachment E -- ----------------------------------------------------- Click here for Free Video!! http://www.gohip.com/freevideo/
Ed Haack wrote in message news:38e4c724@newsgroups.ni.com... > > How do I get Labview to read a comma delimited text file and convert it to > an array? I've tried the "Spreadsheet String to Array" vi, but I don't know > how to specify comma delimited (neither the manual nor the help files address > this, but the online help implies that comma delimited is supported).
Here is VI that I found out to be fast if you are reading thousands of small text files. It is used as a subvi in a for loop with string to array function and some functions to convert text to 2d array of results .
E wrote: > > se attachment > E > -- > ----------------------------------------------------- > Click here for Free Video!! > http://www.gohip.com/freevideo/ > > Ed Haack wrote in message > news:38e4c724@newsgroups.ni.com... > > > > How do I get Labview to read a comma delimited text file and convert it to > > an array? I've tried the "Spreadsheet String to Array" vi, but I don't > know > > how to specify comma delimited (neither the manual nor the help files > address > > this, but the online help implies that comma delimited is supported). > > Name: string to array.vi > string to array.vi Type: LabVIEW Instrument (application/x-unknown-content-type-LabVIEWInstrument) > Encoding: x-uuencode
-- ------------------------------------------------- Timo Miettunen
Fincitec Oy Production Department e-mail: timo.miettunen@fincitec.fi Address: Lumikontie 2 Tel: +358-16-2151245 PO BOX 11 Fax: +358-16-221561 FIN-94600 KEMI Finland -------------------------------------------------