Vaisala PTB210 SERIES Manuel d'instructions Page 38

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 137
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 37
it is simply declared as array as shown below:
Public T107_C(2)
Public TRHData(2)
Alias TRHData(1)=Temp_C
Alias TRHData(2)=Humid_C
This creates in memory four variables T107_C(1), T107_C(2), Temp_C and Hu-
mid_C. Thus, the amount of required code reduces to a minimum. Furthermore,
this example demonstrates the use of aliases which is equivalent to the assignment
of stored ASCII data within the TRHData-Array to the variables Temp_C and
Humid_C. The procedure of declaration is repeated to name every sensor and cal-
culating process with its own variable for further output and storage.
Data Types and Operational Detail
Variables and stored data can be configured with various data types to optimize
program execution and memory usage. Table 4.1 gives an outline of the used data
types.
Table 4.1: Details of used Data Types
[Manual - CR1000 Measurement & Control System, 1/08]
The declaration of variables via PUBLIC or DIM statement allows an optional type
descriptor AS that specifies the data type. The default data type, without a de-
scription, is IEEE4 floating point (FLOAT).
38
Vue de la page 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 136 137

Commentaires sur ces manuels

Pas de commentaire