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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Text file import into Excel.

Would somebody happen to have a simple example VI for the following:
Text file import into Excel. Anything reasonably close would be appreciated thank you.

0 Kudos
Message 1 of 9
(2,153 Views)

Hi chrlum,

 


@chrlum47 wrote:

Would somebody happen to have a simple example VI for the following:
Text file import into Excel. Anything reasonably close would be appreciated thank you.


Read the text file using ReadTextFile in LabVIEW. Then use RGT functions to send to text data to Excel.

LabVIEW comes with RGT example VIs…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(2,149 Views)

This is hardly a LabVIEW problem...

 

  1. Open Excel
  2. Browse to the directory your file is in
  3. You might have to set the filter to display "All Files (*.*)"
  4. Select your text file
  5. This should automatically start the "Text Import Wizard"
  6. Excel will ask you a couple questions about how to delimit your file and format anything that might be a date or time.
  7. Follow the prompts and click Finish 
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 9
(2,139 Views)

I'm kind of a newbie..RGT?

 

Could you direct me to that example?

0 Kudos
Message 4 of 9
(2,120 Views)

RGT = Report Generation Toolkit

0 Kudos
Message 5 of 9
(2,100 Views)

Yes that's exactly what I needed thanks again..

0 Kudos
Message 6 of 9
(2,088 Views)

I'm having a little trouble with "easy text report VI"
under report generation.

I'm in version 2015..

Does anybody have or can direct me to an example to run this VI using Excel report type?

 

0 Kudos
Message 7 of 9
(2,075 Views)

I don't have 2015 installed to check, but if I open the Example Finder ("Help > Find Examples..." on the toolbar in LabVIEW) and then go to the search tab (top left) and search for "report generation excel" I get a whole collection of examples.

 

Admittedly the first one is for an HTML report, but reading from the second entry works fine 😉

 

reportGeneration.png


GCentral
0 Kudos
Message 8 of 9
(2,068 Views)

Hi chrlum,

 

which "trouble" do you encounter?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 9
(2,030 Views)