com.pentec.adaq.aimaq
Class A1424I

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

public class A1424I
extends A1424

This version of the A1424 interface is for the Indigo Phoenix camera attached to the LVDS version of the PCI-1424.

Author:
Pender Technology

Field Summary
private static boolean flagDecodeHeader
           
 
Fields inherited from class com.pentec.adaq.aimaq.A1424
CEDIP_ACQ_FGSN, CEDIP_VIS_FGSN, INDIGO_ACQ_FGSN, INDIGO_VIS_FGSN
 
Fields inherited from class com.pentec.adaq.aimaq.AImaq
aimaq, is1394, is1424, is1428, isDT1100, isMS2100, isMS3100, lStartTime
 
Constructor Summary
A1424I()
           
 
Method Summary
static boolean buildICD(int iWidth, int iHeight)
          Generate an ICD file for the Indigo Phoenix according to the FPA width and height provided.
static int[] decodeHeader(short[] as)
          Decode the Indigo frame header embedded on the first line of video [0] = Integration time code (+92/10000 gives time in milliseconds) [1] = Preset data word (indicates which preset is active for this frame) [2] = Global data word [3] = Frame counter (22-bits)
static java.lang.String decodeITC(int itc)
           
 int getBitsPerPixel()
           
 int getBytesPerPixel()
           
 java.lang.String getCamera$()
           
 double getFrameRate()
           
 int getGain(int iChannel)
           
 int getHeight()
           
 boolean getImage(short[] as)
           
 int getIntegration(int iChannel)
           
 int getOffset(int iChannel)
           
 boolean getSequence(int iFrameNumber, short[] as)
           
 long getSN()
           
 int getWidth()
           
static boolean openIndigo()
           
 void setGain(int iChannel, int iGain)
           
 void setIntegration(int iChannel, int iIntegration)
           
 void setOffset(int iChannel, int iOffset)
           
static void startDecodeHeader(FIST controller)
           
 boolean startFastGrab(java.awt.Canvas canvas, int iTop, int iLeft, int iWidth, int iHeight)
           
static void stopDecodeHeader()
           
 
Methods inherited from class com.pentec.adaq.aimaq.A1424
close, configureSequence, finishSequence, getDiType, getFGSN, getIID, getImage, getLostBufferCount, getMonoImage, getMonoSequence, getRGBImage, getRGBSequence, getSequence, getSequencePointer, getSID, getVideoHeader, isCedip, isIndigo, open, serialRead, serialWrite, startGrab, startSequence, stopFastGrab
 
Methods inherited from class com.pentec.adaq.aimaq.AImaq
closeAImaq, getHandle, getSequence, getStartTime, getSystem, getSystemDescription, initSequence, is1394, is1424, isMS2100, isMS3100, main, setStartTime, waitForTrigger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flagDecodeHeader

private static boolean flagDecodeHeader
Constructor Detail

A1424I

public A1424I()
Method Detail

buildICD

public static boolean buildICD(int iWidth,
                               int iHeight)
Generate an ICD file for the Indigo Phoenix according to the FPA width and height provided. Save it to C:\Program Files\National Instruments\NI-IMAQ\Data\IndigoAdaptGenerated.icd

Parameters:
iWidth - width of the FPA
iHeight - height of the FPA
Returns:
true on success, false otherwise

decodeHeader

public static int[] decodeHeader(short[] as)
Decode the Indigo frame header embedded on the first line of video [0] = Integration time code (+92/10000 gives time in milliseconds) [1] = Preset data word (indicates which preset is active for this frame) [2] = Global data word [3] = Frame counter (22-bits)


decodeITC

public static java.lang.String decodeITC(int itc)

getBitsPerPixel

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

getBytesPerPixel

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

getCamera$

public java.lang.String getCamera$()
Overrides:
getCamera$ in class A1424

getFrameRate

public double getFrameRate()
Overrides:
getFrameRate in class A1424

getGain

public int getGain(int iChannel)
Specified by:
getGain in class AImaq

getHeight

public int getHeight()
Overrides:
getHeight in class A1424

getImage

public boolean getImage(short[] as)
Specified by:
getImage in class AImaq

getIntegration

public int getIntegration(int iChannel)
Specified by:
getIntegration in class AImaq

getOffset

public int getOffset(int iChannel)
Specified by:
getOffset in class AImaq

getSequence

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

getSN

public long getSN()
Overrides:
getSN in class A1424

getWidth

public int getWidth()
Overrides:
getWidth in class A1424

openIndigo

public static boolean openIndigo()

setGain

public void setGain(int iChannel,
                    int iGain)
Specified by:
setGain in class AImaq

setIntegration

public void setIntegration(int iChannel,
                           int iIntegration)
Specified by:
setIntegration in class AImaq

setOffset

public void setOffset(int iChannel,
                      int iOffset)
Specified by:
setOffset in class AImaq

startDecodeHeader

public static void startDecodeHeader(FIST controller)

startFastGrab

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

stopDecodeHeader

public static void stopDecodeHeader()