<?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=ICE_Help_KEYS</id>
	<title>ICE Help KEYS - 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=ICE_Help_KEYS"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Help_KEYS&amp;action=history"/>
	<updated>2026-09-25T12:12:28Z</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=ICE_Help_KEYS&amp;diff=565&amp;oldid=prev</id>
		<title>ConvertBot: Key names for accessing parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Help_KEYS&amp;diff=565&amp;oldid=prev"/>
		<updated>2020-04-27T18:33:02Z</updated>

		<summary type="html">&lt;p&gt;Key names for accessing parameters&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;background-color: #eef9ff; border: 1px solid #999; padding: 10px;&amp;quot;&amp;gt;[[ICE_Help|&amp;amp;uarr; ''Go to the full list of ICE Help pages'']].&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;onlyinclude&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
'''Summary:''' Key names for accessing parameters &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This file covers all of the keyed parameters that one can set or get using the&lt;br /&gt;
pic_getKey() and pic_setKey() routines.  Unless specifically noted, all keys&lt;br /&gt;
are of type int_4.  &lt;br /&gt;
&lt;br /&gt;
From Midas these can be called with&lt;br /&gt;
 PICDRIVER GET &amp;lt;alias&amp;gt; &amp;lt;key&amp;gt; &amp;lt;label&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
 PICDRIVER SET &amp;lt;alias&amp;gt; &amp;lt;key&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From C, Fortran, or Java code, the include file key name defines are formed by &lt;br /&gt;
