annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Read and Display an Excel Sheet

Risolto!
Vai alla soluzione

Hello LabVIEW community.  I am going through a bumnch of ActiveX subVIs trying to figure out how to do something very simple.  All I want to do is read an entire Excel Sheet and display it in an array.  Single Page.  Any help would be hot.

Messaggio 1 di 5
3.374Visualizzazioni

@DailyDose wrote:

Hello LabVIEW community.  I am going through a bumnch of ActiveX subVIs trying to figure out how to do something very simple.  All I want to do is read an entire Excel Sheet and display it in an array.  Single Page.  Any help would be hot.


Try this:

 

How Can I Read Excel Data Into LabVIEW?

0 Kudos
Messaggio 2 di 5
3.362Visualizzazioni

Is it possible to program this example to simply read all the columns and rows until it comes across like maybe 3 repetitive empty cells instead of having to specify which which row/column to end at?

0 Kudos
Messaggio 3 di 5
3.342Visualizzazioni

@DailyDose wrote:

Is it possible to program this example to simply read all the columns and rows until it comes across like maybe 3 repetitive empty cells instead of having to specify which which row/column to end at?


Sure. Give it a shot and let us know how you solved it.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Messaggio 4 di 5
3.333Visualizzazioni
Soluzione
Accettato da autore argomento DailyDose

@camerond wrote:

@DailyDose wrote:

Is it possible to program this example to simply read all the columns and rows until it comes across like maybe 3 repetitive empty cells instead of having to specify which which row/column to end at?


Sure. Give it a shot and let us know how you solved it.

 

Cameron

 


You're right!  It was possible.  Use For loops and check to see when empty cells begin to repeat.  I named it GetXL_CellValues_2D_String_All.vi

I made mine though very dependent on my excel sheet.  It's easy to make it excel sheet independent.

0 Kudos
Messaggio 5 di 5
3.305Visualizzazioni