com.pentec.adaq.aimaq
Class A1424

java.lang.Object
  extended by com.pentec.adaq.aimaq.AImaq
      extended by com.pentec.adaq.aimaq.A1424
Direct Known Subclasses:
A1424C, A1424D, A1424I

public abstract class A1424
extends AImaq

The Java side of the ADAPT IMAQ interface for the NI PCI-1424 frame grabber

Author:
Pender Technology

Field Summary
static int CEDIP_ACQ_FGSN
          Indigo data acquisition system (remote StreamStor) frame grabber
static int CEDIP_VIS_FGSN
          Indigo visualization system frame grabber
static int INDIGO_ACQ_FGSN
          Indigo data acquisition system (remote StreamStor) frame grabber
static int INDIGO_VIS_FGSN
          Indigo visualization system frame grabber
 
Fields inherited from class com.pentec.adaq.aimaq.AImaq
aimaq, is1394, is1424, is1428, isDT1100, isMS2100, isMS3100, lStartTime
 
Constructor Summary
A1424()
           
 
Method Summary
 boolean close()
           
 boolean configureSequence(int iNumFrames, int iSkipCount, int iTop, int iLeft, int iWidth, int iHeight)
           
 boolean finishSequence()
           
 java.lang.String getCamera$()
           
static java.lang.String getDiType()
           
 int getFGSN()
           
 double getFrameRate()
           
 int getHeight()
           
protected  int getIID()
          Get interface id
 boolean getImage(byte[] ab)
           
 int getLostBufferCount()
           
protected  boolean getMonoImage(short[] as)
           
protected  boolean getMonoSequence(int iFrameNumber, short[] as)
           
protected  boolean getRGBImage(short[] as)
           
protected  boolean getRGBSequence(int iFrameNumber, short[] as)
           
 boolean getSequence(int iFrameNumber, byte[] ab)
           
 int getSequencePointer()
           
protected  int getSID()
          Get session id
 long getSN()
           
protected  boolean getVideoHeader(short[] as)
           
 int getWidth()
           
static boolean isCedip()
           
static boolean isIndigo()
           
protected static boolean open()
           
static byte[] serialRead(int i)
           
static boolean serialWrite(byte[] ab)
           
abstract  boolean startFastGrab(java.awt.Canvas canvas, int iTop, int iLeft, int iWidth, int iHeight)
           
 boolean startGrab(int iTop, int iLeft, int iWidth, int iHeight)
           
 boolean startSequence()
           
 boolean stopFastGrab()
           
 
Methods inherited from class com.pentec.adaq.aimaq.AImaq
closeAImaq, getBitsPerPixel, getBytesPerPixel, getGain, getHandle, getImage, getIntegration, getOffset, getSequence, getSequence, getStartTime, getSystem, getSystemDescription, initSequence, is1394, is1424, isMS2100, isMS3100, main, setGain, setIntegration, setOffset, setStartTime, waitForTrigger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CEDIP_ACQ_FGSN

public static final int CEDIP_ACQ_FGSN
Indigo data acquisition system (remote StreamStor) frame grabber

See Also:
Constant Field Values

CEDIP_VIS_FGSN

public static final int CEDIP_VIS_FGSN
Indigo visualization system frame grabber

See Also:
Constant Field Values

INDIGO_ACQ_FGSN

public static final int INDIGO_ACQ_FGSN
Indigo data acquisition system (remote StreamStor) frame grabber

See Also:
Constant Field Values

INDIGO_VIS_FGSN

public static final int INDIGO_VIS_FGSN
Indigo visualization system frame grabber

See Also:
Constant Field Values
Constructor Detail

A1424

public A1424()
Method Detail

close

public boolean close()
Specified by:
close in class AImaq

configureSequence

public boolean configureSequence(int iNumFrames,
                                 int iSkipCount,
                                 int iTop,
                                 int iLeft,
                                 int iWidth,
                                 int iHeight)
Specified by:
configureSequence in class AImaq

finishSequence

public boolean finishSequence()
Specified by:
finishSequence in class AImaq

getCamera$

public java.lang.String getCamera$()
Specified by:
getCamera$ in class AImaq

getDiType

public static java.lang.String getDiType()

getFGSN

public int getFGSN()

getFrameRate

public double getFrameRate()
Specified by:
getFrameRate in class AImaq

getHeight

public int getHeight()
Specified by:
getHeight in class AImaq

getIID

protected int getIID()
Get interface id


getImage

public boolean getImage(byte[] ab)
Specified by:
getImage in class AImaq

getLostBufferCount

public int getLostBufferCount()
Specified by:
getLostBufferCount in class AImaq

getMonoImage

protected boolean getMonoImage(short[] as)

getMonoSequence

protected boolean getMonoSequence(int iFrameNumber,
                                  short[] as)

getRGBImage

protected boolean getRGBImage(short[] as)

getRGBSequence

protected boolean getRGBSequence(int iFrameNumber,
                                 short[] as)

getSequence

public boolean getSequence(int iFrameNumber,
                           byte[] ab)
Specified by:
getSequence in class AImaq

getSequencePointer

public int getSequencePointer()
Specified by:
getSequencePointer in class AImaq

getSID

protected int getSID()
Get session id


getSN

public long getSN()
Specified by:
getSN in class AImaq

getVideoHeader

protected boolean getVideoHeader(short[] as)

getWidth

public int getWidth()
Specified by:
getWidth in class AImaq

isCedip

public static boolean isCedip()

isIndigo

public static boolean isIndigo()

open

protected static boolean open()

serialRead

public static byte[] serialRead(int i)

serialWrite

public static boolean serialWrite(byte[] ab)

startFastGrab

public abstract boolean startFastGrab(java.awt.Canvas canvas,
                                      int iTop,
                                      int iLeft,
                                      int iWidth,
                                      int iHeight)
Specified by:
startFastGrab in class AImaq

startGrab

public boolean startGrab(int iTop,
                         int iLeft,
                         int iWidth,
                         int iHeight)
Specified by:
startGrab in class AImaq

startSequence

public boolean startSequence()
Specified by:
startSequence in class AImaq

stopFastGrab

public boolean stopFastGrab()
Specified by:
stopFastGrab in class AImaq