com.pentec.adaq.aimaq
Class A1424I
java.lang.Object
com.pentec.adaq.aimaq.AImaq
com.pentec.adaq.aimaq.A1424
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
| 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 |
flagDecodeHeader
private static boolean flagDecodeHeader
A1424I
public A1424I()
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 FPAiHeight - 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()