<?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=SOURCEPIC</id>
	<title>SOURCEPIC - 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=SOURCEPIC"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=SOURCEPIC&amp;action=history"/>
	<updated>2026-04-07T23:27:07Z</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=SOURCEPIC&amp;diff=636&amp;oldid=prev</id>
		<title>ConvertBot: Manage ICEPIC acquisition into a Midas file/pipe</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=SOURCEPIC&amp;diff=636&amp;oldid=prev"/>
		<updated>2020-04-27T19:19:31Z</updated>

		<summary type="html">&lt;p&gt;Manage ICEPIC acquisition into a Midas file/pipe&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:19, 27 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l298&quot; &gt;Line 298:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 298:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:ICE_Explain]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=SOURCEPIC&amp;diff=593&amp;oldid=prev</id>
		<title>ConvertBot: Manage ICEPIC acquisition into a Midas file/pipe</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=SOURCEPIC&amp;diff=593&amp;oldid=prev"/>
		<updated>2020-04-27T18:59:45Z</updated>

		<summary type="html">&lt;p&gt;Manage ICEPIC acquisition into a Midas file/pipe&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Manage ICEPIC acquisition into a Midas file/pipe&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;input file&amp;gt;	Name of the RAMDISK or RAM template file &lt;br /&gt;
&amp;lt;output file&amp;gt;	Name of the output file/pipe&lt;br /&gt;
&amp;lt;device name&amp;gt;	Name of PIC device PORT alias in the HWCONFIG file&lt;br /&gt;
&amp;lt;decimation&amp;gt;	Tuner Decimation or Frame Thinning factor &lt;br /&gt;
&amp;lt;tunerfreq&amp;gt;	Tuner Center Frequency in Hz (0 to nyquist)&lt;br /&gt;
&amp;lt;tunergain&amp;gt;	Tuner Gain in dB (-100 to 100)&lt;br /&gt;
&lt;br /&gt;
This routine reads data from a RAMDISK file or an in-memory buffer that is &lt;br /&gt;
acquiring data through an ICE-PIC card.  The &amp;lt;device name&amp;gt; is required to &lt;br /&gt;
specify the card and which port on the card is to perform the acquisition.  &lt;br /&gt;
See explain PICDRIVER for more details on HW alias specifications.&lt;br /&gt;
&lt;br /&gt;
Currently, RAMDISK files are only supported on Linux.  In all other cases,&lt;br /&gt;
the &amp;lt;input file&amp;gt; serves as a template for an in-memory buffer, the contents &lt;br /&gt;
of which will not be altered.  &lt;br /&gt;
&lt;br /&gt;
The &amp;lt;input file&amp;gt; normally describes the input data format, sample rate, and &lt;br /&gt;
circular buffer size AFTER tuning and/or decimation.  For non-tuner ports,&lt;br /&gt;
decimation is performed on a frame basis, where the frame length is defined&lt;br /&gt;
by the input file's type 2000 subsize.  By default, tuner decimation is &lt;br /&gt;
performed on the card, and frame decimation in the host.  This allows all&lt;br /&gt;
of the raw (or non-tuner) data to reside in the rambuffer for archiving, &lt;br /&gt;
while slices of data are piped to spectral displays for monitoring.  To &lt;br /&gt;
perform the frame decimation in the card to cut PCI bandwidth, use /HOST=N.&lt;br /&gt;
In /HOST=N mode, the frame length must be a power of 2 between 256 and 1M.  &lt;br /&gt;
&lt;br /&gt;
To apply framed decimation after the tuner or core decimation step, use&lt;br /&gt;
the /SKIP=N switch.  This copies only every Nth frame of data to the output.&lt;br /&gt;
&lt;br /&gt;
The /REPLAY controls the startup mode of the routine as follows:&lt;br /&gt;
&lt;br /&gt;
 /REPLAY=-1  File       - plays buffer once and quits (default file2file)&lt;br /&gt;
 /REPLAY=0   Stopped    - waits at top of buffer&lt;br /&gt;
 /REPLAY=1   Oneshot    - plays buffer once and waits at the top again&lt;br /&gt;
 /REPLAY=2   Continuous - plays buffer continuously (default piped)&lt;br /&gt;
 /REPLAY=3   StopTop	- stop PIC at next top of buffer&lt;br /&gt;
 /REPLAY=4   StopNow	- stop PIC now (does not restart where it left off !!)&lt;br /&gt;
 /REPLAY=5   Spin	- run PIC but do not read data off of the RAMDISK&lt;br /&gt;
 /REPLAY=6   Archive	- stop PIC and read one buffer from the RAMDISK &lt;br /&gt;
 /REPLAY=7   ReStart	- restart continuous acq (resync tuner/timecode)&lt;br /&gt;
 /REPLAY=8   Abort	- abort processing and close output pipe/file&lt;br /&gt;
 /REPLAY=9   Reconnect  - reconnect to device now pointed to by result in &amp;lt;device name&amp;gt;&lt;br /&gt;
 /REPLAY=11  Reconnect  - reconnect to current device (only when ports are stopped)&lt;br /&gt;
