RemoteSlaveFile¶
-
MLModule¶ genre Remoteauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll MLRemoteFileTransferdefinition MLRemoteFileTransfer.def see also RemoteMasterFilekeywords transfer
Purpose¶
The module RemoteSlaveFile enables file transfers to and from remote modules executed on a different computer.
Usage¶
This module’s input must be connected with the output of a RemoteMasterFile module.
It will receive a file name from its master, which will be translated into a temporary file name. One can receive these files from the master but also send files to the master if they are written in the location specified by File Name.
Details¶
The RemoteMasterFile module is normally executed locally, while the RemoteSlaveFile is executed remotely.
If a file/directory name is set in the RemoteMasterFile module, an appropriate temporary file/directory name is created in the slave module.
If Send is selected, the file/directory (optionally with all its contents) is sent to the counterpart module.
If With partners is set, all files/directories with the same base name (up to the first dot) are transmitted also.
If the master module transmits files, one must attach a field listener to the Received from Master! field to react to this condition, since this is an asynchronous operation.
Note that the temporary directory is removed when the master is disconnected (but not if the file name is changed).
Parameter Fields¶
Visible Fields¶
File Name¶
-
name:fileName, type:String, persistent:no¶ Shows a temporary file or directory name base of the file name set in the master.
Send¶
-
name:send, type:Trigger¶ When pressed, all files/directories covered by
File NameandWith partnersare being transmitted.