NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmaticaly retrieve Module Parameters

Hi everyone,

 

I'd like to know how to programmaticaly retrieve all the parameters that are defined in a sequenceCall step (in module window) :

 * Parameter Name

 * Type

 * Value

 

I'm using TS API with Labwindows and i have a Step handle using : 

TS_SequenceGetStep (gSeqObj, &errorInfo, iIndex, iStepGroup, &gStep);  

I suppose i should get a module handle but i don't know what to do next with the module Handle

 

If someone could help me i would appreciate.

Thanks a lot !

 

0 Kudos
Message 1 of 2
(3,036 Views)

I think this is the API that you are looking for. "Step.Module.AsSequenceCallModule.Prototype". You can use the handle of the step you get using TS_SequenceGetStep. This should give you the parameters container.

 

Thanks 

0 Kudos
Message 2 of 2
(3,032 Views)