com.pentec.adaq.aimaq
Class A1424D

java.lang.Object
  extended by com.pentec.adaq.aimaq.AImaq
      extended by com.pentec.adaq.aimaq.A1424
          extended by com.pentec.adaq.aimaq.A1424D

public class A1424D
extends A1424

This version of the A1424 interface is for Redlake/Duncan multispectral cameras

Author:
Pender Technology

Field Summary
private static byte[] CROSSHAIRSOFF
           
private static byte[] CROSSHAIRSON
           
private static byte[] GAIN1
          Command strings for serial port
private static byte[] GAIN2
           
private static byte[] GAIN3
           
private static byte[] GETOUTPUTMUX
           
private static byte[] INTEGRATIONTIME1
           
private static byte[] INTEGRATIONTIME2
           
private static byte[] INTEGRATIONTIME3
           
private static boolean isDisabled
           
private static byte[] OFFSET1
           
private static byte[] OFFSET2
           
private static byte[] OFFSET3
           
 
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
A1424D()
           
 
Method Summary
static int get1(byte[] abCommand)
          Send a command and return 1 byte
static int get2(byte[] abCommand)
          Send a command and return 2 bytes
static int get3(byte[] abCommand)
          Send a command and return 3 bytes
 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()
           
private static AImaq initNI(java.lang.String $Source)
           
static boolean openDT1100()
           
static boolean openRedlakeMS()
           
static byte[] sendCommand(byte[] abCommand)
           
static boolean set(byte[] abCommand)
           
 void set8BitMode(boolean is8BitMode)
           
static void setCrossHairs(boolean isVisible)
           
 void setGain(int iChannel, int iGain)
           
 void setIntegration(int iChannel, int iIntegration)
           
 void setOffset(int iChannel, int iOffset)
           
 boolean startFastGrab(java.awt.Canvas canvas, int iTop, int iLeft, int iWidth, int iHeight)
           
private static void thrower(int i)
           
 
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

CROSSHAIRSOFF

private static byte[] CROSSHAIRSOFF

CROSSHAIRSON

private static byte[] CROSSHAIRSON

GAIN1

private static byte[] GAIN1
Command strings for serial port


GAIN2

private static byte[] GAIN2

GAIN3

private static byte[] GAIN3

GETOUTPUTMUX

private static byte[] GETOUTPUTMUX

INTEGRATIONTIME1

private static byte[] INTEGRATIONTIME1

INTEGRATIONTIME2

private static byte[] INTEGRATIONTIME2

INTEGRATIONTIME3

private static byte[] INTEGRATIONTIME3

isDisabled

private static boolean isDisabled

OFFSET1

private static byte[] OFFSET1

OFFSET2

private static byte[] OFFSET2

OFFSET3

private static byte[] OFFSET3
Constructor Detail

A1424D

public A1424D()
Method Detail

get1

public static int get1(byte[] abCommand)
Send a command and return 1 byte


get2

public static int get2(byte[] abCommand)
Send a command and return 2 bytes


get3

public static int get3(byte[] abCommand)
Send a command and return 3 bytes


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

initNI

private static AImaq initNI(java.lang.String $Source)

openDT1100

public static boolean openDT1100()

openRedlakeMS

public static boolean openRedlakeMS()

sendCommand

public static byte[] sendCommand(byte[] abCommand)
                          throws java.lang.Exception
Throws:
java.lang.Exception

set

public static boolean set(byte[] abCommand)

set8BitMode

public void set8BitMode(boolean is8BitMode)

setCrossHairs

public static void setCrossHairs(boolean isVisible)

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

startFastGrab

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

thrower

private static void thrower(int i)
                     throws java.lang.Exception
Throws:
java.lang.Exception