NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Sort array in TestStand

Solved!
Go to solution

Hi,

 

I have an array of custom type container, something like:

 

- TestName
- Type
- Operation

...

 

I'd like to sort this array by Type and Operation.

 

Is that possible in TS 2010? If not - what is the best way to do that? I'm using also LabVIEW and C/C++.

 

Thanks in advance

0 Kudos
Message 1 of 3
(3,796 Views)
Solution
Accepted by topic author Berezka

In this case I would recommend passing it to LabVIEW and let LV handle the heavy lifting: http://forums.ni.com/t5/LabVIEW/Sort-1D-array-of-clusters-by-the-second-element-in-the-cluster/td-p/...

 

Check out Darren's post.  It's a clean sort of clusters.

 

TestStand isn't designed for complex algorithms.  Although you could probably do it in TS you would have to come up with the algorithm.

 

Cheers,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(3,788 Views)

jigg,

 

Thanks a lot!

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