
SVC HR-1024i / HR-768i / HR-640i / HR-768si / HR-512i USER MANUAL REV 1.12
A P P E N D I C E S
9 9
9 9
9 9
9 9
Appendix H – Instrument Remote Access
GENERAL PROTOCOL DESCRIPTION
The PC Data Acquisition Program can act as the access point that will allow a customer to remotely control the
instrument from a custom software application. The access allows the customer's software to:
•
trigger a reference or target scan
•
receive the results of a target scan
•
control spectrometer settings (fore-optic selection, scan timing, scan integration)
In order to control the instrument, the PC Data Acquisition Program acts as a network server. This network server
function listens for TCP/IP socket connections from the customer's (client) software. The customer's client
software sends trigger commands to the server, and receives responses and spectral data from the server.
Functionally, the operator first uses the PC Data Acquisition Program in the standard way - connect to the
instrument and set the desired scan parameters (Scan Time, Integration, Auto Dark, Optic, Overlap/Matching, etc).
Once the desired scan parameters are set, the operator causes the PC Data Acquisition Program to enter into its
“Remote Server” listening mode. At this point, the customer's client software is able to connect via a TCP/IP
network socket and remotely control the instrument.
See the description of the Remote Access Tool in
Section 2 – PC Data
Acquisition Software
for specific controls and
descriptions on how to setup the PC Data Acquisition Software to act as a remote server.
DETAILED PROTOCOL DESCRIPTION
All the client/server communication uses simple human-readable ASCII commands and responses.
The client and server software may reside on the same (Windows) computer, or may reside on different computers
that are connected via a TCP/IP network.
The PC program accepts and responds to the following commands from remote clients that want to remotely
control the connected instrument:
Reference Scan Command
Command
: "R
a
<cr>" - This one-parameter command triggers a reference scan acquisition in the instrument.
Parameter “
a
” (the scan sub-type) – determines the characteristics of the Reference scan, per these values:
0
– acquire a normal scan – the spectroradiometer acquires both dark and light data; the dark is subtracted from
the light, and the resulting values are used as the reference.
1
– acquire a special light-only scan – the spectroradiometer acquires light data only; the dark data from a prior
scan is subtracted from the light data, and the resulting values are used as the reference. Note that a prior normal
scan must have previously been acquired by the spectrometer. Note also that this scan sub-type may not produce as
accurate results as the normal scan, where dark/light data are both acquired.
Example:
“R 0<cr>” – acquire a normal reference scan.
Example:
“R 1<cr>” – acquire a special reference scan.
Содержание SVC HR-1024i
Страница 2: ......
Страница 113: ...SVC HR 1024i HR 768i HR 640i HR 768si HR 512i USER MANUAL REV 1 12 A P P E N D I C E S 1 0 8 1 0 8 1 0 8 1 0 8...
Страница 115: ...SVC HR 1024i HR 768i HR 640i HR 768si HR 512i USER MANUAL REV 1 12 A P P E N D I C E S 1 1 0 1 1 0 1 1 0 1 1 0...
Страница 117: ...SVC HR 1024i HR 768i HR 640i HR 768si HR 512i USER MANUAL REV 1 12 A P P E N D I C E S 1 1 2 1 1 2 1 1 2 1 1 2...