Paramètre
Entrée
& Type de données
For example, 4301 in the second function parameter means to return 3
values: the period for channel 1, (nothing for channel 2) the time between an
edge on channel 2 and an edge on channel 3, and the time between an edge
on channel 1 and an edge on channel 4. The values are returned in the
sequence of the channels, 1 to 16.
Note: the destination array must be dimensioned large enough to hold
all the functions requested.
OutputOpt
Code to select one of the five different output options. The Output Option
that is selected will be applied to the data collection for all of the INT8
channels. The numeric code for each option is listed below with a brief
explanation of each. See the INT8 manual for detailed explanations of each
option.
Code
0:
32768
nnnn
-nnnn
-9999
Result
Average of the event data since the last time that the INT8 was
interrogated by the datalogger. If no edges were detected, 0 will
be returned for frequency and count functions, and 99999 will
be returned for the other functions. The INT8 ceases to capture
events during communications with the logger, thus some edges
may be lost.
Continuous averaging, which is utilized when input frequencies
have a slower period than the execution interval of the
datalogger. If an edge was not detected for a channel since the
last time that the INT8 was polled, then the datalogger will not
update the input location for that channel. The INT8 will
capture events even during communications with the datalogger.
Averages the input values over "nnnn" milliseconds. The
datalogger program is delayed by this instruction while the
INT8 captures and processes the edges for the specified time
duration and sends the results back to the logger. If no edges
were detected, 0 will be returned for frequency and count
functions, and 99999 will be returned for the other functions.
Instructs the INT8 to capture all events until "nnnn" edges have
occurred on channel 1, or until the logger addresses the INT8
with the CaptureTrig argument true, or until 8000 (storage space
limitation) events have been captured. When the CaptureTrig
argument is true, the INT8 will return up to the last nnnn events
for each of the programmed INT8 channels, reset its memory
and begin capturing the next nnnn events. The Dest array must
be dimensioned large enough to receive the captured events.
Causes the INT8 to perform a self memory test. The signature
of the INT8's PROM is returned to the datalogger.
RESULT CODE
DEFINITION
0
Bad ROM
-0
Bad ROM, & bad RAM
positive integer
ROM signature, good RAM
negative integer
ROM signature, bad RAM
Chapitre 7. Instructions de mesure
7-35