<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=NOOP</id>
	<title>NOOP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=NOOP"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=NOOP&amp;action=history"/>
	<updated>2026-04-10T11:09:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=NOOP&amp;diff=701&amp;oldid=prev</id>
		<title>ConvertBot: copies an input to an output (File,Socket,HTTP, UDP)</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=NOOP&amp;diff=701&amp;oldid=prev"/>
		<updated>2020-04-27T22:04:31Z</updated>

		<summary type="html">&lt;p&gt;copies an input to an output (File,Socket,HTTP, UDP)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;copies an input to an output (File,Socket,HTTP, UDP)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;IN&amp;gt;  - Input file or pipe name&lt;br /&gt;
&amp;lt;OUT&amp;gt; - Output file or pipe name&lt;br /&gt;
&lt;br /&gt;
NOOP moves data from one Midas file/stream to another.  A stream may consist&lt;br /&gt;
of a file, Socket (STP), UDP packets, HTTP&lt;br /&gt;
&lt;br /&gt;
NOOP can be used to improve efficiency by buffering data from a file into&lt;br /&gt;
a pipe that may have multiple readers, or writing to a file whose source&lt;br /&gt;
may have small natural transfer lengths.&lt;br /&gt;
&lt;br /&gt;
The /RT or /THROTTLE= switch can be applied to simulate a throttled data source.&lt;br /&gt;
In FULL mode, the primitive runs as fast as it can.  In REALTIME mode the data&lt;br /&gt;
is throttled to be processed at the rate defined in the input file header.&lt;br /&gt;
In the BLOCK mode, no data is processed.  The timing source is the CPU.&lt;br /&gt;
&lt;br /&gt;
The /PACKET=name switch will strip the packet headers from the input file&lt;br /&gt;
into the named file.  The output file will contain just the raw data.&lt;br /&gt;
&lt;br /&gt;
The /GPW switch invokes a Graphical Progress Widget with RUN, PAUSE, and EXIT&lt;br /&gt;
buttons to control or abort a file-to-file transfer.&lt;br /&gt;
&lt;br /&gt;
The /RATEWINDOW=T switch specifies the time window T (in seconds) over which&lt;br /&gt;
the rate control is applied.  The minimum value is 10 milliseconds and the&lt;br /&gt;
default is 1.0 seconds.  This switch is only meaningful when the /RT switch&lt;br /&gt;
has been specified, which activates the transfer throttling.  The throttle&lt;br /&gt;
rate will be the rate in the header unless another value was specified via the&lt;br /&gt;
/RATE switch.  Note that a very short rate window may result in an actual&lt;br /&gt;
transfer rate that is less than the specified rate.&lt;br /&gt;
&lt;br /&gt;
NOOP can reformat data as follows:&lt;br /&gt;
  nM&amp;gt; waveform temp&lt;br /&gt;
  nM&amp;gt; noop temp tempsd{format=sd}&lt;br /&gt;
This converts the SF format file temp to the SD format file tempsd.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
  1. Make a local copy of a file&lt;br /&gt;
    nM&amp;gt; noop localfile localfilecopy&lt;br /&gt;
&lt;br /&gt;
  2. Copy a file to a socket&lt;br /&gt;
    nM&amp;gt; noop filetocopy stp://localhost:9999&lt;br /&gt;
&lt;br /&gt;
  3. Copy the socket stream above into a file&lt;br /&gt;
    nM&amp;gt; noop stp://localhost:9999 filecopy&lt;br /&gt;
&lt;br /&gt;
  4. Copy a file using the named port to a remote UDP port&lt;br /&gt;
    nM&amp;gt; noop filetocopy udp://7001/remotehost:9001&lt;br /&gt;
&lt;br /&gt;
  5. Copy data from the named UDP port into a file&lt;br /&gt;
    nM&amp;gt; noop udp://9001 localfile&lt;br /&gt;
&lt;br /&gt;
  6. Copy a file from a webserver at a specified peak transfer rate&lt;br /&gt;
    nM&amp;gt; noop/rt/rate=1M http://computer:port/Files/Aux/file2xfer.tmp localfile&lt;br /&gt;
&lt;br /&gt;
  7. Using RMIF as the transfer mechanism, copy a file from a remote server&lt;br /&gt;
    nM&amp;gt; noop mftp://computer:port/world.prm localworld&lt;br /&gt;
    NOTE: This will only work with RMIF running on &amp;lt;computer:port&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  8. Copy file from webserver using a proxy host and port.&lt;br /&gt;
    nM&amp;gt; noop http://webserver/file.prm{PROXYHOST=proxyhost,PROXYPORT=80} tempxxx&lt;br /&gt;
&lt;br /&gt;
Messages:&lt;br /&gt;
  Receive:&lt;br /&gt;
    PROGRESS - Handle a progress message to change state with&lt;br /&gt;
               DATA=RESUME,PAUSE,EXIT&lt;br /&gt;
  Send: NONE&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /GPW          - Show Graphical Progress Widget of transfer status (usually&lt;br /&gt;
                  used when downloading a file from a server) [DEF=not present]&lt;br /&gt;
  /PACKET=name  - Strip packet headers into the named file [DEF=not present]&lt;br /&gt;
  /RATE=N       - Throttle transfer to N bytes/sec [DEF=as fast as possible]&lt;br /&gt;
  /RATEWINDOW=T - Specifies the time window T (in seconds) over which&lt;br /&gt;
                  the rate control is applied (requires /RT switch) [DEF=1]&lt;br /&gt;
  /RT           - Use CPU clock to release data at the input file's rate.&lt;br /&gt;
                  [DEF=FALSE]&lt;br /&gt;
  /SIZE=n       - Size in logical elements of output file. [DEF=input size,&lt;br /&gt;
                  unless /WRAP]&lt;br /&gt;
  /START=off    - Start offset in logical elements of input file [DEF=0]&lt;br /&gt;
  /THROTTLE=&amp;lt;mode&amp;gt;  - Data Throttle Mode (RealTime|Full|Block). Overrides /RT.&lt;br /&gt;
  /TL           - Number of elements (not bytes) to transfer in each process loop&lt;br /&gt;
                  [DEF=number of elements in 32768 bytes, rounded down]&lt;br /&gt;
  /WRAP         - Automatic continuous reread at the end of input file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>