&lt;br /&gt;
In NeXtMidas, the /REPLAY=values can be specified by the item number or name.&lt;br /&gt;
&lt;br /&gt;
File mode is the default in file-2-file mode.  In a piped macro, Continuous&lt;br /&gt;
is the default. Oneshot mode is used if REPLAY appears as a state switch&lt;br /&gt;
(no &amp;quot;=&amp;quot; after the switch). All modes can be interrupted by sending controls&lt;br /&gt;
while they are in progress (i.e. through the XPIPE window). The options are&lt;br /&gt;
accessed through the REPLAY MODE control item under SOURCEPIC primitive menu.&lt;br /&gt;
&lt;br /&gt;
The /REPLAY=0 switch will start the routine stopped at the top of the buffer &lt;br /&gt;
waiting for a control to replay the buffer.  This will be a menu item in XPIPE.&lt;br /&gt;
&lt;br /&gt;
The /SYNC=label switch can be used to specify a results label to be set at&lt;br /&gt;
the top of each  cycle through the file.  The result receives the number of &lt;br /&gt;
seconds since midnight at which the sync occurred. &lt;br /&gt;
&lt;br /&gt;
The /LOST=label switch can be used to keep track of the number of buffers that &lt;br /&gt;
SOURCEPIC has fallen behind if it can't keep up.&lt;br /&gt;
&lt;br /&gt;
Master/slave relationships between multiple invocations of SOURCEPIC in the &lt;br /&gt;
same macro are handled with the /MASTER=wid and /SLAVE switches.  The /MASTER&lt;br /&gt;
switch points to the SYNC MODE widget of another SOURCEPIC.  Whenever the&lt;br /&gt;
master SOURCEPIC starts or stops its acquisition, it will signal the slave&lt;br /&gt;
to start or stop accordingly. The REPLAY widget of the slave should NOT be&lt;br /&gt;
set by the user.   It is synchronized and changed by the SOURCEPIC master.&lt;br /&gt;
&lt;br /&gt;
  SOURCEPIC/WB=1/MASTER=2002  RAMFILE1 _CB1 MOD1A &lt;br /&gt;
  SOURCEPIC/WB=2/SLAVE        RAMFILE2 _CB2 MOD1B &lt;br /&gt;
&lt;br /&gt;
The master/slave relationships may be cascaded to allow multiple slaves.  &lt;br /&gt;
For example, the following shows one master and 2 slaves.  The second slave&lt;br /&gt;
is on a seperate card.  To be synchronized to the sample, the cards must&lt;br /&gt;
have their external sync SMBs connected with jumper J2 closed.&lt;br /&gt;
&lt;br /&gt;
  SOURCEPIC/WB=1/MASTER=2002/FLAGS=XSOE         RAMFILE1 _CB1 MOD1A &lt;br /&gt;
  SOURCEPIC/WB=2/SLAVE/MASTER=3002/FLAGS=XSOE   RAMFILE2 _CB2 MOD1B &lt;br /&gt;
  SOURCEPIC/WB=3/SLAVE=XT                       RAMFILE3 _CB3 MOD2A &lt;br /&gt;
