Campbell-scientific CR9000X Measurement and Control System Manual de usuario Pagina 287

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 442
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 286
Section 8. Processing and Math
Instructions
Operators
^ Raise to Power >> Bit shift operator
/ Divide << Bit shift operator
- Subtract & String concatenation
<> Not Equal AND Logical conjunction
< Less Than EQV Logical Equivalence
<= Less Than or Equal INTDV Integer divide
* Multiply MOD Modulo divide
+ Add NOT Logical negation
= Equals OR Logical disjunction
> Greater Than XOR Logical exclusion
>= Greater Than or Equal
AngleDegrees
The AngleDegrees declaration is used to set math functions in the program to
return, or to expect as the source, degrees instead of radians.
Syntax
AngleDegrees
Remarks
The AngleDegrees instruction is placed in the declarations section of the
program, before the code enclosed in the BeginProg/EndProg instructions.
AngleDegrees affects the following instructions that return an angle in radians:
ATN, ATN2, ACOS, ASIN, RectPolar.
Angle Degrees affects the following instructions that expect an angle in radians
as the source: COS, COSH, TAN, TANH, SIN, SINH.
Negative radians will convert to negative degrees.
Bit Shift Operators (<< and >>)
The bit shift operators (>> or <<) perform an arithmetic bit shift operation on a
numeric expression.
Syntax
<< : Bit shift left
Variable = Numeric Expression >> Amount
>> Bit shift right
Variable = Numeric Expression >> Amount
8-1
Vista de pagina 286
1 2 ... 282 283 284 285 286 287 288 289 290 291 292 ... 441 442

Comentarios a estos manuales

Sin comentarios