01-09-2007 10:07 AM
01-10-2007 03:27 AM
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? |
01-10-2007 09:12 AM
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