&lt;br /&gt;
In NeXtMidas, the /MASTER=value must be the slaved Command ID, not &lt;br /&gt;
the slaved WidgetID as in XMidas.  For example:&lt;br /&gt;
&lt;br /&gt;
  SOURCEPIC/ID=SPM/MASTER=SPS/FLAGS=XSOE        ramfile1 _cb1 MOD1A&lt;br /&gt;
  SOURCEPIC/ID=SPS/SLAVE/MASTER=SPT/FLAGS=XSOE  ramfile2 _cb2 MOD1B&lt;br /&gt;
  SOURCEPIC/ID=SPT/SLAVE=XT                     ramfile3 _cb3 MOD2A&lt;br /&gt;
&lt;br /&gt;
A /FLAGS= switch along with a string in the hwconfig file are used to modify&lt;br /&gt;
the default behavior of the device for special purposes.  See the PICDRIVER&lt;br /&gt;
explain file for details.&lt;br /&gt;
&lt;br /&gt;
The /PACKET switch turns on packet mode.  Each transfer length of data is &lt;br /&gt;
preceded by a 64 byte header with the format defined in packet.inc or packet.h.&lt;br /&gt;
If /TC is specified, this packet will contain the timecode evaluated for each&lt;br /&gt;
packet (this may be interpolated from a previous packet in some cases).&lt;br /&gt;
&lt;br /&gt;
If /PACKET=_pipename is used, the packet header will be written to its own &lt;br /&gt;
pipe.  The data can be read from the regular output pipe or directly mapped &lt;br /&gt;
using information in the packet headers.  This is useful for high speed&lt;br /&gt;
applications where memory-to-memory copies are too costly.&lt;br /&gt;
&lt;br /&gt;
If /APACKET is used, packets of /ARCHTL=n size are written to the archive output.  &lt;br /&gt;
If /APACKET=suffix is used, the suffix is appended to the current archive file &lt;br /&gt;
name and the packet headers are written to a separate file.&lt;br /&gt;
&lt;br /&gt;
In NeXtMidas, the /PACKET=pmss and /APACKET=pmss switches are parsed as PACKET&lt;br /&gt;
formats native to the framework.  The default Packet Mode Switch String is ICE.&lt;br /&gt;
This is written to the files PACKET keyword for the framework libraries to use.&lt;br /&gt;
Other supported options are:&lt;br /&gt;
  ICE/DET  - to detach the headers into a separate file named &amp;lt;filename&amp;gt;.pkt&lt;br /&gt;
  ICET     - to include time delta fields in ICE packet.  Also ICET/DET.&lt;br /&gt;
  SDDS/ICE - to present SDDS headers with ICE address extension. Also SDDS/ICE/DET.&lt;br /&gt;
