Standard Practice for Host Computer Communication with Spectrometers for Color Measurements

SCOPE
1.1 This practice provides a standard communications protocol for a serial communication between a host computer and a spectrometer designed for colorimetry. The adoption of the standard communication protocol on the part of instrument manufacturers will allow instrument users the option to employ third-party software, or to replace one instrument with another while retaining the same software. This standard is not intended to replace existing standards, such as SCPI-1999 written by the SCPI Consortium as a set of Standard Commands for Programmable Instruments for bench-top instruments that utilize the IEEE-488 or IEEE-488.2 interface. This standard has been adopted by many analytical instrument makers and is used by them as the interface standard for spectroscopy even when the instrument interface is RS-232c.
1.2 This standard does not purport to address all of the safety concerns, if any, associated with its use. It is the responsibility of the user of this standard to establish appropriate safety and health practices and determine the applicability of regulatory limitations prior to use.

General Information

Status
Historical
Publication Date
09-Jul-2002
Current Stage
Ref Project

Relations

Buy Standard

Standard
ASTM E2222-02 - Standard Practice for Host Computer Communication with Spectrometers for Color Measurements
English language
3 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


NOTICE: This standard has either been superseded and replaced by a new version or withdrawn.
Contact ASTM International (www.astm.org) for the latest information
Designation:E2222–02
Standard Practice for
Host Computer Communication with Spectrometers for
Color Measurements
This standard is issued under the fixed designation E 2222; the number immediately following the designation indicates the year of
original adoption or, in the case of revision, the year of last revision. A number in parentheses indicates the year of last reapproval. A
superscript epsilon (e) indicates an editorial change since the last revision or reapproval.
1. Scope complete enough to allow the users to set the instrument’s
mode of measurement to transmission or reflectance measure-
1.1 This practice provides a standard communications pro-
ments, and the wavelength interval to 10 or 20 nm. Users may
tocol for a serial communication between a host computer and
perform zero and 100 % photometric calibration, and they may
a spectrometer designed for colorimetry. The adoption of the
both upload and download standard white-tile calibration data
standard communication protocol on the part of instrument
to the instrument. Provision is made for obtaining a status
manufacturerswillallowinstrumentuserstheoptiontoemploy
string, and obtaining information about the particular instru-
third-party software, or to replace one instrument with another
ment such as its serial number and geometry.
while retaining the same software. This standard is not in-
tended to replace existing standards, such as SCPI-1999
5. Significance and Use
written by the SCPI Consortium as a set of Standard Com-
5.1 The practice should be adopted by spectrometer manu-
mands for Programmable Instruments for bench-top instru-
facturers and developers of software to be used on host
ments that utilize the IEEE-488 or IEEE-488.2 interface. This
computers to communicate with such instruments.
standard has been adopted by many analytical instrument
makers and is used by them as the interface standard for
6. Procedure
spectroscopy even when the instrument interface is RS-232c.
6.1 RS232C Communications Parameters—The following
1.2 This standard does not purport to address all of the
serial communications parameters are supported:
safety concerns, if any, associated with its use. It is the
Baud rates 1200 bps
responsibility of the user of this standard to establish appro-
2400 bps
priate safety and health practices and determine the applica-
4800 bps
9600 bps
bility of regulatory limitations prior to use.
19200 bps
Character length 8 bits
2. Referenced Documents
Stop bits 1 bit
2.1 ASTM Standards: Parity None
X parameter Not used
E 284 Terminology of Appearance
6.2 Universal Serial Buss (USB) Communications
3. Terminology
Parameters—USB 1.1 Specification, or higher, at a transfer
3.1 Terms and definitions in Terminology E 284 are appli-
rate not less than 1.5 Mb/s is supported for USB compatible
cable to this practice.
devices.
6.3 Delimiter Codes—Any of the following three ASCII
4. Summary of Practice
codes may terminate any command to the instrument:
4.1 The practice provides a minimal set of commands to be
Carriage return
issued to the instrument by the host computer and the argu- Line feed
Carriage return and line feed
ments of these commands. It standardizes the instrument’s
acknowledgement, the data format, and the error messages the
6.3.1 The instrument will automatically terminate its replies
instrumentwillreturnfromsuchcommand.Thecommandsare
with the user-selected delimiter. The symbol , implying
that any of the three may be used, will denote further
occurrences of the delimiter in this practice.
This practice is under the jurisdiction of ASTM Committee E12 on Color and
6.4 Error Codes—All of the following error codes are
Appearance and is the direct responsibility of Subcommittee E12.04 on Color and
supported by the practice:
Appearance Analysis.
Current edition approved July 10, 2002. Published September 2002.
OK00 Command performed successfully
Standard Commands for Programmable Instruments is an industrial consensus
OK02 Low lamp light
standard and is under the control of the SCPI Consortium, 8380 Hercules Drive,
OK99 Calibration coefficients out-of-limit
Suite P3, La Mesa, CA 91942.
ER00 Command not understood
Annual Book of ASTM Standards, Vol 06.01.
Copyright © ASTM International, 100 Barr Harbor Drive, PO Box C700, West Conshohocken, PA 19428-2959, United States.
E2222
ER02 Illumination circuit still charging
b = area of view during last calibration; codes same as
ER07 Instrument not calibrated CPS command
c = white cal status, 0 = yes, 1 = not yet
For codes beginning with OK, the command has been
d = zero cal status; 0 = yes, 1 = not yet
completed.ForcodesbeginningwithER,thecommandhasnot
Benchtop instruments to which the battery status is inappli-
been performed. Instrument manufacturers may assign any
cable reply witha=0.
meaning desired to unused codes, but such codes may not be
6.5.6 Upload Measurement Status—The host computer’s
interpreted by third-party software.
command to the instrument is:
6.5 Commands and Replies—The following commands and
CPR<
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.