<?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_STATUS</id>
	<title>ICE Help STATUS - 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_STATUS"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Help_STATUS&amp;action=history"/>
	<updated>2026-06-13T13:15:19Z</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_STATUS&amp;diff=574&amp;oldid=prev</id>
		<title>ConvertBot: Status interface to various ICE products</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Help_STATUS&amp;diff=574&amp;oldid=prev"/>
		<updated>2020-04-27T18:33:05Z</updated>

		<summary type="html">&lt;p&gt;Status interface to various ICE products&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:''' Status interface to various ICE products&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Newer ICE products often involve systems and cards that may be polled for status.&lt;br /&gt;
&lt;br /&gt;
=== SERVICE - communications with ICE services using SNAPAPP or SNAPPER macros&amp;lt;span id=&amp;quot;SERVICE&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The /SERVER=port switch runs the NeXtMidas SNAPPER macro in server mode.&lt;br /&gt;
The /SERVICE=port switch runs the NeXtMidas SNAPAPP macro and its SNAPPER children in server mode.&lt;br /&gt;
&lt;br /&gt;
It then has a browser interface at http://localhost:&amp;lt;port&amp;gt;.&lt;br /&gt;
This page has links to /System, /Controls, /Registry, /Results, /Files, /System, and /Displays.&lt;br /&gt;
&lt;br /&gt;
The Http /System interface supports any parameter with results access.&lt;br /&gt;
The GC result is a table of all control widgets for the macro.&lt;br /&gt;
&lt;br /&gt;
For example, to start a real time SNAPPER archive:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/System/Set?GC.MODE.ACTION=RTARCHIVE&lt;br /&gt;
&lt;br /&gt;
To get the current state of a transfer:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/System/Get?GC.MODE.ACTION&lt;br /&gt;
&lt;br /&gt;
To get the current state of an ARCHIVE file transfer:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/System/Get?REG.NOOP.PROGRESS&lt;br /&gt;
&lt;br /&gt;
this returns REG.NOOP.PROGRESS=frac or null if completed.&lt;br /&gt;
&lt;br /&gt;
The Http /Controls, /Results and /Registry interfaces support a table syntax for control also used&lt;br /&gt;
by the ICENET interface.  Developers may write their own code to exercise this control mechanism.&lt;br /&gt;
 &lt;br /&gt;
For example:&lt;br /&gt;
To start a SNAPPER macro in archive mode:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/Controls/Set?MODE=RTARCHIVE&lt;br /&gt;
&lt;br /&gt;
To change the freq and decimation control widgets of the macro:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/Controls/Set?{FREQ=1.2,DEC=256}&lt;br /&gt;
&lt;br /&gt;
To access members of the snapper macro's sourcepic primitive directly:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/Registry/SP/Get?{FREQ=,DEC=,GAIN=}&lt;br /&gt;
&lt;br /&gt;
To set and get multiple parameters in an atomic manner:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/Controls/Set?{CHAN=11,FREQ=,DEC=}&lt;br /&gt;
&lt;br /&gt;
where the entries without values execute as Gets.&lt;br /&gt;
&lt;br /&gt;
If snapper is invoked with the /NBX=chns switch, the tuner export sourcepics are accessed as:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/Registry/SPX&amp;lt;n&amp;gt;/Get?{FREQ=,DEC=,GAIN=,REPLAY=}&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;n&amp;gt; is the 1 based channel number.&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/Registry/SPX5/Set?{FREQ=1.23,DEC=32,GAIN=0,REPLAY=Cont}&lt;br /&gt;
&lt;br /&gt;
will start channel 5 in continuous mode with the given freq/dec/gain parameters.&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/Registry/SPX30/Set?{REPLAY=Stop}&lt;br /&gt;
&lt;br /&gt;
will stop channel 30.&lt;br /&gt;
&lt;br /&gt;
There are two special keys intercepted by the HTTP server:&lt;br /&gt;
 /WAIT=n waits for N seconds before processing the next key&lt;br /&gt;
 /SYNC   waits until the previous key has been processed&lt;br /&gt;
If /SYNC is the last key, the socket will not return an HTTP status ACK until &lt;br /&gt;
the command has been processed.&lt;br /&gt;
&lt;br /&gt;
The system status of the machine hosting an ICE service is available at:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/System/&amp;lt;sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;sub&amp;gt; is:&lt;br /&gt;
 Top       - CPU usage&lt;br /&gt;
 Ice-Disks - status of disk drives&lt;br /&gt;
 Ice-Health - low-level status on an Ice-Block&lt;br /&gt;
 Ice-Driver - card status and temps recorded by the driver&lt;br /&gt;
 Ice-PICs - configuration of ICE-PICS&lt;br /&gt;
 Ice-NICs - configuration of ICE-NICS&lt;br /&gt;
 Ice-QICs - configuration of ICE-QICS&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;.tbl&amp;quot; is appended to &amp;lt;sub&amp;gt; the output will be in serialized table format for easy parsing.&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/System/Ice-PICs.tbl&lt;br /&gt;
&lt;br /&gt;
gets the ICEPIC configuration in table form.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== DRIVER - status of the ICE cards via the driver interface&amp;lt;span id=&amp;quot;DRIVER&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Accessing the card status via the driver interface does not actually touch the cards.&lt;br /&gt;
The processes using the cards deposit status to the driver roughly every 10 seconds.&lt;br /&gt;
This interface can be polled as often as desired without affecting card performance.&lt;br /&gt;
It shows the status of the special iceram buffers and devices on this system.&lt;br /&gt;
&lt;br /&gt;
Here is an example readout:&lt;br /&gt;
&lt;br /&gt;
RamStart  : 68496 Mby&lt;br /&gt;
RamDisk   : 9000 Mby&lt;br /&gt;
RamMapped : 96 Mby&lt;br /&gt;
RamPage   : 4 Kby&lt;br /&gt;
RamAlloc  : 2&lt;br /&gt;
RamAddr   : Start=0x10b9000000 End=0x12f1800000&lt;br /&gt;
Buffers   : 1&lt;br /&gt;
Buffer&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;0  : Addr=0x10b9000000 Size=0x232800000&lt;br /&gt;
Devices   : 5&lt;br /&gt;
Device&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;0  : Revision=0x80 MemBase=0xdf700000 CardTemp=43 MJS=1491551801 PeakTemp=48 PMJS=1491390847 CompTemp=(43,-1,-1,24,24) Flags=0x00000000 Active=0&lt;br /&gt;
Device&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1  : Revision=0x6b MemBase=0xdf600000 CardTemp=-1 MJS=1491551814 PeakTemp=-1 PMJS=1491390678 CompTemp=(-1,-1,-1,-1,-1) Flags=0x00000000 Active=0&lt;br /&gt;
Device&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2  : Revision=0x71 MemBase=0xfb300000 CardTemp=48 MJS=1491551839 PeakTemp=48 PMJS=1491549735 CompTemp=(48,-1,-1,42,39) Flags=0x0000000c Active=0&lt;br /&gt;
Device&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;3  : Revision=0x71 MemBase=0xfb200000 CardTemp=47 MJS=1491552632 PeakTemp=47 PMJS=1491552577 CompTemp=(47,-1,-1,35,0) Flags=0x00000000 Active=20&lt;br /&gt;
Device&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;4  : Revision=0x6b MemBase=0xfb100000 CardTemp=-1 MJS=1491551860 PeakTemp=-1 PMJS=1491390679 CompTemp=(-1,-1,-1,-1,-1) Flags=0x00000000 Active=0&lt;br /&gt;
Version   : 398&lt;br /&gt;
&lt;br /&gt;
In this case there is only one ram Buffer&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;0 which is the Midas ramdisk.&lt;br /&gt;
The partitioning of this buffer is managed by the Midas file system services.&lt;br /&gt;
Dynamically mapped buffers will show up as buffers 1-N in this readout.&lt;br /&gt;
&lt;br /&gt;
There are 5 devices in this system.  Only one of them, Device&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;3, is currently active.&lt;br /&gt;
&lt;br /&gt;
Revision - gives the card type (upper nibble) and PCI engine rev (lower nibble).&lt;br /&gt;
&lt;br /&gt;
MemBase  - shows the PCIe address of the device's mailbox registers. &lt;br /&gt;
&lt;br /&gt;
CardTemp - shows the max of the temp sensors on the card at the ModifiedJulianSeconds MJS.&lt;br /&gt;
&lt;br /&gt;
PeakTemp - shows the max of CardTemp since the last system boot (or driver reload) occurred at PMJS.&lt;br /&gt;
&lt;br /&gt;
CompTemp - shows the individual temp sensor for each component (or -1 for no sensor) as follows:&lt;br /&gt;
 (MainBoard,IOModule1,IOModule2,ProcessorModule1,ProcessorModule2)&lt;br /&gt;
&lt;br /&gt;
Flags - shows operational flags as follows:&lt;br /&gt;
&lt;br /&gt;
 Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;0 - has 10MHz  on MainBoard XSync port&lt;br /&gt;
 Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 - has 1PPS   on MainBoard XSync port&lt;br /&gt;
 Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 - has IRIG-B on MainBoard XSync port&lt;br /&gt;
&lt;br /&gt;
 Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;8 - has 10MHz  on IO-Module1&lt;br /&gt;
 Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;9 - has 1PPS   on IO-Module1&lt;br /&gt;
&lt;br /&gt;
 Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;12 - has 10MHz  on IO-Module2&lt;br /&gt;
 Bit&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;13 - has 1PPS   on IO-Module2&lt;br /&gt;
&lt;br /&gt;
The C defines for these flags are in $ICEROOT/inc/icelib.h as  DRV_FLG_*.&lt;br /&gt;
&lt;br /&gt;
Active - counts the number of DMA channels currently running on the card (or -1 if halted or never reset)&lt;br /&gt;
&lt;br /&gt;
Version - is the software version number of the driver&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>