Crystal XP2i-DP Digital Differential Pressure Gauge User Manual
Page 8
Commands
6
XP2i Programming Instruction Manual
reset
!RST
. . . . . . . .This command schedules a reset. There will be a three second pause before the XP2i resets; during this time, no commands or queries
should be sent to the unit. When the unit resets, a product identification string, called the Boot Signature, is sent. (See the
for more information.) Some communication noise, including a serial framing error, is possible on reset. Resetting the XP2i clears
the zero value, clears the peak high and peak low values, enables automatic shutdown after 20 minutes of inactivity (resetting that timer to
20 minutes on reset), and selects the first pressure unit on the XP2i (which can vary with product type, but will be consistent for each reset
operation). After a reset, you should query and/or select appropriate measurement units using the “
?P,U
” and “
!I,P
” commands. If the reset
command fails to operate properly, or appears to “lock up” the device, contact technical support.
Set the average Window Size
!AVS x
� � � Sets the number of pressure reading to be averaged. The valid range is from
1
through
10
, i.e.
!AVS 5
or
!AVS 10
.
If an invalid size is entered, or averaging is disabled, “
X,0
” is returned. Averaging is enabled with ConfigXP, only.
Streaming data on/off
!SP1
. . . . . . . .Displayed pressure is sent out of the serial port after each new reading at a rate of approximately 4 readings per second, and returns data in the
same format as the
?PRE
query. When the gauge is in PSVtest mode the rate is approximately 8 readings per second.
!SP0
. . . . . . . .Cancels streaming data output.
Water density
!_4C
. . . . . . . .Set the density of water to 4°C (39.2°F)
!60F
. . . . . . . .Set the density of water to 15.6°C (60°F)
!68F
. . . . . . . .Set the density of water to 20°C (68°F)
Zero
!ZER
. . . . . . . .Zeroes the pressure readings by setting a zero value equal to the current applied pressure. The zero cannot be cancelled, but it can be reloaded
by calling this command again. To check the zero value, send the Zero Check command (“
?Z,U
”). If you want to disable the zero after en-
abling it, send the reset (“
!RST
”) command. (Read the Reset section first to be sure you understand all effects of performing a reset.)