Frequently Asked Questions
87
I send the interrogative for AVERAGE, but the reply does not seem
correct.
Replies to interrogative commands are formulated when first executed. Any subsequent
changes to the status (that's been replied to) will not be visible unless the interrogative is
requested again. This will include any changes made in the same command set. This
applies to all commands in the same set of commands, independent of their relative
position. Generally it is not advisable to send commands with interrogatives in the same
set of commands, nor is it advisable to send commands between the interrogative and
reading the reply.
In the following sequence –
1.
The 2553/ 2553E is using an AVERAGE value of 1.
2.
AVERAGE?<NL> is sent to the 2553/ 2553E.
3.
AVERAGE=2<NL> is sent to the 2553/ 2553E.
4.
The 2553/ 2553E is read. The data indicates that the AVERAGE setting is 1.
Similarly –
1.
The 2553/ 2553E is using an AVERAGE value of 1.
2.
AVERAGE=2;AVERAGE?<NL> is sent to the 2553/ 2553E.
3.
The 2553/ 2553E is read. The data indicates that the AVERAGE setting is 1.
I want to calibrate my 2553/ 2553E using the IEEE488 bus, but I
cannot find the commands to do so. How do I do this?
Calibration is dependent on the option content of the 2553/ 2553E product. All 2553/
2553E units require specialized calibration equipment that can (if misused) seriously
affect the performance of the 2553/ 2553E. For these reasons the commands for
IEEE488 controlled calibration to external standards are not included in this guide. They
are available, along with specific assistance if needed, from
Vitrek
on
request.
How do I parse the floating-point data I receive from the 2553/
2553E?
The answer to this is very dependent on the particular software language being used.
Most languages include standard “libraries” which include a general purpose ASCII
string to floating-point conversion utility. These generally support the syntax used in the
2553/ 2553E. In the C (or C++) language the standard “
atof
” or “
strtod
” library
functions can be used. The following requirements are needed –
•
Ignore leading spaces
•
Terminate on the first invalid character
Summary of Contents for Xitron 2553
Page 1: ...IEEE488 COMMAND GUIDE 2553 2553E Three Phase Power Analyser ...
Page 2: ......
Page 10: ...10 2553 2553E Command Guide ...
Page 38: ...38 2553 2553E Command Guide ...