Model 621 User’s Manual APPLICATION PROGRAMMING INTERFACE (API)
Bristol Instruments, Inc. 31
Detailed examples
Note that byte offset and byte value fields are represented in hexadecimal values.
Request Wavelength (Read Back Lambda 1): Direction: APC DSPB
Generic message start identifier
Unique message identifier
Sequential message identifier
Pad to word boundary (2 bytes)
Response example: actual bytes sent and bytes received from wavelength meter
using message 0x45, Read Back Lambda 1 (response wavelength = 0):
WRITE Length 9 bytes: 7E 45 06 40 07 00 00 05 01
READ Length 17 bytes: 7E 6B 35 63 B5 08 00 00 80 00 00 00 00 00 00 00 00
Request Power: Direction: APC DSPB
Generic message start identifier
Unique message identifier
Sequential message identifier
Pad to word boundary (2 bytes)
Response example: actual bytes sent and bytes received from wavelength meter
using message 0x40, Request Power:
WRITE Length 9 bytes: 7E 40 03 52 03 00 00 12 00
READ Length 15 bytes: 7E 68 84 2F B1 06 00 20 A8 86 01 C7 3E 20 A2