ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Excel File

Solved!
Go to solution

Hi fellow coders, I need some help on the subject of Excel Files.

 

Process

 

Read Excel File (5 work sheets)  >> Output is 5 2D Array's >> Covert 2D Array to Single Array (Colum) >> Convert Data (String's)to Relevant Datatype (I/O, Numeric etc) >> Build Cluster Array with 2D Array Data.

 

I need some help with interpreting the Covert 2D Array to Single Array (Colum) >> Convert String to Relevant Datatype >> Build Cluster Array with 2D Array Data.

 

 

Happy Coding

Dave

 

 

0 Kudos
Message 1 of 8
(5,079 Views)

ds1638 wrote:
Covert 2D Array to Single Array (Colum)

Reshape Array

 


ds1638 wrote: 

Convert String to Relevant Datatype


Too vague. What strings? What datatypes?

 


ds1638 wrote:
Build Cluster Array with 2D Array Data.

Array to Cluster or Build Cluster Array, depending on exactly how you've got the data collated.

 

Message 2 of 8
(5,075 Views)

I have 5 2D Array's to which I need to split into 1D Array Clusters, the data types are strings within the 5 2D Array's and I wish to split them up per row and connvert them into a 1D Array Clusters containing the following datatypes

 

I/O

Boolean

Numeric

 

 

 

 

0 Kudos
Message 3 of 8
(5,067 Views)
Solution
Accepted by topic author ds1638
You could do something like this:
Message 4 of 8
(5,051 Views)
How do you convert a string to a file I/O data type ???
0 Kudos
Message 5 of 8
(5,003 Views)

ds1638 wrote:
How do you convert a string to a file I/O data type ???

I'll tell you as soon as you tell me what a file I/O data type is.

Message 6 of 8
(4,987 Views)

DAQmx Phyiscal Channel I/O

0 Kudos
Message 7 of 8
(4,937 Views)
You don't need to convert it to anything. The DAQmx VIs will accept a string for the physical channels inputs.
Message 8 of 8
(4,929 Views)