NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Plugin API Help - RunState.Root.Locals.ModelPluginConfiguration.Plugins...

We have two databases we are logging to, depending on the type of part.

I have both configured in results processing.

I want to toggle one of them off during the test.

 

I am trying to access the API, and deal with two steps...

 

1) Find the correct plugin by name.

2) Set the Disable flag in the database plugin

 

Here's the API call I have so far...

     RunState.Root.Locals.ModelPluginConfiguration.Plugins[N].Base.[NAME?]

 

However, I cannot find ANY documentation for what's in that Plugins[] and then the Base, and where the name might be.

 

Any help?  And can you show me how to find this info in the API documentation somewhere?!

 

 

0 Kudos
Message 1 of 2
(872 Views)

For anyone struggling with this, the best thing is to run your sequence, then pause in the middle and inspect the runtime variables.  There you can see what's available:

 

Jed_Davidow_0-1638932316373.png

 

0 Kudos
Message 2 of 2
(860 Views)