NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Excel Data In Teststand Using ActiveX

Hello All,

 

I was Trying to read Excel data In Teststand without using Labview and found the solution with  ActiveX. Though I am not expert with ActiveX but could developed the Teststand Sequence which can read excel data using the ActiveX code module.

 

Sharing the Screen Shot as well as Sequence file herewith.ActiveX_Read_ExcelData_in_Teststand.png

 

 

You need to Define two inputs:

1)Parameters.Excel_File path 

2)Parameters.Sheet_Name

 

Output: You will get  2D data into Local.Excel_Data which is 2D String Array in this code(Change the datatype as per the datatype of excel data)

 

Kindly Suggest if any any correction or any guidelines  to follow using ActiveX with this code.

 

 

 

Message 1 of 3
(3,585 Views)

I just wanted to make a note that starting with TestStand 2016, the Property Loader supports loading from .xlsx format and starting in TS 2017, data streams support loading from CSV. Depending on the goal, one of these options may be a better solution than using Excel's ActiveX interface.

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 3
(3,558 Views)

@WireWaiver

 

Yes, using Property Loader is Better option then ActiveX.  But As of now i am still using Teststand 2014.. 

0 Kudos
Message 3 of 3
(3,545 Views)