&lt;br /&gt;
The /MULTI=n can be used to control multiple channels from the same instance&lt;br /&gt;
of SOURCEPIC.  Tuner channels share decimation and rate, but have independent &lt;br /&gt;
freq and gain which must be changed through a message (the ID field is the&lt;br /&gt;
channel number).  Channel 1 is what &amp;lt;device&amp;gt; references (this may actually be&lt;br /&gt;
TUNER5 or LINK2, etc.).  The next n-1 channels are the next ports of the same &lt;br /&gt;
type as &amp;lt;device&amp;gt;.  If /AUTOSS is specified, all ports will be on the same side &lt;br /&gt;
of the card.  For instance (TUNER9,TUNER11,TUNER13,TUNER15).  They are all &lt;br /&gt;
started and stopped by the same REPLAY widget.  This is intended to be used &lt;br /&gt;
in conjunction with /PACKET so the headers can be used to separate the blocks&lt;br /&gt;
of channel data at some later time.  See %TESTMULTI in the MCR area and PICFUNC&lt;br /&gt;
for more details.&lt;br /&gt;
&lt;br /&gt;
The /ALG=name may be applied to select an algorithm to be performed by the&lt;br /&gt;
SHARC before the data is copied to the host.  If this is an INTERNAL port,&lt;br /&gt;
the /FEED=n switch selects the dma channel to get the data from, otherwise &lt;br /&gt;
the data is processed in place.  In this case the input and output rates from&lt;br /&gt;
the algorithm must be identical. Each algorithm can have up to 4 arguments.&lt;br /&gt;
The /NARG=n switch defines how many arguments are used by the algorithm.  &lt;br /&gt;
The argument's initial values are set via switches  /ARG1=xx /ARG2=xx ...&lt;br /&gt;
The default for an arg is zero.  A real-time widget is created for the &lt;br /&gt;
algorithm number and each argument. For DEMOD algorithms, the demod value&lt;br /&gt;
is in the imaginary part of the complex output samples.  The real part &lt;br /&gt;
contains the rough amplitude measurement to be used for gain control.&lt;br /&gt;
&lt;br /&gt;
If the RESAMP flag is applied, the tuner resampler will be enable with a fixed&lt;br /&gt;
fractional or integer ratio set by /RATIO=x.  The resampler filters must first&lt;br /&gt;
be loaded with a PICD LOADFC command. &lt;br /&gt;
&lt;br /&gt;
In Nextmidas, the status results are available through the class methods like&lt;br /&gt;
getLost(), getSeqErr(), etc.  They are typically accessed in a macro using &lt;br /&gt;
the REG.SOURCEPIC.LOST, REG.SP.SEQERR, etc. syntax.&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /FLAGS=flgs	Add specific flags to config string (see PIC HELP FLAGS)&lt;br /&gt;
  /REPLAY=N	Controls the startup replay mode of the routine &lt;br /&gt;
  /MASTER=wid	Widget id of synch mode of slave sink/sourcepic to control (X-Midas)&lt;br /&gt;
  /MASTER=rid	Registry ID of slave sink/sourcepic to control (NeXtMidas)&lt;br /&gt;
  /SLAVE	Run port in slave mode and use cue from master (uses SGO)&lt;br /&gt;
  /SLAVE=SS	Run port in slave mode from master on same side (uses RGO)&lt;br /&gt;
  /SLAVE=XT	Run port in slave mode from external trigger (uses XGO|TGO)&lt;br /&gt;
  /SYNCDATA	Ensure master/slave pairs output same number of samples (X-Midas)&lt;br /&gt;
  /WAIT=sec	Seconds to wait after M$SYNC or autorestart before starting&lt;br /&gt;
  /POLL=sec	Seconds to pause polling the card for new data &lt;br /&gt;
  /AUTORS	Automatically restarts (REPLAY=7) if Master/Slave output pipes become &lt;br /&gt;
                misaligned by more than one buffer or if timecode is activated and the &lt;br /&gt;
                time slips by more than /TCTOLR or the tuner decimation is changed&lt;br /&gt;
  /AUTORS=2	AutoRestart with wait for all channels on input&lt;br /&gt;
  /AUTORS=3	If input channels do not respond, bury them anyway before restart&lt;br /&gt;
  /AUTORS=4	Stop on auto restart criteria&lt;br /&gt;
  /AUTORS=8	Abort on auto restart criteria&lt;br /&gt;
  /AUTORS=-2	Implement continuous mode using oneshot with autorestarts&lt;br /&gt;
  /TIMEOUT=n	Seconds to wait before no data flowing causes restart&lt;br /&gt;
  /MAXOUT=n	Maximum number of samples in output file (file-to-file autostop)&lt;br /&gt;
  /PORT=port	Use the specified input port (see HELP PIC_OPEN)&lt;br /&gt;
  /BITS=n	Override number of bits per word in file&lt;br /&gt;
  /SRATE=n	Override samplerate in file&lt;br /&gt;
  /RATIO=x	Set tuner resampler ratio (x = resampOut/tunerOut and can be fractional)&lt;br /&gt;
  /DMAC=n	Override default DMA channel (see PICDRIVER)&lt;br /&gt;
  /HOST=Y|N	Override default processor&lt;br /&gt;
		  MODULE Default = decimation in host (/HOST=yes)&lt;br /&gt;
		  TUNER Default = tune/decimation in tuner (/HOST=no)&lt;br /&gt;
		  CORE Default = decimation in core (/HOST=no)&lt;br /&gt;
  /SKIP=n	Write only every Nth frame of data to the output pipe.  Archiving is not affected.&lt;br /&gt;
