06-03-2019 08:17 PM
Needing to create a sequence step from c# using the api
The step is a dot net adapter type
I've got the sequence created
I've got the step created
I've set the limits and the units
Can't seem to find how to set the items from the module tab
- Assembly
- Root class
- ect
If someone can point me in the right direction, I'd appreciate it
Thanks
06-04-2019 02:28 PM
Hi Mr_Mimo,
It sounds like you are looking for properties and methods from the following class:
DotNetModule - TestStand Help
https://zone.ni.com/reference/en-XX/help/370052R-01/tsapiref/reftopics/dotnetmodule/
Your step will have an instance of this class that you can access using Step.Module. This will return a DotNetModule object if the step uses the .NET adapter.
Best,
Duncan Waldrop
Technical Support Engineer
National Instruments
06-04-2019 07:46 PM
That was the missing link.
Thanks!
Follow up question if I may
When I call DotNetCall.LoadPrototypeFromSignature, I'm using the use existing object calls option.
That works except I can't seem to find how to add the library specific public function call.
As in "Use Exisiting Object Call (MyNamespace.MyClass).XXXX()
Doesn't seem like I can load the .XXXX part
Do I need to switch over to SetIncompleteSignature()
Thanks for your time