![DBM ACE9600 Скачать руководство пользователя страница 35](http://html.mh-extra.com/html/dbm/ace9600/ace9600_programmers-manual_516497035.webp)
Advanced Channel Emulator
dBm
Programmer’s Manual
ACE9600
35
Abort File Transfer
<filename>
Function:
Informs the instrument that downloading is terminating before completion.
Returns:
Nak:
<error message>
or
Ack: File Transfer Aborted
Where:
<error message>
Descriptive text describing cause of error
<filename>
Filename
Notes:
The
Abort File Transfer
command is sent through the control port of
the instrument, and the acknowledgement or Nak comes through the control
port.
File Download Protocol Example
The protocol (Figure 1 and Figure 31) for downloading a dynamic data file begins with
the client application sending the
Open DataPort
command to the instrument's
Control Port. Upon receiving acknowledgment back from the Control Port, the client
application opens a socket and connects to the Data Port of the instrument. Upon
successfully connecting to the Data Port, the client application then sends the
Begin
File Transfer
command to the instrument's Control Port. Upon receiving an
acknowledgment back from the Control Port, the client application sends segments of
binary to the Data Port. Each data segment that is sent on the Data Port will generate a
text response on the Control Port. After the last segment has been sent to the Data Port,
the client application sends the
End File Transfer
command to the Control Port.
Once the acknowledgment is received through the Control Port, another file transfer
may begin. After completing all downloads, the client application sends the
Close
DataPort
command to the Control Port. Upon receiving acknowledgment back from
the Control Port, the client application must close the data port connection.
Uploading a Binary Dynamic Data File
The commands described in this section are related to uploading a binary dynamic data
file from the instrument. Text commands are sent to the control port and binary data is
sent from the data port.
Beginning the File Upload
Syntax:
Begin File Uptransfer
<filename>
Function:
Informs the instrument that uploading will begin.
Returns:
Содержание ACE9600
Страница 43: ...Advanced Channel Emulator dBm Programmer s Manual ACE9600 43 Figure 1 File Download Protocol ...
Страница 60: ...60 dBm Advanced Channel Emulator ACE9600 Programmer s Manual File Manager Tab ...
Страница 66: ...66 dBm Advanced Channel Emulator ACE9600 Programmer s Manual File Manager Tab ...
Страница 90: ...90 dBm Advanced Channel Emulator ACE9600 Programmer s Manual print Closing control port controlport close ...