&lt;br /&gt;
  /TC=mode	Enable time code processing (SDN#, SMS#, SDDS). See HELP PIC_TC for syntax.&lt;br /&gt;
  /TCOFF=ysec	The beginning of year in J1950 seconds to be added to&lt;br /&gt;
		timecode values (default=current year)&lt;br /&gt;
  /TCPP=N	Evaluate timecode every Nth packet (default is per ram buffer)&lt;br /&gt;
  /TCPS=N	Evaluate N timecodes per second (more natural form of TCPP)&lt;br /&gt;
  /TCTOLR=sec	TimeCode tolerance in seconds &lt;br /&gt;
  /TCSTAT=res	Result name to hold last time code or TC error status (X-Midas only)&lt;br /&gt;
                (NeXtMidas uses REG.SourcePicID.TC timecode object reference)&lt;br /&gt;
&lt;br /&gt;
  /SYNC=label	Result label to be set at top of each buffer (X-Midas)&lt;br /&gt;
  /LOST=label	Result label to be set with number of buffers lost (X-Midas)&lt;br /&gt;
  /PFULL=label	Result label to be set with percentage full of buffer (X-Midas)&lt;br /&gt;
  /SEQERR=label	Result label to be set with number of SDDS sequence errors (X-Midas)&lt;br /&gt;
  /SEQFILL=labl	Result label to be set with number of SDDS sequence fills (X-Midas)&lt;br /&gt;
  /NTPOFF=label	Result label to be set with the current NTP offset in seconds (X-Midas)&lt;br /&gt;
&lt;br /&gt;
  /MULTI=nport	Multichannel mode &lt;br /&gt;
  /RENUM=begin	Renumber packet channel numbers from &amp;lt;begin&amp;gt; to &amp;lt;begin+nport-1&amp;gt; &lt;br /&gt;
		  instead of using the actual port numbers&lt;br /&gt;
  /RTFILE	Update ramdisk file header fields to allow reading with SOURCEFILE/RTFILE&lt;br /&gt;
  /AUTOSS	Force multi-channel ports to be on the same side (A or B input)&lt;br /&gt;
  /DFREQ=freq	Frequency delta between multiple channels (if uniform spacing)&lt;br /&gt;
  /NCHN=N	Number of channels in TunerBank mode&lt;br /&gt;
&lt;br /&gt;
  /ARCH=name	Filename for continuous archiving to disk (w/o sending messages)&lt;br /&gt;
  /ARCHTL=n	Transfer length for archive file writes&lt;br /&gt;
  /ARCHSF=n	Archive each buffer to a Separate File named &amp;lt;archname&amp;gt;_XXXXX count)&lt;br /&gt;
                 If N&amp;gt;1 it reuses the N separate files in a wraparound TIVO mode.&lt;br /&gt;
  /ARCHSFS=n	Archive Separate File Size in bytes (defaults to one ram buffer)&lt;br /&gt;
  /ARCHTO=n	Archive TimeOut in seconds for multi-file auto closeout (NeXtMidas only)&lt;br /&gt;
  /FLUSH	Flush all data and header information to disk at the bottom of each buffer&lt;br /&gt;