prepending KEY_ to the name of the key.&lt;br /&gt;
&lt;br /&gt;
When an index field is required, it is infered from the /PORT=xxx switch or PORT=xxx&lt;br /&gt;
flag in the card alias. If the PORT is not specified, the /DMAC=n switch provides the &lt;br /&gt;
index.  For an index that does not relate to a DMA channel, such as the TEMP key, use &lt;br /&gt;
the negative of the index. This bypasses the DMA channel lookup for a port index.&lt;br /&gt;
&lt;br /&gt;
Many of these functions are also supported as flags in the configuration string&lt;br /&gt;
or /FLAGS=(string) switch.  [[ICE_Help_FLAGS|See PIC HELP FLAGS]].&lt;br /&gt;
&lt;br /&gt;
The currently supported keys are:&lt;br /&gt;
&lt;br /&gt;
=== RATE - Input sample rate in Hz&amp;lt;span id=&amp;quot;RATE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Input sample rate in Hz&lt;br /&gt;
=== FREQ - Tuned frequency/nyquist (double)&amp;lt;span id=&amp;quot;FREQ&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Tuned frequency/nyquist (double)&lt;br /&gt;
=== NFREQ - Return the nearest actual tuned frequency/nyquist available.&amp;lt;span id=&amp;quot;NFREQ&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Return the nearest actual tuned frequency/nyquist available.&lt;br /&gt;
Use only with pic_getkey and prefill the value with the desired amount.&lt;br /&gt;
=== DFREQ - Channel spacing for tuner banks frequency/nyquist (double)&amp;lt;span id=&amp;quot;DFREQ&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Channel spacing for tuner banks frequency/nyquist (double)&lt;br /&gt;
=== DEC - Tuner decimation (or frame decimation 1-1024)&amp;lt;span id=&amp;quot;DEC&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Tuner decimation (or frame decimation 1-1024)&lt;br /&gt;
=== NDEC - Return the nearest actual tuner decimation available&amp;lt;span id=&amp;quot;NDEC&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Return the nearest actual tuner decimation available&lt;br /&gt;
Use only with pic_getkey and prefill the value with the desired amount.&lt;br /&gt;
=== GAIN - Tuner gain in dB (must be set after loading user filter coefficients)&amp;lt;span id=&amp;quot;GAIN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Tuner gain in dB (must be set after loading user filter coefficients)&lt;br /&gt;
=== EMT - Envelope Measure and Track.&amp;lt;span id=&amp;quot;EMT&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Envelope Measure and Track.&lt;br /&gt;
of the magnitude of the high byte of the input samples.  This is an estimate of the current loading of&lt;br /&gt;
signal from 0 to 128.  A vaule of 75 to 100 is reasonable loading for an A2D in most environments.&lt;br /&gt;
Setting this key adjusts the parameters for the EMT function as described in the EMT flag help file.&lt;br /&gt;
This function is performed on the base card so it can be used behind analog or digital modules.&lt;br /&gt;
=== ADLM - A2D Load Monitor of signal at input of A2D.&amp;lt;span id=&amp;quot;ADLM&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
A2D Load Monitor of signal at input of A2D.&lt;br /&gt;
=== MGAIN - Module gain in dB when module has adjustable gain block (typically analog)&amp;lt;span id=&amp;quot;MGAIN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Module gain in dB when module has adjustable gain block (typically analog)&lt;br /&gt;
=== MFREQ - Module center frequency in Hz when module is able to perform a real-to-complex conversion and shift&amp;lt;span id=&amp;quot;MFREQ&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Module center frequency in Hz when module is able to perform a real-to-complex conversion and shift&lt;br /&gt;
=== OVSR - Tuner over-sampling rate&amp;lt;span id=&amp;quot;OVSR&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Tuner over-sampling rate&lt;br /&gt;
=== RATIO - Tuner resampler ratio (resamplerOutputRate/tunerOutputRate) (double)&amp;lt;span id=&amp;quot;RATIO&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Tuner resampler ratio (resamplerOutputRate/tunerOutputRate) (double)&lt;br /&gt;
If using PRESAMP, this must be set on dmac=0 before the call to N=pic_ioport(...)&lt;br /&gt;
If using  RESAMP, this must be set on dmac=N after  the call to N=pic_ioport(...)&lt;br /&gt;
where N is the dma channel of the tuner of interest.&lt;br /&gt;
=== NRATIO - Return the nearest actual tuner resampler ratio available  (double)&amp;lt;span id=&amp;quot;NRATIO&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Return the nearest actual tuner resampler ratio available  (double)&lt;br /&gt;
Use only with pic_getkey and prefill the value with the desired amount.&lt;br /&gt;
Graychips use a 26 bit modulo register.  FPGA tuner uses 28 bit with M/N phase reset circuit.&lt;br /&gt;
=== FRAME - Frame size (32 &amp;lt;= 2**N &amp;lt;= 512K) for IOC framed decimation (PIC3 and earlier)&amp;lt;span id=&amp;quot;FRAME&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Frame size (32 &amp;lt;= 2**N &amp;lt;= 512K) for IOC framed decimation (PIC3 and earlier)&lt;br /&gt;
Frame size (256 &amp;lt;= N*256 &amp;lt;= 512K) for IOC framed decimation (PIC4 and MBT4)&lt;br /&gt;
Frame size (64 &amp;lt;= N*64 &amp;lt;= 512K) for IOC framed decimation (PIC5 and later)&lt;br /&gt;
=== PKTLEN - Packet length for tuner bank frames in bytes&amp;lt;span id=&amp;quot;PKTLEN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Packet length for tuner bank frames in bytes&lt;br /&gt;
=== CHAIN - Set DMA chain pointer to specified index (or address)&amp;lt;span id=&amp;quot;CHAIN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Set DMA chain pointer to specified index (or address)&lt;br /&gt;
Get the next chain pointer index&lt;br /&gt;
=== ACTIVE - Reports number of active DMA channels on card, -1 if not reset, -2 if locked&amp;lt;span id=&amp;quot;ACTIVE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Reports number of active DMA channels on card, -1 if not reset, -2 if locked&lt;br /&gt;
=== DELAY - Delay in some applications (in samples)&amp;lt;span id=&amp;quot;DELAY&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Delay in some applications (in samples)&lt;br /&gt;
=== TCMODE - TimeCode Mode index (debug)&amp;lt;span id=&amp;quot;TCMODE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
TimeCode Mode index (debug)&lt;br /&gt;
The current supported timecode modes are:&lt;br /&gt;
 TCM_OFF 0&lt;br /&gt;
 TCM_CPU 1&lt;br /&gt;
 TCM_ZTC 2&lt;br /&gt;
 TCM_SDN 3&lt;br /&gt;
 TCM_SMS 4&lt;br /&gt;
 TCM_DTL 5&lt;br /&gt;
 TCM_IRB 6&lt;br /&gt;
 TCM_SDD 7&lt;br /&gt;
 TCM_ICE 8&lt;br /&gt;
 TCM_VRT 9&lt;br /&gt;
 TCM_FILE 10&lt;br /&gt;
