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.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read and write data from Excel to TestStand without using LabVIEW VIs

Hi,

 

How can I read in columns of data from Excel into a TestStand array and write columns of data to Excel from TestStand without using LabVIEW VIs?

 

I don't think the Property Loader custom step type in TestStand will work because the data I would like to read in from Excel is in a column that is thousands of rows long and the data has to be in the proper format to use the Property Loader to load in an array from Excel.

 

Thanks for your help.

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

Yes, using ActiveX.

 

http://zone.ni.com/devzone/cda/epd/p/id/5318

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 8
(5,469 Views)

Hello,

 

Can you please recommend some example other than what has been mentioned in

http://zone.ni.com/devzone/cda/epd/p/id/5318  ?

 

I have a requirement where I need to read the data from xls file and update another xls file which will store the results. I am not supposed to use LabVIEW for this, I have to do only using TestStand.

 

I am using  NI TestStand 2010, and Microsoft Excel 2007.

 

Thanks and Regards,

Niraj.

 



 

0 Kudos
Message 3 of 8
(5,356 Views)

That example does not use LabVIEW and it does about 40% of what you need to do by calling Excel through ActiveX. If you don't know how to use Excel through ActiveX then you'll need to brush up on that.

 

http://www.microsoft.com/en-us/download/details.aspx?id=16250

 

http://support.microsoft.com/kb/141759

 

http://support.microsoft.com/kb/302084

CTA, CLA, MTFBWY
0 Kudos
Message 4 of 8
(5,351 Views)

Link showing Error Page... 

 

Kindly share some other reference..

0 Kudos
Message 5 of 8
(3,196 Views)

Hello Nisarg_Shah

 

I was able to find a few links that may be useful in your trying to read and write data from Excel to TestStand without using LabVIEW VIs. 

 

Getting Started with TestStand

https://www.ni.com/pdf/manuals/373436f.pdf

 

100 Best TestStand Videos

http://meta-guide.com/videography/100-best-teststand-videos

 

Also, if you have any more questions I would recommend making a new forum post. The post we are currently on is pretty old and creating a new post would get more attention/input from current members. 

Gerald M.
Applications Engineer
NI
Message 6 of 8
(3,166 Views)

Hi GeraldM,

 

Thanks for the quick Response.

I found the Solution using activex  to read Excel Data In Teststand.

Will Upload the solution in  new thread which can help community.

 and Share the Link Also Here.

 

Regards,

Nisarg Shah

 

0 Kudos
Message 7 of 8
(3,158 Views)

Hello Nisarg_Shah,

can you share your solution?

0 Kudos
Message 8 of 8
(2,333 Views)