NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

create object referance

How do I create Object Referance variableby using a Statement function?

example:

 

If I want to create a  string variable: SetValString("MyString", 0, "AAAAA")

 

And is there an IF-function script that I can write in a Statement function?

like in C-code

***************************************

 

if ( var1 != 2) {

     var1++;

    }

0 Kudos
Message 1 of 5
(3,102 Views)

Hi,

 

In which group in inside ? Locals, FileGlobals or inside a Container

I will provide a small example.

Oh wich TS version?

 

Greetings

 

juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 5
(3,101 Views)
FileGlobals
0 Kudos
Message 3 of 5
(3,097 Views)
Inside FileGlobals on TestStand 4.0
0 Kudos
Message 4 of 5
(3,093 Views)

Hi,

 

Try this

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 5 of 5
(3,088 Views)