![VXI GPIB-VXI Скачать руководство пользователя страница 104](http://html1.mh-extra.com/html/vxi/gpib-vxi/gpib-vxi_user-manual_1057860104.webp)
Local Command Set
Chapter 3
GPIB-VXI User Manual
3-62
© National Instruments Corporation
DCISetupPI?
Purpose:
Set up parameters for a PI DCI download.
Query
Syntax:
DCISetupPI? <logical address>, <commander's logical
address>, <dynamic RAM size>, <stack size>,
[, <servant1>, [<servant2>,..., <servant
N>]]
The
DCISetupPI?
query provides the GPIB-VXI with the information it needs
to prepare for executing a
DCIDownLdPI
command. This command is provided
as a separate operation from the
DCIDownLdPI
command so that the download
parameters can be validated before the object code download is initiated.
The GPIB-VXI interprets the
DCISetupPI?
query parameters as follows:
• The PI DCI is to be assigned logical address
<logical address>
, and
granted to the commander at
<commander's logical address>
as a
servant.
• Up
to
<dynamic RAM size> bytes
of PI DCI code and data are to be
loaded into a pSOS dynamic RAM segment allocated when the
DCIDownLoadPI
command is sent.
• A stack of size
<stack size>
words is to be allocated for the CI worker
process. If
<stack size>
is less than 1024, a stack size of 1024 words
(2K) is to be allocated for the CI.
•
<servant1>
through
<servant
N>
are to be granted to the CI as servants.
Any GPIB secondary address links to
<servant1>
,
<servant2>
through
<servant
N>
must be disconnected before the PI DCI is downloaded. The links
can be deleted by using the
SaDisCon
or
LaSaddr
commands.
Response:
Program
response:
0
<CRLF>
0
is returned to report the successful completion of the
DCISetupPI?
command. Any errors are reported in the form of an error code.
Console
response:
PI DCI parameters OK, Ready to download.
<CRLF>