Campbell CR800 Especificações Página 169

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 324
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 168
Section 7. Measurement Instructions
InstructionTimes (Dest)
The InstructionTimes instruction returns the execution time of each instruction
in the program.
The InstructionTimes instruction loads the Dest array with execution times for
each instruction in the program (in microseconds). InstructionTimes must
appear before the BeginProg statement in the program.
Each element in the array corresponds to a line number in the program. To
accommodate all of the instructions in the program, the array must be
dimensioned to a number greater than or equal to the total number of lines in
the program, including blank lines and comments. The Dest array must also be
dimensioned as a long integer (e.g., Public Array(20) AS LONG).
Note that the execution time for an instruction may vary. For instance, it will
take longer to execute instructions when the datalogger is communicating with
another device.
PanelTemp (Dest, Integ)
This instruction measures the panel temperature in °C.
Parameter
& Data Type
Enter
Dest
Variable
The Variable in which to store the results of the instruction.
Integ The time spent on integration in microseconds for each of the channels
measured.
Constant Entry
Integration
250
250 µS
_60Hz or 16667
16,667 µS (reject 60 Hz noise)
_50 Hz or 20000
20,000 µS (reject 50 Hz noise)
7.7 Digital I/O
CheckPort (Port)
CheckPort is a function that returns the status of a control port. CheckPort
returns True (-1) if the specified control port is high or False (0) if the control
port is low. CheckPort can be used on the right side of an expression (e.g.,
Variable = CheckPort (Port)) or as an expression.
CheckPort has only one parameter, Port, the number of the port (1-8) to check.
Caution: The value returned may not be valid if using the control port as a
serial port or as a pulse counting port.
7-15
Vista de página 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 323 324

Comentários a estes Manuais

Sem comentários