Transferring a host file to multiple micros – Nlynx ETU400 User Manual

Page 109

Advertising
background image

ETU400 User Guide 011603

9-5

Using PWRTO3XB

In order to send files from multiple micros to the same host library

using PWRTO3XB with the TOFILE(*MULTI) option, you must rename any files

sent in a first transfer before performing a second transfer.

This procedure is necessary because when files are transferred from

multiple micros to a single micro, the resulting file names on the

destination micro are the device names from which the data was

transferred. For example, a file sent from Device 1 will end up on the

receiving micro as a file named device1. A file sent from Device 2 will

be nameddevice2.

Because of this naming convention, any files sent in a second file

transfer (from the same-named micros to the same host library) will end

up with exactly the same names as the files sent in the first transfer

(device 1, device 2, etc.). As a result, the files sent in the second

transfer will overwrite the data sent in the first transfer.

In addition, with PWRTO3XB you may also use the option to delete the

micro file after transfer to the host, in which case, after a second

transfer the data from the first transfer will no longer exist on either

the micro or the host.

There are two ways to avoid copying over files in the second transfer:

You must either use the host function to rename the first files sent to

the host, or specify the option ADDRPL (*ADD). Note that ADDRPL (*ADD)

combines data from multiple micro files in a single data file on the

host.

Advertising