Difference between revisions of "Writing Tables Files"

From ICE Enterprises
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
=== SNAPSET ===
 
=== SNAPSET ===
  
SNAPSET={ ! Contains defaults
+
The required SNAPSET section provides the global defaults for the application.
 +
 
 +
SNAPSET={
 
   ...
 
   ...
 +
}
 +
 +
==== CONTROLS ====
 +
 +
Global (pulling out controls/widgets):
 +
CONTROLS={
 +
  ADDR={}
 +
  AFNAME={}
 
}
 
}
 +
  
 
=== CASE ===
 
=== CASE ===
  
CASE_XXX={ ! Particular cases
+
CASE_XXX={
  ...
+
  ...
}
+
}
 +
 
 +
CASE_YYY={
 +
  SWITCHES=$CASE/SOME_SWITCH ! Inheritance from case above
 +
}
 +
 
 +
==== Inheritance ====
  
CASE_YYY={
+
CASE=<BASE CASE>
  SWITCHES=$CASE/SOME_SWITCH ! Inheritance from case above
 
}
 
  
 +
=== Miscellaneous ===
  
 
- Left hand side switches override right ones
 
- Left hand side switches override right ones
Line 36: Line 52:
  
 
- V6Ms have Tuner Banks using onboard memory
 
- V6Ms have Tuner Banks using onboard memory
 +
 +
==== Switches with SNAPAPP ====
  
 
- Switches with SnapApp
 
- Switches with SnapApp
  - nM> snapapp/use={CARD=PIC1AUTO,PORT=MODULE1}
+
 
 +
nM> snapapp/use={CARD=PIC1AUTO,PORT=MODULE1}
 
    ^^^Table file syntax^^^
 
    ^^^Table file syntax^^^
 +
 +
==== Network Applications ====
 +
 +
Often the intended destination or source of data for the application is another machine over the network rather than the local disk.
  
 
(Flags is a Switch)
 
(Flags is a Switch)
Line 45: Line 68:
 
Streaming:
 
Streaming:
  
nM> res hwalias  -> show PIC cards and NIC ports
+
nM> res hwalias  -> show PIC cards and NIC ports
 
 
ATL=8M
 
 
 
Global (pulling out controls/widgets):
 
CONTROLS={
 
  ADDR={}
 
  AFNAME={}
 
}
 
  
 +
ATL=8M
  
 
Network/Streaming Interface
 
Network/Streaming Interface
Line 62: Line 78:
 
=== APPLIST ===
 
=== APPLIST ===
  
APPLIST={
+
APPLIST={
  APP_NAME="A,B,C" (common-separated list of cases)
+
  APP_NAME="A,B,C" (common-separated list of cases)
}
+
}
  
 
=== SERVER_DEFAULTS ===
 
=== SERVER_DEFAULTS ===
  
SERVER_DEFAULTS={
+
SERVER_DEFAULTS={
  SCENE=<SCENE>
+
  SCENE=<SCENE>
  MODE=OPEN
+
  MODE=OPEN
}
+
}
  
 
=== Examples ===
 
=== Examples ===
  
SERVER_DEFAULTS={
+
SERVER_DEFAULTS={
  SCENE=<SCENE>
+
  SCENE=<SCENE>
  MODE=OPEN
+
  MODE=OPEN
}
+
}
  
 
   AFNAME="udp:^{hwalias.nic1port}/224.1.10.1:7777"
 
   AFNAME="udp:^{hwalias.nic1port}/224.1.10.1:7777"
Line 86: Line 102:
 
   SWITCHES=RF/ADLM/GC={APKT=OFF,RFFREQ=900,RFBW=80,RFGAIN=10,RFOPTS=ENABLE|LNA|DCS|AIS}
 
   SWITCHES=RF/ADLM/GC={APKT=OFF,RFFREQ=900,RFBW=80,RFGAIN=10,RFOPTS=ENABLE|LNA|DCS|AIS}
  
CASE_CH1={
+
CASE_CH1={
  CARD=PIC1AUTO
+
  CARD=PIC1AUTO
  PORT=MODULE1
+
  PORT=MODULE1
  AFNAME="udp:^{hwalias.nic1port}/224.1.10.1:7777"
+
  AFNAME="udp:^{hwalias.nic1port}/224.1.10.1:7777"
}
+
}
  
  
 
Catcher:
 
Catcher:
  
SERVER_DEFAULTS={
+
SERVER_DEFAULTS={
  SCENE=MONALL
+
  SCENE=MONALL
  MODE=OPEN
+
  MODE=OPEN
}
+
}
  
 
   PORT=STREAM1
 
   PORT=STREAM1
Line 113: Line 129:
 
   }
 
   }
  
