NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

inserting additional parameters in a report

Hi!

I've got some problems generating pdf-reports with data originating from Labview. 

I would like to pass some additional info (parameters and so on) along with experimental data.  I already studied some examples provided by NI but didn't really make sense of it.
If I write a simple text in Diadem the box will be automatically named "Text23" or something like it.  Some examples suggest that it's possible to change the entry of this text box by passing an 2-dim Array of strings to the Report-Express-VI in Labview.  But I guess this method is unstable if the layout file changes.  It also seems rather complicated and i'd prefer to name my text boxes myself since I've got quite a lot of parameters.

Could anybody describe how to solve this problem?

Thanks in advance!
0 Kudos
Message 1 of 3
(3,009 Views)

Hello Adamais,

Using the DIAdem report wizard with a custom layout/template in LabVIEW, the object names will automatically be propagated to the 'report objects' field in the wizard. Dropping any kind of object on the report form in DIAdem, a name will be assigned to the object (such as 'Text1', as you already mentioned). Since there is no direct way of changing these names (lables, object names) in DIAdem, the object names can't be changed in the report wizard as well.

The only way to assign an object name to the object is through means of a VBScript. Thus if you have collected all parameters in LabVIEW one could call a script that creates all the objects on the form. This ensures, that all parameters that will be given to DIAdem are already available with the report.

DIAdem developers are probably thinking about the implementation of this feature in future releases, but one can't guarantee.

Hope this helps,

Regards,

C.L. - National Instruments Germany

 

0 Kudos
Message 2 of 3
(2,991 Views)
... by the way ... this is the TestStand forum ... 😉
0 Kudos
Message 3 of 3
(2,988 Views)