03-13-2008 03:27 AM - edited 03-13-2008 03:32 AM
03-13-2008 07:57 AM
03-13-2008 09:03 AM
Hi,
If none knows that error message I should start to describe my problem:
I have a time,speed, keyphasor and a proximity sensor signal.
First Part: Bode
So far so good.
Second Part: Waterfall diagram
And now the error occurs (at this command: CHNORDAFCALC): "At least one FFT function must be selected!"
If I comment the first part, the second part works. So I really have no Idea what else to do.
Regards
Patrick
03-13-2008 09:13 AM
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
03-13-2008 09:19 AM
Yep, I think so. I recorded a macro an took the code into my script and replaced some values with variables. As I said: without the first analysis befor it works.
My settings:
GENXBEGIN =SpeedMin
GENXEND =SpeedMax
FFTWNDFCT ="Hanning"
FFTWNDPARA =10
FFTWNDCHN ="time"
FFTWNDCORRECTTYP ="periodic"
FFTCALC =0
FFTAMPLTYPE ="Ampl.Peak"
FFTAMPLEXT ="No"
FFTPHASE =0
ORDAFSIGWEIGHT ="NoRef"
ORDAFREVOLSTEP = stepWidth
ORDAFTYPE ="Frequency"
ORDAFFFTLENGTH = intervalLengthFFT
ORDAFMAXORDER =10
ORDAFFILTRECALC =5
At least the last two should not be necessary if ORDAFTYPE ="Frequency".
Regards
Patrick
03-13-2008 10:55 AM
Hi Patrick,
I think the easiest way for us to help would be for you to post a data set and your full script application that runs both portions of the code. If you don't want to post it, you could alternatively send it my email address: brad.turpin@ni.com
Brad Turpin
Product Support Engineer
National Instruments
03-17-2008 02:43 AM
Hi all,
Brad solved my problem and I wanted to tell anyone who might have the same problem in the future how to fix that:
I just had to add the parameter:
FFTAmpl = 1
Thank you again Brad!
Regards
Patrick