&lt;br /&gt;
  /ALG=name	Algorithm name to perform (AM,FM,PM...)&lt;br /&gt;
  /NARG=N	Number of arguments to the algorithm&lt;br /&gt;
  /ARGx=value	Initial value for arg x (i.e. /ARG1=10 /ARG2=1k)&lt;br /&gt;
  /STATS=N	Show buffer status at top of every Nth buffer (if X-Midas N=1 only)&lt;br /&gt;
  /VERBOSE=n	Where n = 0:off, 1:on, 2:timecode (adds widget in X-Midas)&lt;br /&gt;
  /QUIET	Suppress all informational text output&lt;br /&gt;
  /MONITOR=mode Output pipe monitor mode (Off,Async,Info,Full)&lt;br /&gt;
  /WARN2ERR	Upgrade all warnings to errors&lt;br /&gt;
&lt;br /&gt;
X-Midas Packet Switches:&lt;br /&gt;
  /PKTMODE=type	Packet Mode Options 0=BufferOffsets, 1=TimeDelta/Start, 2=Rate/Freq&lt;br /&gt;
		Defines which data fields will use the last 16 bytes of packet the header&lt;br /&gt;
  /PACKET	Packet Mode (headers and data interleaved in &amp;lt;output&amp;gt;)&lt;br /&gt;
  /PACKET=hfile	Packet Header Mode (headers to hfile, data to &amp;lt;output&amp;gt;)&lt;br /&gt;
  /APACKET	Archive Packet Mode (headers and data interleaved in &amp;lt;output&amp;gt;)&lt;br /&gt;
  /APACKET=suff Archive Packet Header Mode (headers to &amp;lt;name&amp;gt;&amp;lt;suff&amp;gt;, data to &amp;lt;output&amp;gt;)&lt;br /&gt;
		where name is from /ARCH=name switch or an ARCHIVE message. &lt;br /&gt;
&lt;br /&gt;
NeXtMidas Packet Switches:&lt;br /&gt;
  /PACKET=pmss	Packet Header Mode (apply Packet Mode Switch String)&lt;br /&gt;
  /APACKET=pmss	Packet Mode for the archive output file &lt;br /&gt;
	(Note: /APACKET=.PKT in XMidas is the same as /APACKET=ICE/DET in NeXtMidas)&lt;br /&gt;
&lt;br /&gt;
Control Widgets: (X-Midas)&lt;br /&gt;
	1. M:REPLAY MODE	(=99 if startup err)&lt;br /&gt;
	2. M:SYNC MODE	&lt;br /&gt;
	3. D:SAMPLE RATE (Hz)&lt;br /&gt;
	4. L:TUNER DEC or REDUCTION&lt;br /&gt;
	5. D:TUNER FREQ (Hz) - overwritten by SOURCEPIC with actual frequency&lt;br /&gt;
	6. L:TUNER GAIN (db) - 1dB resolution&lt;br /&gt;
	7. L:NCYCLE&lt;br /&gt;
	8. L:LOST (Host buffer fall behind count)&lt;br /&gt;
	9. L:MISS (Card buffer fall behind count)&lt;br /&gt;
	[+1]. D:RESAMPLER ratio if enabled (optional)&lt;br /&gt;
	[+1]. L:ALG Algorithm number (optional)&lt;br /&gt;
	[+1]. L:ALGARG Algorithm args (optional)&lt;br /&gt;
	[+1]. L:VERBOSE Verbose Mode (optional)&lt;br /&gt;
