NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

API call for Sequence vs DLL in report options

I've got my code to automatically use a text file no matter the selection of the Report Format.  But what I've found is that if DLL is selected, there are certain parts of my code that do not run versus when the Sequence is selected under "Select a Report Generator for Producing the Report Body".  Which makes sense to me since I want the callbacks to run.  But, I can't find out where in the API to set it to Sequence so that I can ensure my callbacks get run.

 

Thanks in advance.

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

It actually wouldn't be done through the API.  That info is stored inside of a variable during RunTime.  Ultimately it is stored in the ReportOptions.ini file but that gets read in during the ReportOptions callback.  The one you are looking for is called Locals.ReportOptions.BodyGenerator in the TestUUTs Entry Point and the Single Pass entry point.  You need to change that variable to Sequence instead of DLL.....I'm assuming.  I didn't try it yet.

 

Hope this helps,

 

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