EasyManuals Logo

THORLABS TSP01 User Manual

THORLABS TSP01
39 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #27 background imageLoading...
Page #27 background image
© 2018 Thorlabs
4 Write Your Own Application
25
Executable sample demo:
C:\Program Files\IVI Foundation\VISA\WinNT\TLTSP01\Examples…
…\MS.NET_CS\Output\TSP01_CSharp_Sample.exe
Example for LabView
C:\Program Files\National Instruments\LabVIEW xxxx\Instr.lib\TLTSP…
…\TLTSP.llb
(LabVIEW
container file with driver vi's and an example. "LabVIEW xxxx" stands for actual
LabVIEW
installation folder.)
4.2.2 Command Reference
Note
This command reference is only applicable when writing you own applications for previous-revi-
sion TSP01 sensors without the RevB label on the bottom.
4.2.2.1 IEEE488.2 Common Commands
Common commands are device commands that are common to all devices according to the
IEEE488.2 standard. These commands are designed and defined by this standard. Most of the
commands are described in detail in this section. The following common commands associated
with the status structure are covered in the “Status Structure” section: *CLS, *ESE, *ESE?,
*ESR?, *SRE, *SRE?, *STB?
Command summary
Mnemonic
Name
Description
*CLS
Clear status
Clears all event registers and Error Queue
*ESE <NRf>
Event enable command
Sets the Standard Event Enable Register
*ESE?
Event enable query
Returns the Standard Event Enable Register
*ESR?
Event status register query
Returns and clear the Standard Event Register
*IDN?
Identification query
Returns the unit’s identification string
*OPC
Operation complete command
Sets the Operation Complete bit in the Standard Event Re-
gister
*OPC?
Operation complete query
Places a “1” into the output queue when all device opera-
tions have been completed
*RST
Reset command
Returns the unit to the *RST default condition
*SRE <NRf>
Service request enable command
Sets the Service Request Enable Register
*SRE?
Service request enable query
Returns the Service Request Enable Register
*STB?
Status byte query
Returns the Status Byte Register
*TST?
Self-test query
Performs the unit’s self-test and returns the result.
*WAI
Wait-to-continue command
Waits until all previous commands are executed
Command reference
1. *IDN? – identification query - read identification code
The identification code includes the manufacturer, model code, serial number, and firmware re-
vision levels and is sent in the following format: THORLABS,MMM,SSS,X.X.X
Where: MMM is the model code
SSS is the serial number
X.X.X is the instrument firmware revision level
2. *OPC – operation complete - set OPC bit

Other manuals for THORLABS TSP01

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS TSP01 Specifications

General IconGeneral
BrandTHORLABS
ModelTSP01
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals