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: 

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
(2,217 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
(2,190 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--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 3 of 3
(2,185 Views)