nxm.ice.prim
Class sourcepic

java.lang.Object
  extended bynxm.sys.lib.Command
      extended bynxm.sys.lib.Primitive
          extended bynxm.ice.prim.sourcepic
All Implemented Interfaces:
nxm.sys.inc.Commandable, nxm.sys.inc.Constants, nxm.sys.inc.DataTypes, nxm.sys.inc.IDable, nxm.sys.inc.MessageHandler, java.lang.Runnable

public final class sourcepic
extends nxm.sys.lib.Primitive

Synchronize a PIC acquisition into a Midas file/pipe. If /MULTI=n is used, this primitive controls multiple ports at once.

Author:
Jeff Schoen

Field Summary
static java.lang.String algorithmList
           
static java.lang.String archList
           
static java.lang.String pktmodeList
           
static java.lang.String replayList
           
static java.lang.String syncList
           
 
Fields inherited from class nxm.sys.lib.Primitive
bufSize, todo
 
Fields inherited from class nxm.sys.lib.Command
args, id, isPiped, M, MA, MD, MQ, MR, MT, MU, name, option, queue, state, support, thread, verbose
 
Fields inherited from interface nxm.sys.inc.DataTypes
ALAW, ASCII, BMAX, BMIN, BOOL, BYTE, COMPLEX, CONVERT_TYPE_LIST, CRAY, DATA_TYPE_LIST, DMAX, DMIN, DOUBLE, EEEI, FLOAT, FMAX, FMIN, IEEE, IMAX, IMIN, INT, LMAX, LMIN, LONG, MATRIX, NONHOMOGENEOUS, NUMBER, OBJECT, PACKED, QUAD, RESULT_TYPE_LIST, SCALAR, STRING, TABLE, TRANSMATRIX, ULAW, VAX, VECTOR, XLONG, XMAX, XMIN, XMODE
 
Fields inherited from interface nxm.sys.inc.Constants
ANGULAR_VELOCITY_PRECESSING_COR, B1G, B1K, B1M, B1T, B64K, CYC2RAD, DEF_EARTH_ANGULAR_VELOCITY, DEG2RAD, E, EARTH_ANGULAR_VELOCITY, EARTH_ECCENTRICITY, EARTH_EQUATORIAL_RADIUS, EARTH_FLATTENING_FACTOR, EARTH_GRAV_CONSTANT_W_ATMOS, EARTH_GRAV_CONSTANT_WO_ATMOS, FEET2METERS, HALFPI, IAU_EARTH_ANGULAR_VELOCITY, LN2DB, LN2LOG, LNTEN, MASS_OF_EARTH_W_ATMOS, METERS2FEET, METERS2NM, METERS2SM, NM2FEET, NM2METERS, PI, POLAR_RADIUS_IN_METERS, POLAR_RADIUS_OF_CURVATURE, RAD2CYC, RAD2DEG, SM2FEET, SM2METERS, SPEED_OF_LIGHT, TWOPI
 
Fields inherited from interface nxm.sys.inc.Commandable
ABORT, CLOSE, DONE, EXIT, FINISH, INIT, NOOP, NORMAL, OPEN, PAUSE, PROCESS, RESTART, RESUME, SLEEP, START, stateList, stateListOffset, STOP, SUSPEND, WAIT
 
Constructor Summary
sourcepic()
           
 
Method Summary
 int close()
           
 java.lang.String getAlgorithm()
           
 Archiver getArchiver()
           
 int getArgument(int n)
           
 int getCBLost()
           
 int getChannel()
           
 int getCycle()
           
 int getDec()
           
 MDevIce getDevIce()
           
 int getDmaMode()
           
 java.lang.String getFormat()
           
 double getFreq()
           
 int getGain()
           
 int getHBLost()
           
 double getOffset()
           
 int getRate()
           
 java.lang.String getReplay()
           
 int getSkip()
           
 nxm.sys.lib.Time getTime()
           
 void join(java.lang.String addr)
           
 void leave(java.lang.String addr)
           
 int open()
           
 int process()
           
 void setAlgorithm(java.lang.String value)
           
 void setArgument(int n, int value)
           
 void setBreak(int value)
           
 void setChannel(int value)
           
 void setDec(int value)
           
 void setFreq(double value)
           
 void setGain(int value)
           
 void setRate(int value)
           
 void setRatio(double value)
           
 void setReplay(int nreplay)
           
 void setReplay(java.lang.String value)
           
 void setStats(int value)
           
 void startArchiver(java.lang.String fname)
           
 void stopArchiver()
           
 
Methods inherited from class nxm.sys.lib.Primitive
todo, todo
 
Methods inherited from class nxm.sys.lib.Command
checkin, checkout, getArgs, getContext, getID, getMQ, getPollTime, getState, isPipable, processException, processMessage, processMessage, restart, run, setArgs, setPollTime, setState, setState, stateToString, thisIsMe, toString, verify, whoIsThis
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

replayList

public static java.lang.String replayList

algorithmList

public static java.lang.String algorithmList

syncList

public static java.lang.String syncList

archList

public static java.lang.String archList

pktmodeList

public static java.lang.String pktmodeList
Constructor Detail

sourcepic

public sourcepic()
Method Detail

open

public int open()

process

public int process()

close

public int close()

startArchiver

public void startArchiver(java.lang.String fname)

stopArchiver

public void stopArchiver()

setReplay

public void setReplay(java.lang.String value)

setReplay

public void setReplay(int nreplay)

setDec

public void setDec(int value)

setGain

public void setGain(int value)

setRate

public void setRate(int value)

setFreq

public void setFreq(double value)

setRatio

public void setRatio(double value)

setChannel

public void setChannel(int value)

setAlgorithm

public void setAlgorithm(java.lang.String value)

setArgument

public void setArgument(int n,
                        int value)

setBreak

public void setBreak(int value)

setStats

public void setStats(int value)

join

public void join(java.lang.String addr)

leave

public void leave(java.lang.String addr)

getReplay

public java.lang.String getReplay()

getDec

public int getDec()

getGain

public int getGain()

getRate

public int getRate()

getFreq

public double getFreq()

getChannel

public int getChannel()

getCycle

public int getCycle()

getSkip

public int getSkip()

getAlgorithm

public java.lang.String getAlgorithm()

getArgument

public int getArgument(int n)

getTime

public nxm.sys.lib.Time getTime()

getFormat

public java.lang.String getFormat()

getHBLost

public int getHBLost()

getCBLost

public int getCBLost()

getDmaMode

public int getDmaMode()

getOffset

public double getOffset()

getDevIce

public MDevIce getDevIce()

getArchiver

public Archiver getArchiver()