![Agilent Technologies N5340A Скачать руководство пользователя страница 31](http://html.mh-extra.com/html/agilent-technologies/n5340a/n5340a_installation-manual_2868707031.webp)
Getting Started
4
Installation Guide
31
AgtInvoke AgtTestSession OpenSession ObsaiExerciser
AGT_SESSION_ONLINE
In the above command:
•
AgtInvoke
is the primary API command used to interact with
OBSAI Protocol Tester. Its syntax is
AgtInvoke <object>
<method> <params>.
Where,
<object>
is an object in the OBSAI
system,
<method>
is one of the many actions that you can perform
on
<object>
, and
<params>
are the parameters required/returned
by
<method>
.
•
AgtTestSession
is an interface that provides methods to open and
close an OBSAI session.
•
OpenSession
is a method used to create a new session. This
method takes
<sessionType>
and
<sessionMode>
parameters, and
returns
<sessionHandle>
parameter.
•
ObsaiExerciser
is a
<sessionType>
parameter.
•
AGT_SESSION_ONLINE
is a
<sessionMode>
parameter.
5
Specify the following command to add a port to the session:
AgtInvoke AgtPortSelector AddPort 101 1
This command creates a new session, and returns you the unique
session id, such as
1
.
In the above command:
•
AgtPortSelector
is an interface that provides methods to reserve
ports for the current test session. As ports are added, modules are
locked for exclusive use by the session.
•
AddPort
is a method used to add a port to the current session. It
takes
<moduleNum>
and
<portNum>
, and returns
<portHandle>
.
•
101
is a module number.
•
1
is a port number.
6
Specify the following to join the session you just created:
AgtInvoke AgtConnect 1
Where,
•
1
is the unique session id returned to you in Step 5.
Содержание N5340A
Страница 1: ...Agilent Technologies Agilent OBSAI Protocol Tester Installation Guide ...
Страница 5: ...Installation Guide 5 Environmental Information ...
Страница 10: ...10 Installation Guide 1 Introduction ...
Страница 33: ...Installation Guide 33 ...
Страница 34: ...Agilent Technologies Copyright Agilent Technologies 2008 Printed in Germany July 2008 ...