NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

AdditionalData from within a plugin

Hi all,

 

I am using the simple text report plugin within my sequence and have configured it to add two additional data types using Parameters.UUT.AdditionalData.MyData1........MyData2 etc. The AdditionalData parameters are added during run time.

 

This works fine but when I run a sequence that has not been designed to use MyData1 / MyData2 I get an error from the plugin.

 

I would like a way to be able to use this plugin regardless of sequence. If the additionalData parameters are not there it should continue with a default or empty string.

 

How can I achieve this?

 

Thanks

0 Kudos
Message 1 of 2
(2,056 Views)

Hi,

 

Maybe you could programmatically remove the plugin for the files that do not require it:

https://www.ni.com/docs/en-US/bundle/teststand/page/programmatically-updating-a-configuration-fil.ht...

 

Kind regards,

Kelly

0 Kudos
Message 2 of 2
(2,001 Views)