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
(1,761 Views)

Hi,

 

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

http://zone.ni.com/reference/en-XX/help/370052N-01/tsfundamentals/infotopics/pmpupdateconfigfile/

 

Kind regards,

Kelly

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