&lt;br /&gt;
=== TCOFF - TimeCode offset in Seconds Of Year for applicable output modules.&amp;lt;span id=&amp;quot;TCOFF&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
TimeCode offset in Seconds Of Year for applicable output modules.&lt;br /&gt;
&lt;br /&gt;
=== RFFREQ - RF Module frequency in MHz (double)&amp;lt;span id=&amp;quot;RFFREQ&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
RF Module frequency in MHz (double)&lt;br /&gt;
=== RFBW - RF Module bandwidth in MHz (double)&amp;lt;span id=&amp;quot;RFBW&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
RF Module bandwidth in MHz (double)&lt;br /&gt;
=== RFATTN - RF Module attenuation in dB&amp;lt;span id=&amp;quot;RFATTN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
RF Module attenuation in dB&lt;br /&gt;
=== RFGAIN - RF Module gain in dB&amp;lt;span id=&amp;quot;RFGAIN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
RF Module gain in dB&lt;br /&gt;
=== RFOPTS - RF Module options mask ([[ICE_Help_FLAGS|See FLAGS]])&amp;lt;span id=&amp;quot;RFOPTS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
RF Module options mask ([[ICE_Help_FLAGS|See FLAGS]])&lt;br /&gt;
=== RFPWR - RF Module input power measurement in dB&amp;lt;span id=&amp;quot;RFPWR&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
RF Module input power measurement in dB&lt;br /&gt;
&lt;br /&gt;
=== FLGBSET - Set specified bits in the common flags&amp;lt;span id=&amp;quot;FLGBSET&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Set specified bits in the common flags&lt;br /&gt;
=== FLGBCLR - Clear specified bits in the common flags&amp;lt;span id=&amp;quot;FLGBCLR&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Clear specified bits in the common flags&lt;br /&gt;
=== TFLGBSET - Set specified bits in the tuner flags&amp;lt;span id=&amp;quot;TFLGBSET&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Set specified bits in the tuner flags&lt;br /&gt;
=== TFLGBCLR - Clear specified bits in the tuner flags&amp;lt;span id=&amp;quot;TFLGBCLR&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Clear specified bits in the tuner flags&lt;br /&gt;
=== FLAG - Returns the FLAG field of the indexed DMA structure.&amp;lt;span id=&amp;quot;FLAG&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Returns the FLAG field of the indexed DMA structure.&lt;br /&gt;
=== DRVFLG - Returns the FLAG field of the driver status page.&amp;lt;span id=&amp;quot;DRVFLG&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Returns the FLAG field of the driver status page.&lt;br /&gt;
This status is a bit mask of 10MHz, 1PPS, and IRIG signal status on various ports on a card. &lt;br /&gt;
&lt;br /&gt;
=== IPVLAN - Set the IP VLAN address of an ethernet module&amp;lt;span id=&amp;quot;IPVLAN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Set the IP VLAN address of an ethernet module&lt;br /&gt;
=== IPADDR - Set the IP address of an ethernet module&amp;lt;span id=&amp;quot;IPADDR&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Set the IP address of an ethernet module&lt;br /&gt;
=== IPCONN - Connect to a particular IP multicast port&amp;lt;span id=&amp;quot;IPCONN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Connect to a particular IP multicast port&lt;br /&gt;
=== IPDISC - Disconnect from a particular IP multicast port&amp;lt;span id=&amp;quot;IPDISC&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Disconnect from a particular IP multicast port&lt;br /&gt;
=== PKTHDR - Return the contents of the last ICE/SDDS packet header.&amp;lt;span id=&amp;quot;PKTHDR&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Return the contents of the last ICE/SDDS packet header.&lt;br /&gt;
See ICEROOT/inc/packets.h for a mapping of this 64 byte data structure.&lt;br /&gt;
If the VERBOSE flag is set when retrieving this key, a hex dump will print out.&lt;br /&gt;
=== SEQERR - Return the running count of SDDS sequence gaps&amp;lt;span id=&amp;quot;SEQERR&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Return the running count of SDDS sequence gaps&lt;br /&gt;
=== SEQFILL - Return the running count of SDDS sequence gaps filled by I/O processor.&amp;lt;span id=&amp;quot;SEQFILL&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Return the running count of SDDS sequence gaps filled by I/O processor.&lt;br /&gt;
These are not accounted as sequence errors by SEQERR.&lt;br /&gt;
&lt;br /&gt;
=== ALG - Active algorithm (by index)&amp;lt;span id=&amp;quot;ALG&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Active algorithm (by index)&lt;br /&gt;
=== ARGS - Algorithm arguments offset&amp;lt;span id=&amp;quot;ARGS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Algorithm arguments offset&lt;br /&gt;
&lt;br /&gt;
=== CLKI - Invert the clock&amp;lt;span id=&amp;quot;CLKI&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Invert the clock&lt;br /&gt;
=== MSBI - Invert the Most Significant Bit&amp;lt;span id=&amp;quot;MSBI&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Invert the Most Significant Bit&lt;br /&gt;
=== BIT - Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; for bit serial acquisition (0,1,4,15)&amp;lt;span id=&amp;quot;BIT&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; for bit serial acquisition (0,1,4,15)&lt;br /&gt;
=== BITS - Number of bits for acquisition (1,8,16)&amp;lt;span id=&amp;quot;BITS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Number of bits for acquisition (1,8,16)&lt;br /&gt;
&lt;br /&gt;
=== CTYPE - Card type (2=PIC2 3=PIC3 4=PIC4 8=MBT2 9=MBT3 12=SLIC3)&amp;lt;span id=&amp;quot;CTYPE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Card type (2=PIC2 3=PIC3 4=PIC4 8=MBT2 9=MBT3 12=SLIC3)&lt;br /&gt;
=== PTYPE - Port type (1=SERIAL 2=LINK 3=MODULE 4=TUNER)&amp;lt;span id=&amp;quot;PTYPE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Port type (1=SERIAL 2=LINK 3=MODULE 4=TUNER)&lt;br /&gt;
=== PINDEX - Port index 1,2,3,4.&amp;lt;span id=&amp;quot;PINDEX&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Port index 1,2,3,4.&lt;br /&gt;
=== MTYPE - IO module type (-1=A2D 1=D2A -2=E2D 2=D2E etc.&amp;lt;span id=&amp;quot;MTYPE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IO module type (-1=A2D 1=D2A -2=E2D 2=D2E etc.&lt;br /&gt;
=== MTYPE1 - IO module&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 type&amp;lt;span id=&amp;quot;MTYPE1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IO module&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 type&lt;br /&gt;
=== MTYPE2 - IO module&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 type&amp;lt;span id=&amp;quot;MTYPE2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IO module&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 type&lt;br /&gt;
=== PMTYPE - Processor module type (1=DTDM 2=DTDMX etc.&amp;lt;span id=&amp;quot;PMTYPE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Processor module type (1=DTDM 2=DTDMX etc.&lt;br /&gt;
=== PMTYPE1 - Processor module&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 type&amp;lt;span id=&amp;quot;PMTYPE1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Processor module&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 type&lt;br /&gt;
=== PMTYPE2 - Processor module&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 type&amp;lt;span id=&amp;quot;PMTYPE2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Processor module&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 type&lt;br /&gt;
=== PMINDEX - Processor module index (active selection) 0=PIC 1=PM1 2=PM2&amp;lt;span id=&amp;quot;PMINDEX&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Processor module index (active selection) 0=PIC 1=PM1 2=PM2&lt;br /&gt;
=== MCHNS - Maximum number of tuner channels on board 0-24&amp;lt;span id=&amp;quot;MCHNS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Maximum number of tuner channels on board 0-24&lt;br /&gt;
=== CHNS - Number of usable tuner channels 0-24 (uses CPC setting)&amp;lt;span id=&amp;quot;CHNS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Number of usable tuner channels 0-24 (uses CPC setting)&lt;br /&gt;
=== CHAN - Select channel in a tuner bank.&amp;lt;span id=&amp;quot;CHAN&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Select channel in a tuner bank.&lt;br /&gt;
=== CPC - Channels per chip to use 1|2|4 (graychips only)&amp;lt;span id=&amp;quot;CPC&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Channels per chip to use 1|2|4 (graychips only)&lt;br /&gt;
=== TCINC - Adjacent tuner channel increment (to next tuner on same side)&amp;lt;span id=&amp;quot;TCINC&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Adjacent tuner channel increment (to next tuner on same side)&lt;br /&gt;
=== IOCTYPE - Type of current IOC load module (i.&amp;lt;span id=&amp;quot;IOCTYPE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Type of current IOC load module (i.&lt;br /&gt;
=== CBUFSZ - Default buffer size on card for specified port&amp;lt;span id=&amp;quot;CBUFSZ&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Default buffer size on card for specified port&lt;br /&gt;
=== STATUS - Current card DMA, ROUTE, and SYSTEM status&amp;lt;span id=&amp;quot;STATUS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Current card DMA, ROUTE, and SYSTEM status&lt;br /&gt;
On ICEPODs setting this uses the lower 8 bits to conditionally illuminate the 8 front panel LEDs&lt;br /&gt;
=== ROUTE - Current FPGA routing register&amp;lt;span id=&amp;quot;ROUTE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Current FPGA routing register&lt;br /&gt;
=== DETECT - Auto detect the current card configuration where the dmac argument is the device number or -1 for all.&amp;lt;span id=&amp;quot;DETECT&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Auto detect the current card configuration where the dmac argument is the device number or -1 for all.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PRCCLK - PRoCessor clock rate&amp;lt;span id=&amp;quot;PRCCLK&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
PRoCessor clock rate&lt;br /&gt;
=== IOCCLK - IO Controller chip clock rate&amp;lt;span id=&amp;quot;IOCCLK&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IO Controller chip clock rate&lt;br /&gt;
=== ICLK - IOC Internal divide clock rate (MUXCLK=I)&amp;lt;span id=&amp;quot;ICLK&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IOC Internal divide clock rate (MUXCLK=I)&lt;br /&gt;
=== PCLK - Programmable clock (MUXCLK=P)&amp;lt;span id=&amp;quot;PCLK&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Programmable clock (MUXCLK=P)&lt;br /&gt;
=== CCLK - Motherboard socketed crystal rate (MUXCLK=C)&amp;lt;span id=&amp;quot;CCLK&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Motherboard socketed crystal rate (MUXCLK=C)&lt;br /&gt;
=== MCLK - Measurement of clock rate of the specified clock configuration.&amp;lt;span id=&amp;quot;MCLK&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Measurement of clock rate of the specified clock configuration.&lt;br /&gt;
It cannot be executed on a running port.&lt;br /&gt;
&lt;br /&gt;
=== PCICLK - PCI clock rate (33|66|100|133) MHz&amp;lt;span id=&amp;quot;PCICLK&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
PCI clock rate (33|66|100|133) MHz&lt;br /&gt;
=== PCIBUS - PCI bus width (32|64) bits&amp;lt;span id=&amp;quot;PCIBUS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
PCI bus width (32|64) bits&lt;br /&gt;
=== PCIBW - PCI bus bandwidth in Mby/s (theoretical)&amp;lt;span id=&amp;quot;PCIBW&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
PCI bus bandwidth in Mby/s (theoretical)&lt;br /&gt;
=== PCIREV - PCI controller chip EPROM rev&amp;lt;span id=&amp;quot;PCIREV&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
PCI controller chip EPROM rev&lt;br /&gt;
=== DRIVER - ICE driver version running on this machine&amp;lt;span id=&amp;quot;DRIVER&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
ICE driver version running on this machine&lt;br /&gt;
=== VERSION - ICE software version loaded on this card&amp;lt;span id=&amp;quot;VERSION&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
ICE software version loaded on this card&lt;br /&gt;
=== FPGAREV - ICE FPGA firmware versions loaded on this card&amp;lt;span id=&amp;quot;FPGAREV&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
ICE FPGA firmware versions loaded on this card&lt;br /&gt;
 dmac=0 Base card SoC firmware version (via flashable EPROM)&lt;br /&gt;
 1 I/O module &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 firmware version&lt;br /&gt;
 2 I/O module &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 firmware version&lt;br /&gt;
 7 Processor module &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 firmware version&lt;br /&gt;
 8 Processor module &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 firmware version&lt;br /&gt;
=== FPGASIG - ICE FPGA firmware signature loaded on this card&amp;lt;span id=&amp;quot;FPGASIG&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
ICE FPGA firmware signature loaded on this card&lt;br /&gt;
 dmac=0 Base card SoC firmware signature (via flashable EPROM)&lt;br /&gt;
 1 I/O module &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 firmware signature&lt;br /&gt;
 2 I/O module &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 firmware signature&lt;br /&gt;
 7 Processor module &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 firmware signature&lt;br /&gt;
 8 Processor module &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 firmware signature&lt;br /&gt;
=== RSTIME - get time of last reset  &amp;lt;span id=&amp;quot;RSTIME&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Time of last card reset (index=0) or I/O port reset (index=1|2) in J1950 seconds.&lt;br /&gt;
A card reset also updates the two I/O port registers, but the individual I/O &lt;br /&gt;
ports may be reset at any time without a full card reset.&lt;br /&gt;
=== PFIFO - PCI Side FiFo (debug)&amp;lt;span id=&amp;quot;PFIFO&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
PCI Side FiFo (debug)&lt;br /&gt;
=== AFIFO - Card/Adon Side FiFo (debug)&amp;lt;span id=&amp;quot;AFIFO&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Card/Adon Side FiFo (debug)&lt;br /&gt;
&lt;br /&gt;
=== IOC - IOC registers&amp;lt;span id=&amp;quot;IOC&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IOC registers&lt;br /&gt;
=== IOCIOM - IOC IO Module control register&amp;lt;span id=&amp;quot;IOCIOM&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IOC IO Module control register&lt;br /&gt;
=== IOCALG - IOC algorithm register offset&amp;lt;span id=&amp;quot;IOCALG&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IOC algorithm register offset&lt;br /&gt;
=== IOCRAM - IOC RAM register offset&amp;lt;span id=&amp;quot;IOCRAM&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IOC RAM register offset&lt;br /&gt;
&lt;br /&gt;
=== MOD - IO Module register offset&amp;lt;span id=&amp;quot;MOD&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
IO Module register offset&lt;br /&gt;
&lt;br /&gt;
=== CORE - Processing core register offset.&amp;lt;span id=&amp;quot;CORE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Processing core register offset.&lt;br /&gt;
Cores are signal processing algorithms implemented in FPGA code.&lt;br /&gt;
Core registers are byte addressable but always 4 bytes wide.  To address a register,&lt;br /&gt;
add the bytes offset to the KEY_CORE parameter.  The window is 32Kby wide.&lt;br /&gt;
&lt;br /&gt;
=== APP - Application register offset.&amp;lt;span id=&amp;quot;APP&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Application register offset.&lt;br /&gt;
Apps are signal processing algorithms implemented in PPC|SHARC processor code.&lt;br /&gt;
Application registers are byte addressable but always 4 bytes wide.  To address a register,&lt;br /&gt;
add the bytes offset to the KEY_APP parameter.  The window is 4Kby wide.&lt;br /&gt;
&lt;br /&gt;
=== TEMP - Get temperature measurements from port.&amp;lt;span id=&amp;quot;TEMP&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Get temperature measurements from port.&lt;br /&gt;
This key retrieves temperature data from the System Monitor of various FPGAs attached to &lt;br /&gt;
the pic board.  Use the index field as follows:&lt;br /&gt;
 0 - the mainboard (PIC7+)&lt;br /&gt;
 1,2 - the IO Modules&lt;br /&gt;
 5   - the board temp (POD6+)&lt;br /&gt;
 7,8 - the Processor Modules&lt;br /&gt;
The temperature is returned in degrees Celsius.&lt;br /&gt;
&lt;br /&gt;
=== SYSMON - Get temperature/voltage measurements from port.&amp;lt;span id=&amp;quot;SYSMON&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Get temperature/voltage measurements from port.&lt;br /&gt;
&lt;br /&gt;
This key retrieves data from the System Monitor of various FPGAs attached to &lt;br /&gt;
the pic board.  Use the index field as follows:&lt;br /&gt;
 0 - the mainboard (PIC7+)&lt;br /&gt;
 1,2 - the IO Modules&lt;br /&gt;
 7,8 - the Processor Modules&lt;br /&gt;
The verbose flag causes text output to be displayed.&lt;br /&gt;
&lt;br /&gt;
=== TPOE - Test port output enable on series 5+ cards&amp;lt;span id=&amp;quot;TPOE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
A runtime method for enabling the test port.  [[ICE_Help_FLAGS|See help FLAGS]] TPOE&lt;br /&gt;
&lt;br /&gt;
=== TPD - Test port data&amp;lt;span id=&amp;quot;TPD&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
A runtime method for reading the current contents of the test port.&lt;br /&gt;
The default TPOE=1 test port selects the auxiliary module.  &lt;br /&gt;
The current contents of this test vector are &lt;br /&gt;
&lt;br /&gt;
 bit=0  MGO	- master enable of a port, used to trigger another port or card&lt;br /&gt;
 =1  XSYNCI - the input of the eXternal sync port (needs DC coupled input jumpers 1&amp;amp;3)&lt;br /&gt;
 =2  TSYNCI - the input trigger bit, usually bit0 of IOModule 1&lt;br /&gt;
 =3  OPPMS  - a one pulse per millisecond timer&lt;br /&gt;
 =4  PWR5V  - enable for the IO Module's 5V power brick&lt;br /&gt;
 =5  TBD&lt;br /&gt;
 =6  TBD&lt;br /&gt;
 =7  PCREF  - 10MHz reference for the programmable clock&lt;br /&gt;
&lt;br /&gt;
=== TPDX - Test port data change&amp;lt;span id=&amp;quot;TPDX&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Reads the whether there has been a low to high transition on each bit &lt;br /&gt;
in the test vector since the last read of TPD or TPDX.&lt;br /&gt;
&lt;br /&gt;
=== TPSR - Test port status register&amp;lt;span id=&amp;quot;TPSR&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Read and/or write the 8-bit Test Port Status Register in the testport FPGA module.  &lt;br /&gt;
This enables user control of the status LEDs on an Ice-Pod.  Valid bitmask is 0-255.  &lt;br /&gt;
Set to -1 to disable status register output (reenables the silon LED mode on Ice-Pods) &lt;br /&gt;
&lt;br /&gt;
=== JTAGPORT - JTAG cable debug port assignment on series 5+ cards&amp;lt;span id=&amp;quot;JTAGPORT&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
A runtime method for connecting the main board JTAG cable connector to one&lt;br /&gt;
of the I/O or Processor module sites.  This allows a developer to use&lt;br /&gt;
chipscope or other JTAG base debuggers on the module. Port numbers are:&lt;br /&gt;
 1 - I/O Module 1&lt;br /&gt;
 2 - I/O Module 2&lt;br /&gt;
 7 - Processor Module 1&lt;br /&gt;
 8 - Processor Module 2&lt;br /&gt;
&lt;br /&gt;
The include file names are formed by prepending KEY_.&lt;br /&gt;
&lt;br /&gt;
=== MPCIO - Multi-Purpose Chip I/O register.&amp;lt;span id=&amp;quot;MPCIO&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Multi-Purpose Chip I/O register.&lt;br /&gt;
This register controls the 4-bit multi-purpose chip I/O bus.  &lt;br /&gt;
The bottom 4 bits are the data values. The upper 4-bits are their respective output enables.&lt;br /&gt;
On the ICEPOD-6 the bits are as follows:&lt;br /&gt;
0. UID Chip clk&lt;br /&gt;
1. UID Chip data&lt;br /&gt;
2. USB 0 data/power enable&lt;br /&gt;
3. USB 1 data/power enable&lt;br /&gt;
&lt;br /&gt;
=== CUID - get the UID Chip 8-byte value&amp;lt;span id=&amp;quot;CUID&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Returns a unique 8-byte value for this hardware.&lt;br /&gt;
&lt;br /&gt;
=== HWREV - get the ICE Hardware Revision 4-byte value&amp;lt;span id=&amp;quot;HWREV&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Returns a 4-byte board revision for this hardware.&lt;br /&gt;
 /dmac=-5  Crossbar&lt;br /&gt;
 /dmac=-11  PM 1&lt;br /&gt;
 /dmac=-12  PM 2&lt;br /&gt;
 /dmac=0 Board EPROM ID&lt;br /&gt;
&lt;br /&gt;
=== EVCNT - get the 2 16-bit event counters&amp;lt;span id=&amp;quot;EVCNT&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Returns a 2 16 bit event counters packed into 1 4-byte value.&lt;br /&gt;
&lt;br /&gt;
=== RTCLK - gets the 8-byte RealTime Clock value.&amp;lt;span id=&amp;quot;RTCLK&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Returns an 8-byte value for the RealTime Clock chip if battery backup is enabled.&lt;br /&gt;
&lt;br /&gt;
=== GPS - gets the time and position from an ICE-GPS IO Module&amp;lt;span id=&amp;quot;GPS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Returns an array of 6 doubles as (time,lat,lon,alt,status,nos) where time is &lt;br /&gt;
in SecondsOfYear, lat and lon are in degrees, and altitude is in meters.&lt;br /&gt;
Status is 0=GPS off, 6=GPS track, and nos is the number of satellites in view.&lt;br /&gt;
&lt;br /&gt;
=== DUMP - Dumps debug info to the screen for specific cores and modules.&amp;lt;span id=&amp;quot;DUMP&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Dumps debug info to the screen for specific cores and modules.&lt;br /&gt;
&lt;br /&gt;
Some modules, including the GPS, output even more info when accompanied by the VERBOSE flag.&lt;br /&gt;
The GPS module also waits for the next one-PPS to occur so it can be put in a forall loop as a status display.&lt;br /&gt;
&lt;br /&gt;
All internal cores have a predifined set of registers that will dump to the screen as well.&lt;br /&gt;
Parameter &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;0 is the core signature, a 4-byte ascii code for the algorithm.&lt;br /&gt;
Parameter &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;7 is the clockrate the core was compiled with.&lt;br /&gt;
All other parameters are core specific.&lt;br /&gt;
&lt;br /&gt;
Use /CORE=n on the picdriver command to select which core to dump.&lt;br /&gt;
 (11-14 for PM1, 21-24 for PM2, 41-44 for PM0 cores)&lt;br /&gt;
&lt;br /&gt;
There are a special set of flags to control the register dump:&lt;br /&gt;
 CPN=n Number of registers to dump (def=8)&lt;br /&gt;
 CPW=n Width of registers in bytes (def=4)&lt;br /&gt;
 CPO=n Offset of first register (def=0)&lt;br /&gt;
 CPS=n Stride between registers (def=4)&lt;br /&gt;
&lt;br /&gt;
=== MGTDUMP - Dumps debug info to the screen for specific GigaBit Transceivers.&amp;lt;span id=&amp;quot;MGTDUMP&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Dumps debug info to the screen for specific GigaBit Transceivers.&lt;br /&gt;
If dmac&amp;gt;0 uses dump_mgt, if dmac&amp;lt;0 uses dump_rio&lt;br /&gt;
 dmac&amp;gt;0:  0=CB-PCIe 10=CB-PMs 11=PM1-CB 12=PM2-CB&lt;br /&gt;
 dmac&amp;lt;0:  10=CB-PMs 11=PM1-CB 12=PM2-CB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/onlyinclude&amp;gt;&lt;br /&gt;
[[Category:ICE_Help]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>