Campbell CR800 Spécifications Page 134

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 324
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 133
Section 6. Data Table Declarations and Output Processing Instructions
6-16
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 must be placed inside the DataTable declaration
immediately following the output instruction for which names are being
created. 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,
including quotation marks, spaces, and other characters. As an example, the
processing description and fieldname description for a Sample instruction
might look like the following:
Smp,:This is a sample air temp"
Smp,: and the opening and closing quotation marks use 7 characters; therefore,
there are 58 remaining for the fieldname description.
If an output instruction generates multiple fields, individual names may be
entered for each or an array may be used. Individual names should be
separated by commas. If an array is used, the array name and dimension must
be specified (i.e., "Temp(4)" specifies an array of 4 field names; Temp(1)
through Temp(4)). Note that an expression which evaluates as a constant can
also be used to specify the array dimension. When the program is compiled,
Vue de la page 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 323 324

Commentaires sur ces manuels

Pas de commentaire