NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i use arrays in a property loader?

I am trying to load section headings using the property loader step in TS3.5. I have got this working once using an existing counter to index the array but in the current test section i need to manually access the array. e.g. Locals.section_name[0]. I am not seeing any errors but when the function step.result.resultlist is executed, there is a blank in the test report. Could someone post an idiots guide to doing this please? Many thanks in advance
Please remember to accept any solutions and give kudos, Thanks


LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7
0 Kudos
Message 1 of 5
(4,014 Views)

Hi

Would you be able to post the sequence that you are using? Or even a simplified version of the sequence so we can see exactly what you are trying to do.

Regards

Beejal

Beejal S
NI UK & Ireland
0 Kudos
Message 2 of 5
(3,995 Views)
tahnks for the reply, i have just found the problem, in the ini file there was a tab in the string to be loaded instead of a space and as we are reading the file as tab delimited this was throwing error -18 in the property loader. many thanks
Please remember to accept any solutions and give kudos, Thanks


LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7
0 Kudos
Message 3 of 5
(3,992 Views)

I also like to load a array from a tab(*.txt) file. But are not able to find the correct way of setting upo data.

Please advice if you figura it out. 

 

BTW I'm using TS4.1.1

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

Hi Clio,

 

I recommend that you use the Import/Export Properties tool located in the Tools menu to first export a tab delimited text file. This way you can open the text file and see the correct way of setting up the file and simply modify the values that need to be modified.

Manooch H.
National Instruments
Message 5 of 5
(3,643 Views)