ICETC

From ICE Enterprises
Jump to navigation Jump to search

TimeCode functions for ICE analysis (NextMidas Only)

<func>    Function to perform (TOP,EXTRACT,INSERT,SELECT)
<mode>    TimeCode Mode (SDN0,IRB0,SMS, ICE, etc)
<infile>  Input file (form=SI)
<outfile> Output file (form=SI,NH)
<time>    Time result

The EXTRACT function processes <infile> for all timecodes found and writes
a type3000 record in <outfile> for each one.  Each record contains OFFSET,
WSEC, FSEC, and TOP (extrapolated to beginning of file).  The <time> result
holds the latest timecode processed.  If ICE packets are being used as the
timecode source, the timecode mode=ICE.

The TOP function processes <infile> for the 1st timecode found and 
extrapolates back to the beginning of the file.  This is written to the
result <time> and the timecode field of <outfile> if present.

The INSERT function will add the timecode bit to <infile> and write the 
result in <outfile>.  The start time is <time> and will be extrapolated
using the delta from <infile>.

The SELECT function will search for time indices inside of a type 3000
packet file. The results will be saved to the output file (as a type 3000
file). 

Switches:
  /TEST	checks the timecodes for internal consistency, issues warnings if not
  /TIC=n      Use the Nth time tic when TOP function
  /TCTOLR=x   Tolerance in seconds for consistency checks (def=100nSec)
  /DELTA=t    Override delta in file
  /NCHN=n     Number of channels in a multichannel stream
  /ICHN=n     Channel of interest in a multichannel stream
  /SELMODE=NEARLE|NEARGE|MINMAX   
  
Examples:

Widgets: NONE