From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Using XML to load limits

Currently, we're using Excel spreadsheets to load limits into Teststand via the propertly loader.  The only message I found concerning this was dated 2003, which stated that the propertly loader could only read Excel or csv files.  I'm hoping that, in the ensuing years, NI has incorporated a way to use XML files as well.  Can anyone help out with this?

 

Thanks

0 Kudos
Message 1 of 5
(3,428 Views)

One way you could currently handle this is to create a code module that will convert your Excel spreadsheets to XML files, and vice versa. Each time you need to load or write to your limits call your custom step to convert them from xml back to Excel.

Message 2 of 5
(3,404 Views)

Thanks for the reply.  Unfortunately, we're trying to get rid of Excel.  It's expensive, and the ActiveX linkages are bug ridden.  XML is a pretty standard way of doing this, and I'm surprised that Teststand doesn't support it.

0 Kudos
Message 3 of 5
(3,390 Views)

Hi ckrobinson,

 

Thanks for posting on the NI Discussion Forums!

 

At this time, support for XML is not available in the TestStand Property Loader. As alright_meow suggested, there are ways to implement this using custom step types and code modules. If you consider it very important that TestStand natively support XML files for limits loading, I highly encourage you to post on the TestStand Idea Exchange. Our developers monitor which suggestions receive the highest feedback on this page so that they can prioritize which features to implement in the next version of TestStand.

0 Kudos
Message 4 of 5
(3,371 Views)

You need MS Excel just to create a limits file ( dev machines).

You should be able to load the limits file without using MS Excel ( test machines).

I know one of our customer doing it to reduce cost.

 

 

0 Kudos
Message 5 of 5
(3,360 Views)