⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 无线带反馈条码枪7500W的系统备份、恢复软件
💻 TXT
📖 第 1 页 / 共 3 页
字号:
 +L timeoutlength      Sets the timeout length.                       +L30
                       +Ln   n=0 to 65535
                       Specification of +0 performs no timeouts.
                       Specification of +L makes the default timeout
                       length (30 seconds) active.

----  If the same option is set more than one time with different
NOTE  specifications, the most recently one has the highest priority.
----  Defaults listed in the above option table will apply only when no
      initialization file (IT3CW32.INI) exists. If the initialization file
      exists, the setting conditions stored in the file will apply by default.


4. Revision of Manual
---------------------

(1) Modification of file format description

    Ir-Transfer Utility C Guide (First Edition) pp. 5 and 6
    1.3 File Format Which Ir-Transfer Utility C Can Handle


    1.3 File Format Which Ir-Transfer Utility C Can Handle

    1.3.1 User Program Files

    Ir-Transfer Utility C treats MS-DOS file having the extension .PD3 as user
    program files (object program files). You may develop those files by using
    the BHT-BASIC 3.0 Compiler.

    As shown below, each record in a user program file is fixed to 128 bytes
    in length except for the last record and suffixed by a set of CR and LF
    codes (CR-LF codes), 0Dh and 0Ah.

                         Record length (128 bytes)
                |<------------------------------------->|
                +---------------------------------------+--+--+
      Record ---|                                       |CR|LF|
                +---------------------------------------+--+--+
                |                                       |CR|LF|
                +---------------------------------------+--+--+
                |            Program data               |CR|LF|
                +---------------------------------------+--+--+
                |                                       |CR|LF|
                +---------------------------------------+--+--+
                |                                       |CR|LF|
                +------------------------+--------------+--+--+
                |                        |
                +------------------------+

    In downloading a program file, if the actual length of the last record is
    less than 128 bytes, the blank bytes (128 bytes minus last record length)
    will be zero-filled so that every record in program files received in the
    BHT becomes 128 bytes long.

                         Record length (128 bytes)
                |<------------------------------------->|
                +---------------------------------------+--+--+
                |                                       |CR|LF|
                +---------------------------------------+--+--+
                |                                       |CR|LF|
                +---------------------------------------+--+--+
                |                                       |CR|LF|
                +------------------------+--------------+--+--+
                |                        |
                +------------------------+

                                   |
                                   |  In downloading
                                   V

                         Record length (128 bytes)
                |<------------------------------------->|
                +---------------------------------------+
                |                                       |
                +---------------------------------------+
                |                                       |
                +---------------------------------------+
                |                                       |
                +------------------------+--------------+
                |                        |  Zero codes  |
                +------------------------+--------------+

    ----
    NOTE  In the BHT-Ir protocol, CR-LF codes as a record separator in data
    ----  will be removed before start of file transmission.

    ----  When receiving downloaded user programs, the BHT packs two-byte
    TIP   ASCII characters each into two 4-bit hexadecimal codes in a single
    ----  byte, for improving the BHT performance and memory availability.


    1.3.2 Data Files

    Ir-Transfer Utility C treats MS-DOS files having an extension other than
    .PD3, .FN3, and .EX3 as data files.

    As shown below, each record in a data file consists of one or more fields
    and should be suffixed by a set of CR and LF codes (CR-LF codes), 0Dh and
    0Ah. An EOF (1Ah) code can be omitted. 

    Data files can be made up of not only ASCII text characters but also
    arbitrary characters (00h to FFh).

                                Record length
                |<------------------------------------------->|
                +-----------+-----------+- - - - -+-----------+--+--+
      Record ---|  Field 1  |  Field 2  |         |  Field n  |CR|LF|
                +-----------+-----------+- - - - -+-----------+--+--+
                |           |           |         |           |CR|LF|
                +-----------+-----------+- - - - -+-----------+--+--+
                |           |           |         |           |CR|LF|
                +-----------+-----------+- - - - -+-----------+--+--+
                |           |           |         |           |CR|LF|
                +-----------+-----------+- - - - -+-----------+--+--+
                |           |           |         |           |CR|LF|
                +---+-------+-----------+- - - - -+-----------+--+--+
                |EOF|
                +---+

    To download data files, you need to type the folder and file names.
    Next, in the Field Length dialog box, type the desired field lengths.

    Each field should be 1 to 254 digits in length and the number of fields
    should be 1 to 16. The total field length (record length) plus the number
    of fields should be 255 or less.

    ----  You may designate field lengths in a file having the same file name
    TIP   as a file to be downloaded and the extension .FLD in the folder
    ----  where a file to be downloaded resides. If a data file is uploaded,
          Ir-Transfer Utility C will automatically create a field definition
          file (which has the same name as the uploaded file and the FLD
          extension) in the folder where the uploaded file is stored.
          For the FLD file format, refer to "Ir-Transfer Utility C Guide,"
          Subsection 3.1.3, "Specifying Options, [2] Specifying Options, (3)
          By creating an FLD file containing the field option" or Subsection
          3.2.4, "Start of File Transmission."



    [] If the actual record length is different from the specified record
       length

    In downloading a data file, if the actual record length is less than the
    specified record length, the blank bytes will be filled with space codes
    (20h); if it exceeds the specified record length, the excess will be
    discarded.

    |<--  Specified record length  -->|
    +---------------------------------+--+--+
    |    Record 1                     |CR|LF|       <- Equal to the specified
    +----------------+--+--+----------+--+--+          record length
    |    Record 2    |CR|LF|                        <- Less than the specified
    +----------------+--+--+----------------+--+--+    record length
    |    Record 3                           |CR|LF| <- Exceeds the specified
    +---------------------------------------+--+--+    record length

                       |
                       V

    |<--  Specified record length  -->|
    +---------------------------------+
    |    Record 1                     | <-- As it was.
    +----------------+----------------+
    |    Record 2    |      Space     | <-- Blank bytes are filled with
    +----------------+----------------+     space codes.
    |    Record 3                     | <-- Excess data is discarded.
    +---------------------------------+



    [] Handling CR-LF codes in records

    Ir-Transfer Utility C can handle all characters 00h to FFh as data;
    however, it usually interprets CR-LF codes in records as a record
    separator. If a record in a data file to be transmitted contains
    CR-LF codes, therefore, Ir-Transfer Utility C will divide the record
    according to the record separator as shown below.

        |<---------  Specified record length  ----------->|
        +----------------+--+--+--------------------+--+--+
        |   Record n1    |CR|LF|     Record n2      |CR|LF|
        +----------------+--+--+--------------------+--+--+

                           |
                           V

        |<-------  Specified record length  ------->|
        +----------------+--------------------------+
        |   Record n1    |          Spaces          |
        +----------------+---+----------------------+  <-- Divided into two
        |   Record n2        |      Spaces          |      blocks in
        +--------------------+----------------------+      transmission

    To handle CR-LF codes as data, specify the +C option or click the check
    box of the "Handle CR-LF in Records as Data" in the Options for
    Communications dialog box to select the option. CR-LF codes in records
    will be transmitted as data as shown below.

        |<---------  Specified record length  ----------->|
        +----------------+--+--+--------------------+--+--+
        |   Record n1    |CR|LF|     Record n2      |CR|LF|
        +----------------+--+--+--------------------+--+--+

                           |
                           V

        |<------  Specified record length   ------->|
        +----------------+--+--+--------------------+
        |   Record n1    |CR|LF|     record n2      |  <-- Transmitted in a
        +----------------+--+--+--------------------+      single block

    Even if you specify the +C option or select the "Handle CR-LF in Records
    as Data" option, you should use CR-LF codes as a record separator.
    If there is any record whose length is less than or more than the
    specified record length in a file, an error (error code 76) will occur
    and the transmission will be aborted.

    For details about the Options for Communications dialog box, refer to (6)
    in this section and "Ir-Transfer Utility C Guide," Subsection 3.2.3,
    "Operation Procedure, [1] Specifying the communications options."

    ----  To download data files containing CR-LF codes in records to the BHT:
    NOTE  At the host computer, you need not only to select the Handle CR-LF
    ----  in Records as Data option or specify +C option in Ir-Transfer Utility
          C, At the BHT, but also set the [2:Data] on the space code handling
          screen in System Mode (or in BHT-BASIC 3.0, specify the T option
          to "protocolspec" in the XFILE statement) in order to handle space
          codes in the tail of a data field as data.

          If the [1:Ignore] is selected (or no T option is specified), the BHT
          will ignore space codes in the tail of a data field so that data
          will not be transferred correctly.

          (For [2:Data] setting, refer to the "Ir-Transfer Utility C Guide,"
          Section 2.1, "Setting up the BHT in System Mode, [1] Setting the
          Communications Parameters, (3.2) Space code handling screen."
          For T option setting in the XFILE statement, refer to the "BHT-BASIC
          3.0 Programmer's Manual."


(2) Supplements to the space code handling screen

    Ir-Transfer Utility C Guide (First Edition) p. 15
    2.1 Setting up the BHT in System Mode
    [1] Setting the Communications Parameters
    (3.2) Space code handling screen

    ----  To download data files containing CR-LF codes in records to the BHT,
    NOTE  select [2:Data].  If you have selected the Handle CR-LF in Records
    ----  as Data option or specify +C option in Ir-Transfer Utility C, every
          record in a data file should be fixed in length.  This means that

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -