NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
Kyle_M

Simplify exporting arrays of properties

Status: New
by Member Kyle_M on ‎11-29-2011 04:00 PM

Currently, to export properties which are part of an array, such as the limits of a multiple numeric limit test, you have to specify each index of the array separately, like in the first screen shot, or else you get all of the raw XML, which is difficult to interpret and use. 

 

exports2.JPG

 

exports1.JPG

 

 

This is both labor intensive and unituitive. . If instead we had the option to export the array with the "?" and have it parse the information out like in picture 1, it would be much simpler to use.

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments 

Comments
by Trusted Enthusiast on ‎12-07-2011 09:16 AM

Or maybe format the XML so its easier to read and update such as:-

 

<Locals> Variable Value
texts    <Prop Name='TariffFiles' Type='Array' LBound='[0]' HBound='[2]' ElementType='String'>
                <Value ID='[0]'>text1</Value>
                <Value ID='[1]'>text2</Value>
                <Value ID='[2]'>text3</Value>
                </Prop>

Ray.

by Member asbo on ‎02-06-2012 01:13 PM

I'd be fine with Ray's suggestion if a stylesheet was included to make dealing with that XML data sane in a viewer (like Excel).

by Member Elaine_R. on ‎03-26-2013 12:18 PM

I'd prefer for arrays and containers to maintain the row-based export that all other variables do, the addition of extra columns per value gets frustrating when working with sets of more than 3 or 4 values. the column sets for a multiple numeric limit step type get nuts when faced with 10+ subtests inside...

 

it'd be nicer, if somehow the name column can understand indexes when you select the [?] option. Ironically teststand formats perfectly if this is done manually... i.e when I type in Locals.MyArray[0] and press 'export' the file looks fine...

same with containers... it understands the raw values fine when they're spelled out. i.e. Locals.MyContainer.X  it just behaves counter intuitively when faced with top objects... it seems this should be solvable, as it is just a recursion issue...?

 

but if, for example,  I have a 3 element array it'd be wonderfull if TS just understood that when I choose the top level object it should add 3 row entries to my output property file for

 

 

Locals.MyArray[0]

Locals.MyArray[1]

Locals.MyArray[2]

 

or alternately

Locals.MyContainer.X

Locals.MyContainer.Y

Locals.MyContainer.Z

 

and for multiple numerics, it could be the same? but I agree that these could be trickier to parse....

MyMNLT.Measurements[0]

MyMNLT.Measurements[1]

MyMNLT.Measurements[2]

 

 

 

About NI TestStand Idea Exchange

Do you have a feature idea for how to improve NI TestStand? Submit and vote on ideas now!

  1. Browse by label or search in the TestStand Idea Exchange to see if your idea has previously been submitted. If your idea exists sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea. Be sure to submit a separate post for each idea. Note: the TestStand Idea Exchange is not the appropriate forum to submit technical support questions.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see implemented!

The TestStand R&D team is committed to reviewing every idea submitted via the TestStand Idea Exchange. However, we cannot guarantee the implementation of any TestStand Idea Exchange submission until further documented.

Idea Statuses
Top Kudoed Authors
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page