&lt;br /&gt;
Messages: (X-Midas)&lt;br /&gt;
	MGO	info:replaymode D:time   where time is M$NOW time to take action&lt;br /&gt;
		returns =MGO with D:time where time is M$NOW time of event&lt;br /&gt;
		(if INFO=0, messages will be blocked until current acquisition &lt;br /&gt;
		completes at which time an =MGO will be returned.  If acquisition is &lt;br /&gt;
		not currently in a naturally stopping mode, mgo will be set to 4 = stop now ) &lt;br /&gt;
	RATE	D:samplerate &lt;br /&gt;
	FREQ	D:tunerfreq&lt;br /&gt;
	DEC	D:decimation&lt;br /&gt;
	GAIN	D:tunergain&lt;br /&gt;
	RFDG	D:samplerate D:tunerfreq D:decimation D:tunergain&lt;br /&gt;
		This is a synchronous change of all 4 values. The RATE,FREQ,DEC,GAIN, and &lt;br /&gt;
                RFDG messages only execute if the value has changed. To force execution &lt;br /&gt;
                for other reasons (i.e. OVSR changes), set the message info field to 1&lt;br /&gt;
	NFREQ   info:channel D:freq Returns the actual frequency available nearest to &amp;lt;freq&amp;gt;&lt;br /&gt;
	=NFREQ  info:channel D:afreq The actual frequency available nearest to &amp;lt;freq&amp;gt;. If this &lt;br /&gt;
		is a TunerBank, returns the freq of specified channel when the entire bank is &lt;br /&gt;
		tuned to &amp;lt;freq&amp;gt;.  The channel number is one based.&lt;br /&gt;
	JOIN    info:ipvlan S[16]:ipaddr &lt;br /&gt;
	LEAVE   info:ipvlan S[16]:ipaddr &lt;br /&gt;
	TC	D:sample offset in output file to calc timecode at, except:&lt;br /&gt;
		  sample=-1 uses the latest output sample &lt;br /&gt;
		  sample=-2 returns TC measured at the last acquisition start&lt;br /&gt;
		returns an &amp;quot;=TC&amp;quot; message&lt;br /&gt;
	=TC	D:sample offset in output file actually interpolated to &lt;br /&gt;
		D:X-Midas timecode at beginning of sample (whole seconds)&lt;br /&gt;
		D:X-Midas timecode at beginning of sample (fractional seconds)&lt;br /&gt;
	STATUS	INFO=widget number, or 0 for all widgets&lt;br /&gt;
	=STATUS	INFO=widget number, or 0 for all widgets&lt;br /&gt;
		D:specific widget, if INFO!=0 else&lt;br /&gt;
		D:replay D:sunc D:rate D:dec D:freq D:gain D:ncycle&lt;br /&gt;
	DEVICE  if INFO&amp;gt;0 select tuner number &amp;lt;INFO&amp;gt; on current card&lt;br /&gt;
		else S[40]: New device name to connect to&lt;br /&gt;
	ARCHIVE S[80]:filename D:start D:duration&lt;br /&gt;
		This message causes an archive file to be written of length&lt;br /&gt;
		&amp;lt;duration&amp;gt; seconds starting at &amp;lt;start&amp;gt; in M$NOW seconds.&lt;br /&gt;
		The current transfer is not interrupted and decimation is&lt;br /&gt;
		ignored.  When received, an =ARCHIVE message is returned with&lt;br /&gt;
		info: 1=OK -1=notReady, -2=tooBig, -3=notInBuf, -4=fileOpenErr&lt;br /&gt;
		When write is completed, an ARCHDONE message is returned.&lt;br /&gt;
		If &amp;lt;start&amp;gt; &amp;lt;= 0, it is relative to the current position &lt;br /&gt;
		If &amp;lt;duration&amp;gt; = -1, archive is continuous&lt;br /&gt;
	=ARCHIVE info field as described above followed by three doubles&lt;br /&gt;
		D:sample offset in archive file where timecode was evaluated &lt;br /&gt;
                D:X-Midas timecode at beginning of sample (whole seconds)&lt;br /&gt;
                D:X-Midas timecode at beginning of sample (fractional seconds)&lt;br /&gt;
        ARCHSTOP Stops the current Archive and returns an ARCHDONE message&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>