26 Communication with a PC
_________________________________________________________________________________
______________________________________________________________________________________________________
© 2012 Thorlabs
4.3 Software standard IEEE 488.2
4.3.1 Nomenclature
Program messages (PC
PRO8000) are written in inverted commas:
"*IDN?"
Response messages (PRO8000
PC) are written in brackets:
:SLOT 1
There is a decimal point
1.234
Parameters are separated with comma:
"PLOT 2,0"
Commands are separated with semicolon:
*IDN?;*STB?"
4.3.2 Program and response messages
Messages are transferred in two directions between the PRO8000 (-4) / PRO800 and
the PC. Before the PRO8000 (-4) / PRO800 can send a message to the PC the PC
must send a status read query (a command ending with a quotation mark) to specify,
what information shall be transferred.
With the next read command, this information is transferred from the PRO8000 (-4) /
PRO800 to the controller.
Program messages
Messages from the PC to the PRO8000 (-4) / PRO800 are called program
messages.
With program messages, settings are effected (command) at the PRO8000 (-4) /
PRO800 and response messages are selected (status read query).
Examples:
":SLOT 2"
selecting a slot (command)
"*IDN?"
request the identification (status read query)
Response messages
Messages from the PRO8000 (-4) / PRO800 to the PC are called response
messages.
With response messages, measurement values and status information is transferred
to the PC.