![Coherent Solutions SwitchBlade Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/coherent-solutions/switchblade/switchblade_user-manual_2634924025.webp)
Modular Optical Switch
|
SwitchBlade
Coherent Solutions
|
SwitchBlade
(V1.4)
21
11
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.
11.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
Argument
Data Format
<wsp>
Specifies whitespace character (01
16
– 09
16
, 0B
16
– 20
16
).
<value>
Is numerical data, an integer, a decimal, exponential (10e-9 or 5.8e6) or string
[VALUE1|VALUE2]
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 Switch (channel)
When executing commands, it is almost always necessary to provide the index of a specific SwitchBlade
module or an index of a specific switch.
For the commands that require index values:
[n]
: is the slot (or source) index of the specific blade module, this is an integer, <1 to 9>
[m]
: is the channel index of a specific switch, this is an alphanumeric, <1,2,3,4 or A,B,C,D> can be used.
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.
Содержание SwitchBlade
Страница 1: ......
Страница 40: ...V1 4...