NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing body in report when running ActiveX-Call

Hellom
im using TS3.5 and the default modell C:\Programme\National Instruments\TestStand 3.5\Components\NI\Models\TestStandModels\SequentialModel.seq
When running a sequence then the report is generated normally.
As soon as i insert an active-x-teststep (see SpecifyModule.JPG) the report-body is missing and i only see the header.
When skipping (SKIP) this step the problemis still there.Only deleting the step solves the problem and the results are displayed again.
The step is currently inserted only once before the mainsequence-callback (see PositionInModel.JPG) .

What is the problem here? The active-X-calls are working without problems (POstUIMessage) but i have no report-data when using it.

Any ideas?

Thx
Download All
0 Kudos
Message 1 of 5
(3,144 Views)

Hey OnlyOne,

So I tried to reproduce but didn't see the same thing as you.  Maybe I'm not doing the right things though-

What report are you using (HTML, XML, text)? 
Does it only occur in the OI or do you see this behaviour in the Seq. Editor as well? 
Why aren't us using PostUIMessageEx method?  It is the same except it has better functionality.  The only reason the non Ex method is there is for backwards compatibility reasons.  So when TS 3.5 came out some of the methods got changed and then renamed to the same thing except an Ex on the end.

Let me know on these questions and I'll dig deeper.

Cheers,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 5
(3,135 Views)
> What report are you using (HTML, XML, text)?
Report is in ASCII (see attached result-files, one of them is ok, the other is without data)

> Does it only occur in the OI or do you see this behaviour in the Seq. Editor as well? 
It occurs also in the SeqEdit

> Why aren't us using PostUIMessageEx method?
I tried this method, but it has the same behaviour

Attachments:
resultfiles.zip -> report_ok.txt (with all data) and Report_NoData.txt (only header)
main.seq -> the seqfile that i execute
SequentialModel.seq - >The edited default-model-sequence, the step is marked which must be deleted to have the full report-data

Thx for your help






Download All
0 Kudos
Message 3 of 5
(3,129 Views)
The report generation assumes that only one step in your process model has collected results.  If you change the step's property for your ActiveX step to disable recording results, the problem will go away.

Kind Regards,
Allen P.
NI
Message 4 of 5
(3,118 Views)
Hi AllenP,
thank you very much for this tip. Now report generation works always.
0 Kudos
Message 5 of 5
(3,104 Views)