![Vitrek Xitron 2553 Скачать руководство пользователя страница 77](http://html1.mh-extra.com/html/vitrek/xitron-2553/xitron-2553_command-manual_1037508077.webp)
Application Examples
77
In some applications it is required to obtain measurement results at high speeds, in these
cases the UPDATEn command should be used for each bank that will be required to be
read at high speed to ensure that the contents are maintained at this speed.
There is little gain in setting an update interval of more than 500ms. Setting an update
interval of less than 20ms is not recommended.
As an example, sending the following command configures bank #1 for a 50ms update
rate that would be suitable to maintain recent data for reading at intervals down to 100ms.
UPDATE1=5<NL>
Reading the Measurement Results
With regard to the rate that measurement data will be needed, and the type of data that
will be read, the user should decide which (or combination) of the following techniques
will be used to read the data from the 2553/ 2553E.
Asynchronously Reading Measurement Results from One Bank
This method allows the user to read up to 750 measurement results whenever it is desired.
This accommodates the requirements for most applications. In this case there is no
special programming of either the 2553/ 2553E or the controller, thus this is the simplest
of all methods. The 2553/ 2553E always maintains the contents of the bank at the rate
defined by the UPDATEn command. The user need not be concerned with maintaining
synchronism with the 2553/ 2553E, or be concerned about the 2553/ 2553E forcing the
controller to wait for new measurement results, as they are always available to be read.
Since the default after application of power is to use bank #0, this should be the bank
chosen. The UPDATE and READBANK commands need not be used.
Asynchronously Reading Measurement Results from Many Banks
If needed, several banks may be read asynchronously. The READBANK command
should be issued prior to each read operation to define the bank which will be read, there
is no requirement for any delay between issuing the READBANK command and reading
the data from this bank. There are no requirements on the order in which banks are read,
or that the banks are read at the same rate. An example of the command to send to the
2553/ 2553E to request that results be returned from bank #1 is as follows.
READBANK=1<NL>
In some situations, the controller may actually be performing several tasks, some of
which may require different information from the 2553/ 2553E. This is another case
where different banks of measurement results can be used. Each application should
program separate banks and use the READBANK command immediately prior to reading
the required results. Dependent on the operating system being used, care may be needed
to ensure that another application cannot execute between the READBANK command
being issued and the read of the measurement results.
Содержание Xitron 2553
Страница 1: ...IEEE488 COMMAND GUIDE 2553 2553E Three Phase Power Analyser ...
Страница 2: ......
Страница 10: ...10 2553 2553E Command Guide ...
Страница 38: ...38 2553 2553E Command Guide ...