NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand C# adapter - Constructor not showing input variables

Solved!
Go to solution

SanaRif_0-1755861201774.png

This is where the release method is.

SanaRif_1-1755861245304.png

This is the piece of code for loadinf assembly. and myModule.ClassName = $"{Name_space}.{clasReferences.Name}"; loads the root class

 

0 Kudos
Message 11 of 13
(60 Views)

OK, I understand a bit more now: the TestStand Code in one of the previous posts has been created using your .net code.

 

I recommend a cross check: what happens if you try to create this step manually with the exact same parameters? Will Release(int a) be available as expected? 

 

If yes, there might be a something missing when creating the step. Maybe you want to try 

Step.LoadModule(0) on the step in question.

 

Honestly, this is an educated guess, since my expertise is limited here...

0 Kudos
Message 12 of 13
(46 Views)

Yes you got my point right, but step.loadmodule isnt working. Thank you.

 

Well i have one more doubt here. As am new to teststand am unsure about sequence context usage. I know that it is to create things dynamically, but should i be using it in my code?. i dont know if i should.

0 Kudos
Message 13 of 13
(28 Views)