CASE_MCH1={
+
CASE_MCH1={
  CARD=NIC1AUTO
+
  CARD=NIC1AUTO
  PORT=STREAM1
+
  PORT=STREAM1
  SWITCHES=NIC/GC={ADDR=224.1.10.1,SOCK=7777}/PKTLEN=8K/ATL=8M/AAUX=11
+
  SWITCHES=NIC/GC={ADDR=224.1.10.1,SOCK=7777}/PKTLEN=8K/ATL=8M/AAUX=11
  AFNAME=mon1arch
+
  AFNAME=mon1arch
}
+
}
  
CASE_MCH2={
+
CASE_MCH2={
  CARD=NIC2AUTO
+
  CARD=NIC2AUTO
  PORT=STREAM2
+
  PORT=STREAM2
  SWITCHES=NIC/GC={ADDR=224.1.10.2,SOCK=7777}/PKTLEN=8K/ATL=8M/AAUX=12
+
  SWITCHES=NIC/GC={ADDR=224.1.10.2,SOCK=7777}/PKTLEN=8K/ATL=8M/AAUX=12
  AFNAME=mon2arch
+
  AFNAME=mon2arch
}
+
}
  
 
== See Also ==
 
== See Also ==

Revision as of 15:05, 17 July 2020

This page is under construction; as such, the information presented herein is not complete: please do not rely of this documentation before it is completed. Thank you.

A table file contains all information necessary to run complex ICE signal process applications of many varieties and can be custom tailored for all of the ICE hardware platforms and modules.

Structure

SNAPSET

The required SNAPSET section provides the global defaults for the application.

SNAPSET={
 ...
}

CONTROLS

Global (pulling out controls/widgets): CONTROLS={

 ADDR={}
 AFNAME={}

}


CASE

CASE_XXX={
  ...
}
CASE_YYY={
  SWITCHES=$CASE/SOME_SWITCH	! Inheritance from case above
}

Inheritance

CASE=<BASE CASE>

Miscellaneous

- Left hand side switches override right ones

- Good practice to use PIC<N>AUTO alias (obtained from ICE AUTO)

- The PIC card is divided between A and B sides, where the A side has

 odd numbers and the B even.
 - A side: Module 1, odd numbered tuners on processor modules
 - B side: Module 2, even numbered tuners on processor modules

- Auto-start with ACTION=X, where X is the name or unique abbreviation

 of the snapper button corresponding to the desired action, e.g.,
 ACTION=mon to bring up snapper and start monitoring

- V6Ms have Tuner Banks using onboard memory

Switches with SNAPAPP

- Switches with SnapApp

nM> snapapp/use={CARD=PIC1AUTO,PORT=MODULE1}

^^^Table file syntax^^^

Network Applications

Often the intended destination or source of data for the application is another machine over the network rather than the local disk.

(Flags is a Switch)

Streaming:

nM> res hwalias  -> show PIC cards and NIC ports
ATL=8M

Network/Streaming Interface

Multicaster:

APPLIST

APPLIST={
  APP_NAME="A,B,C" (common-separated list of cases)
}

SERVER_DEFAULTS

SERVER_DEFAULTS={
  SCENE=<SCENE>
  MODE=OPEN
}

Examples

SERVER_DEFAULTS={
  SCENE=<SCENE>
  MODE=OPEN
}
 AFNAME="udp:^{hwalias.nic1port}/224.1.10.1:7777"
 AFQUAL="FUNC=ICEMULTI,PKTLEN=8K"
 WAVE=NONE
 FLAGS=BLOCK=1M
 SWITCHES=RF/ADLM/GC={APKT=OFF,RFFREQ=900,RFBW=80,RFGAIN=10,RFOPTS=ENABLE|LNA|DCS|AIS}
CASE_CH1={
  CARD=PIC1AUTO
  PORT=MODULE1
  AFNAME="udp:^{hwalias.nic1port}/224.1.10.1:7777"
}


Catcher:

SERVER_DEFAULTS={
  SCENE=MONALL
  MODE=OPEN
}
 PORT=STREAM1
 SWITCHES=NIC/GC={ADDR=224.10.0.1,SOCK=7777}/PKTLEN=8K
 AFNAME=archive
 AFQUAL="RG=IFS"
 WAVE=none
 FLAGS=NONE
 SWITCHES=ACQ
 CONTROLS={
   ADDR={}
   AFNAME={}
 }
CASE_MCH1={
  CARD=NIC1AUTO
  PORT=STREAM1
  SWITCHES=NIC/GC={ADDR=224.1.10.1,SOCK=7777}/PKTLEN=8K/ATL=8M/AAUX=11
  AFNAME=mon1arch
}
CASE_MCH2={
  CARD=NIC2AUTO
  PORT=STREAM2
  SWITCHES=NIC/GC={ADDR=224.1.10.2,SOCK=7777}/PKTLEN=8K/ATL=8M/AAUX=12
  AFNAME=mon2arch
}

See Also