11-25-2008 03:38 AM
Hi all,
I m really very confused,i need to have order analysis for that i m using the function "Call OrdATParaSet(XW, Y, X1, ) " in result i m gettinga number of channels "time,rotational speed & orders magnitudes" i am using the data available in labview examples(order analysis) while doing analysis in labview it's giving correct waveform but while doing analysis with same data files in diadem it's always giving order magnitudes=0, so what can i do for this?
thanks
Nidhi
11-25-2008 10:16 AM
Hi Nidhi,
The LabVIEW order analysis functions assume that you have a tachometer channel to track the instantaneous engine speed. The DIAdem order analysis functions assume that have an RPMs channel to track the instantaneous engine speed. Which do you have in your data set? What type of order analysis do you want to run (3D frequency spectrum, 3D order spectrum, 2D order cut, etc.)? The DIAdem function you listed below "OrdAtParaSet()", does not run an order analysis calculation but only sets up the correct input channels-- note that the last parameter here is the RPMs channel I mentioned above.
Would you be able to post your starting data set?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-25-2008 09:48 PM
Hi Brad,
so sorry by mistake i have written that function actually i have used " Call ChnOrdATCalc(XW, ChnNoStr1, ChnNoStr2 ) " function in order to have order analysis in time domain, & i want 2d order cut plot.
Thanks
Nidhi
11-25-2008 09:59 PM
Hi Brad,
One more thing i want to know in order analysis(time domain) what is that reduction mathod(RPM,TIME)?
Thanks
Nidhi
11-26-2008 08:57 AM
Hi Nidhi,
Would you please post a sample data set that you are wanting to analyze?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
12-02-2008 02:33 AM
Hi Brad,
Thanks a lot for your help, i solved out all the problems.thanks again.
Nidhi
12-05-2008 01:16 AM
Hi Brad,
again i m stuck in one problem. i have used function "Call ChnOrdATCalc(XW, ChnNoStr1, ChnNoStr2 )" in event click of dialog box, so if there occurs any error, it is taking "IDCancel " as Dlgstate even though i m pressing ok, so what to do to sort out the problem? i want to have dialog box(user defined) display of that error.
Thanks
Nidhi
12-05-2008 10:18 AM
Hi Nidhi,
This use case requires that you briefly suspend the standard VBScript error checking, like this:
On Error Resume Next
Call ChnOrdATCalc(XW, ChnNoStr1, ChnNoStr2)
ErrNum = Err.NumberErrMsg = Err.Description
ErrSrc = Err.Source
On Error Goto 0IF ErrNum <> 0 THEN
MsgBox "Error " & ErrNum & ": " & ErrMsg & vbCRLF & "Occurred in " & ErrSrc
END IF
Brad Turpin
DIAdem Product Support Engineer
National Instruments
12-08-2008 03:25 AM
Thanks Brad,
It's working fine.
Nidhi
12-10-2008 05:55 AM
Hi Brad,
I am sending you a data file for which i have to perform order analysis, values are coming,but how do i cross check whether values which are coming correct or not?
Thanks
Nidhi