DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I programatically create report from multiple log files/plugins, how?

I'm trying to write a LabVIEW program to generate a test report that comes from data in two different log files.  The log files are text based and I have created plugins for them both.  What I don't understand is how to call the VIs to do the different tasks.  I have a simple program I wrote that opens the DIAdem reference, loads data, loads report, runs script, runs an automatiuon command then closes the reference. 

I know what I have isn't right and I have no way to load multiple data files and plugins.  Are there any examples available, is this even possible with two data files?

Any direction would be helpful.

Thanks,

Dave

 

0 Kudos
Message 1 of 2
(3,264 Views)

Hi NIDave,

 

Sure, this is possible.  When you load the data from File A using DataPlugin A you get one or more Groups in the DIAdem Data Portal, typically one Group which we'll call Group A.  When you then load the data from File B using DataPlugin B, you get additional Group(s) in the DIAdem Data Portal which we'll call Group B.  At this point in the DIAdem Data Portal you'll see 2 Groups, namely Group A and Group B.  You can now graph or analyze the data from Group A and/or Group B at will.  This use case was the primary reason for creating the Group level in the Data Portal way back in DIAdem 9.0.  In a VBScript, the commands to do the above would be:

 

Call DataDelAll

Call DataFileLoad("DataFilePath A", "DataPluginName A")

Call DataFileLoad("DataFilePath B", "DataPluginName B")

 

I'm unclear why you're having trouble with this.  Would you please explain the source of the trouble?  Are you perhaps executing the DataDelAll command between loading File A and loading File B?

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

 

0 Kudos
Message 2 of 2
(3,248 Views)