NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a container object in a station global in a vb.net application

Hi Radlou,

 

That will never work !

You have to pass the 3. Parameter as emtpy string

EXCEPT! you have a named type. If you have created one with type editor you have to enter this name here.

I assume you have not.

 

All you need is to create 2 container objects and then connect them together with SetPropertyObject

1. Parameter is the Name that will placed in the variables pane.

2. Parameter "PropOption_InsertIfMissing​" if 0 nothing will work !!!

3. Handle to the created object by NewPropertyObject

 

Or just try this simple example

 

Regards

 

Juergen 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 11 of 16
(1,306 Views)

Hi j_dodek

 

I can't open your example MakeStationContainer_TS40.seq5.Because I don't have the suitable version (4.0) but only the 3.1

 

Thank you

 

 

0 Kudos
Message 12 of 16
(1,299 Views)

Here you are

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 13 of 16
(1,297 Views)

Hi Radlou,

 

Maybe this example will not work because it uses API expression in statement !

Not sure if this is feature of  4.0 and higher

 

Regards

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 14 of 16
(1,296 Views)

TestStand API expression were introduced in TestStand 4.0

 

Therefore you would have to look at each expression that uses an API call and convert it to use the ActiveX Adapter.

 

Maybe Juergen could do this if there are not too many or at least do one as an example.

 

 

Regards
Ray Farmer
0 Kudos
Message 15 of 16
(1,281 Views)

Hi Radlou,

 

Do you still need support ?

 

Regards

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 16 of 16
(1,273 Views)