![Coherent Solutions MTP-1000 Скачать руководство пользователя страница 32](http://html1.mh-extra.com/html/coherent-solutions/mtp-1000/mtp-1000_user-manual_2634921032.webp)
Modular Variable Optical Attenuator
|
VOA
Blade
Coherent Solutions
|
VOA
Blade (V1.4
)
38
13 Programming Guide
Introduction
Remote communication with the MTP1000 is achieved through the Standard Commands for Programmable
Instruments (SCPI). Support for VISA I/O API over TCP/IP is provided by a VXI-11 server running internally
on the MTP1000. With VISA communication drivers installed on the client, the implementation of VISA
programming within environments such as MATLAB becomes available. This guide provides general
information on the commands available to communicate with the MTP1000 remotely using the VISA I/O.
13.1 Programming Conventions
This section details the programming and measurement conventions to follow while executing the
commands for the MTP1000.
Table 1 - Valid Units and Data Formats
Parameter Default Unit Alternative Units
Power
Frequency
Frequency (Fine)
Wavelength
dBm
Hz
Hz
m
mdBm
THz, GHz, MHz, kHz
THz, GHz, MHz, kHz
nm, pm
Argument Data Format
<wsp>
<value>
[VALUE1|VALUE2]
Specifies whitespace character (01
16
– 09
16
, 0B
16
– 20
16
).
Is numerical data, an integer, a decimal, exponential (10e-9 or 5.8e6) or string
This is a parameter choice. The ‘
|
’ separates the unique parameters available,
only one of the choices can be used.
In the example you can use the input parameter [
VALUE1
] or [
VALUE2
] not
both.
Some commands may have more than two choices available.
This parameter can be omitted where the command has a default defined in the
command description.
Index Addressing of Modules (slot, source) and VOA’s (channel)
When executing commands, it is almost always necessary to provide the index of a specific VOABlade
module or an index of a specific attenuator.
For the commands that require index values:
[n]
: is the slot (or source) index of the specific module, this is an integer, <1 to 9>
[m]
: is the channel index of a specific attenuator, this is an integer, <1 to 4>
Message Queues
Information is exchanged in the form of messages. These messages are held in input and output queues.
The output queue stores responses to query commands. The MTP1000 transmits any data in the output
queue when a read request is received. Unless explicitly specified otherwise in the command description, all
output response data is transmitted in ASCII format.
Содержание MTP-1000
Страница 1: ......
Страница 49: ...V1 2 ...