Crystal Pressure XP2i Programming Instructions Manual

Digital test gauge
Hide thumbs Also See for XP2i:

Advertisement

Programming Instructions
For the XP2i Digital Test Gauge

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XP2i and is the answer not in the manual?

Questions and answers

Summary of Contents for Crystal Pressure XP2i

  • Page 1 Programming Instructions For the XP2i Digital Test Gauge...
  • Page 2: Table Of Contents

    Contents Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 3: Overview

    PC side). The interface lets you record displayed readings and recorded peaks. The data string always includes the pressure units. The XP2i can be operated remotely, as if you were pressing the buttons. You can use a simple terminal program to send the commands, or, you can incorpo- rate them into your own software program.
  • Page 4: Communication Format

    For reference, CR is ASCII value 13 decimal, while LF is ASCII character 10 decimal. You have 30 seconds to complete an instruction. After 30 seconds, the XP2i will evaluate whatever it has received and try to match it to its table of commands.
  • Page 5 ..Range, returns the pressure range of the gauge. It is returned in two, 10 character lines. ?RNG The first line is the value, the second line is the pressure unit. For example, a 100 PSI XP2i would return. 100.00 return average Pressure .
  • Page 6 ..The serial number is returned in two strings. A typical example is shown below: ?SN# 12659 Version ..Version returns the XP2i’s firmware version as a 4 digit number preceded by the letter “ ”. This number is for factory use only. ?VER Example version number:...
  • Page 7: Commands

    ..Prevents automatic shutdown. The default setting of the XP2i allows the product to automatically shut down 20 minutes after the last button !NAO push or the last RS-232 command. This command will return:...
  • Page 8 Commands  reset ..This command schedules a reset. There will be a three second pause before the XP2i resets; during this time, no commands or queries !RST Programming tips should be sent to the unit. When the unit resets, a product identification string, called the Boot Signature, is sent. (See the on page 9 for more information.) Some communication noise, including a serial framing error, is possible on reset.
  • Page 9: Acknowledgment Of A Command

    The XP2i always returns some indication to let you know a command or query was received and acted on. For queries, the return of the measurement data is the acknowledgment. For commands, possible acknowledgments are “...
  • Page 10: Support

    Line termination is incorrect; send carriage returns (CR) only, do not send line feeds (LF)..XP2i buffer overflow, no action. In an overrun, bytes are lost, consequently the XP2i will not be able to match the command string. If it can’t find a match, it returns “...
  • Page 11: Effects Of Password Protection On Commands

    ProGrammInG tIPS The XP2i is a very straightforward device to communicate with, provided you follow these tips. This advice is derived from our own experiences automating systems based on the XP2i, as well as the experiences of our users; following these tips will help save you some time.
  • Page 12: Bootloader Signature

    Any time you detect the Bootloader Signature, the unit has been reset, or disconnected from and reconnected to power; turning the unit on and off with the button will not send the Bootloader Signature. You can use this behavior to detect a battery change, or a problem with the XP2i.
  • Page 13 © 2013 Crystal Engineering Corporation 708 Fiero Lane, Suite 9, San Luis Obispo, California 93401-8701 3984. E...

Table of Contents