NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

NI teststand creat string into array

i want to creat a string into array in test stand using CVI

TS_PropertySetValString (seqContextAsPropObj, &errorInfo, "FileGlobals.Data.Measure[0].Value", TS_PropOption_InsertElement, "NOK");

firstly the array not existe and when i use the function above i see in test stand just FileGlobals.Data.Measure created but the Value not created

Capture951.PNG

how i can do this ?

0 Kudos
Message 1 of 3
(1,278 Views)

I think I am confused by your ask. Do you want to turn a string into an array of characters?

Chase
NI Technical Support Engineer
0 Kudos
Message 2 of 3
(1,251 Views)

Hi,

maybe i am worng, because your screenshot shows not all.

Your variable "Measure" is a container instead an array. So will never access  with this lookup string

 

best regards

Juergen  

 

--Signature--
NIWeek 2017: Standardized HIL Test Automation With TestStand
NIWeek 2016: Capturing ATE Requirements With Requirements Gateway

Feedback or kudos are welcome
0 Kudos
Message 3 of 3
(1,246 Views)