DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

sequential analysis(evaluation) of channels in DIAdem

Hi together,
 
I want to know if anybody worked on such an application like the following:
 
-you have pre-defined analysis procedures/functions as VBScript files. (e.g: findsignalarisetime(Tstart,Tend,Channel,.....)
 where input variables of those functions could be a  Yvalue_variable, Xvaluevariable, Channel, Boolean, etc)
 
-you can define any order of these analysis functions and run them sequentially. You can save the order and the results of the analysis and you can recall/edit them again.
 
-Depending on the order of analysis functions,  one function can use the result of the previous analysis as an input for itself.
 
I have to implement in DIAdem the analysis (evaluations) of the channels for our laboratory (offline evaluations)  There are basic evaluations (findmaximum,findminimum,signalarisetime,effectivevalue,2channelmath, etc.) and specific evaluations (contactseperationtime,tripstarttime,arctime, etc) which consist of basic evaluations.
Since the evaluations should be executed sequentially, the handling and handing over of input/output values are important.
I am trying to build a concept to solve this problem.
 
I attached a word file which includes screenshots from the existing evaluation program. (see: screenshots.doc)
 
I would be glad if you let me know if you already worked on something like that.
If my post is not clear enough, please ask!
 
cheers
Kaan
 
 
 
 
 
0 Kudos
Message 1 of 3
(3,377 Views)

Hello Kaan!

From my experience your needs can run into a complex task. For our customers with similar problems we developed X-Frame, a DIAdem based Application Framework. There you can define 'Evaluations'. Our method of resolution for your channel calculation in/out problem is different. We define script based formula wich can have input data or other formula as input channels. Typically our evaluations are driven from the layout. The layout is analyzed and the required data/formula are loaded/calculated by X-Frame using DIAdem abilites. The assignment to the layout is done at the end of every evaluation. The framework design is verry flexibel to meet different needs. If you want to have more info (e.g. in English) feel free to contact me I  will redirect it to our marketing.

Sorry, no solution but perhaps it helps a little bit.

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 3
(3,361 Views)

Hi Kaan,

I haven't seen XFrame in a number of years, but Matthias knows more about solving this sort of problem in DIAdem than just about anyone else in the world, so if he's recommending XFrame, it's worth considering.  XFrame is an application built on top of DIAdem which is developed and sold by Matthias' company.

In general, though, you have two choices that I can think of to pass the test results and intermediate data between analysis routines.

1.  You can pass information between the independent analysis routines using DIAdem variables.  You can use local VBScript variables if the routines are all called contiguously from the same parent VBScript.  Otherwise, you can use DIAdem global variables (OdsValAlloc or GlobalDim).

2.  You can pass information between the independent analysis routines using file reading and writing.

Obviously, you can also combine these two choices-- the intermediate data is probably easiest to handle with a TDM file and just passing the path to the TDM file to the next analysis routine.

You want each analysis routine to be its own VBScript or Subroutine/Function so that they can be called in any arbitrary order.  You will need to define standard input and output names that each analysis script uses by either method 1) or 2) above to gather its starting point and save off its results.  You will need to develop a user interface so that the user can easily provide the order of the analysis routine-- a SUDialog and/or a custom menu structure.  Finally, you want to enable automatic display of the data as it goes through each analysis step.

Those are my initial thoughts,
Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 3 of 3
(3,343 Views)