NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Array in StationGlobals to same value

Hello,

how can i set with onl one statement an numeric-array to a special value?

 

Somethin like: StationGlobals.Dummy[0..50] = 12

 

Thanks for help

0 Kudos
Message 1 of 4
(2,997 Views)

Hi,

 

I had almost the same question,

Take a look to this sloved thread

http://forums.ni.com/t5/NI-TestStand/Loop-in-a-Pre-Expression/m-p/839636#M22786

 

Regards

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 4
(2,929 Views)

Thanks for the link, uut i only want to set it i a simple statement. How can i do this?

0 Kudos
Message 3 of 4
(2,921 Views)

Hi OnlyOne,

 

type in the Expression

 

FileGlobals.FileGlobal = {12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,

12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12}

 

it´s not so nice but it also works.

 

best regards
Alexander
0 Kudos
Message 4 of 4
(2,898 Views)