Specifications

Section 6. Data Table Declarations and Output Processing Instructions
DataTable(Amp,1,1)
fft(x,fp2,SIZE_FFT,10, msec,1)
EndTable
DataTable(AmpPhase,1,1)
fft(x,fp2,SIZE_FFT,10, msec,2)
EndTable
DataTable(power,1,1)
fft(x,fp2,SIZE_FFT,10, msec,3)
EndTable
DataTable(PSD,1,1)
fft(x,fp2,SIZE_FFT,10, msec,4)
EndTable
DataTable(FFT,1,1)
fft(x,IEEE4,SIZE_FFT,10, msec,0)
EndTable
DataTable(IFFT,1,1) 'inverse FFT
fft(y,IEEE4,SIZE_FFT,10, msec,5)
EndTable
BeginProg
Scan(10, msec,0,SIZE_FFT)
i=i+1
X(i) = DC + Sin(PI/8+2*PI*CYCLESperT*i/SIZE_FFT) * AMPLITUDE + Sin(PI/2+PI*i)
Next Scan
CallTable(Amp)
CallTable(AmpPhase)
CallTable(Power)
CallTable(PSD)
CallTable(FFT)
for i = 1 to SIZE_FFT ' get result back into y()
y(i) = FFT.x_fft(i,1)
next
CallTable(IFFT) ' inverse, result is the same as x()
EndProg
FieldNames( "Fieldname1:Description1,Fieldname2:Description2…" )
The FieldNames instruction is used immediately following an output
processing instruction to change the default field names that the datalogger
generates for results sent to the DataTable. The names are entered in the form
of "Fieldname:Description". The fieldname and description must be separated
by a colon, and the entire string must be enclosed in quotation marks.
The Fieldname element is the name to be used for the field; field names are
limited to 19 characters. The Description element (which is optional) provides
a way for the user to include further information about the field. In a collected
data file, the Description is included in the header line below the Fieldname,
along with the processing description. The maximum number of characters in
the Description depends upon the description that is automatically generated
for the processing type. The total maximum characters for the two is 65,
6-16