NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify ModelSupport.Seq

Hi Jiggawax,

 

I figured it was going to be a lot of work to add a new entry point.

 

Can you give me an example of how I can loop through the plugins to check to see if one is enabled or not and act on it?

 

Thanks

 

Andy

0 Kudos
Message 11 of 12
(339 Views)

The array you want to iterate through is Locals.ModelPluginConfiguration.Plugins.

 

This will give you the name of the plugin: Locals.ModelPluginConfiguration.Plugins.[Locals.x].Base.SequenceFileName (includes .seq)

And this will give you if it is enabled or not: Locals.ModelPluginConfiguration.Plugins[Locals.x].Base.Enabled

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 12 of 12
(335 Views)