com.pentec.adaq.aimaq
Class A1394
java.lang.Object
com.pentec.adaq.aimaq.AImaq
com.pentec.adaq.aimaq.A1394
public class A1394
- extends AImaq
The Java side of the ADAPT IMAQ interface for IEEE 1394 devices
- Author:
- Pender Technology
|
Constructor Summary |
A1394()
|
|
Method Summary |
boolean |
close()
|
boolean |
configureSequence(int iNumFrames,
int iSkipCount,
int iTop,
int iLeft,
int iWidth,
int iHeight)
|
boolean |
finishSequence()
|
int |
getBitsPerPixel()
|
int |
getBytesPerPixel()
|
java.lang.String |
getCamera$()
|
java.lang.String |
getDllVersion$()
|
double |
getFrameRate()
|
protected static int |
getGain()
|
int |
getGain(int iChannel)
|
int |
getHeight()
|
static long |
getID()
|
protected static int |
getIDHi()
|
protected static int |
getIDLo()
|
boolean |
getImage(byte[] ab)
|
boolean |
getImage(short[] as)
|
int |
getIntegration(int iChannel)
|
int |
getLostBufferCount()
|
java.lang.String |
getModel$()
|
protected static int |
getOffset()
|
int |
getOffset(int iChannel)
|
boolean |
getSequence(int iFrameNumber,
byte[] ab)
|
boolean |
getSequence(int iFrameNumber,
short[] as)
|
int |
getSequencePointer()
|
protected static int |
getShutter()
|
long |
getSN()
|
protected java.lang.String |
getVendor$()
|
protected java.lang.String[] |
getVideoModes$()
|
protected int[][] |
getVideoModeSettings()
|
int |
getWidth()
|
boolean |
isColor()
|
protected static boolean |
open()
|
static boolean |
openBasler()
|
private static long |
reverseBytes(long lin)
|
private static long |
reverseDWords(long lin)
|
static void |
saveCameraSettings(Controller controller)
Save current camera settings to ini file |
void |
setColorMode(boolean isColor)
|
static void |
setFormat(int i)
|
static void |
setFrameRate(int i)
|
protected static void |
setGain(int i)
|
void |
setGain(int iChannel,
int iGain)
|
void |
setIntegration(int iChannel,
int iIntegration)
|
static void |
setMode(int i)
|
protected static void |
setOffset(int i)
|
void |
setOffset(int iChannel,
int iOffset)
|
private static void |
setProperty(java.lang.String $Property,
int ival)
|
protected static void |
setShutter(int i)
|
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()
|
static void |
verifyCameraSettings(Controller controller)
Make sure camera settings are where we want them and not where NI
drivers set them |
| 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 |
FRAMERATE_15
public static final int FRAMERATE_15
- See Also:
- Constant Field Values
FRAMERATE_3_75
public static final int FRAMERATE_3_75
- See Also:
- Constant Field Values
FRAMERATE_30
public static final int FRAMERATE_30
- See Also:
- Constant Field Values
FRAMERATE_7_5
public static final int FRAMERATE_7_5
- See Also:
- Constant Field Values
isColor
private boolean isColor
A1394
public A1394()
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
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$()
- Specified by:
getCamera$ in class AImaq
getDllVersion$
public java.lang.String getDllVersion$()
getFrameRate
public double getFrameRate()
- Specified by:
getFrameRate in class AImaq
getGain
protected static int getGain()
getGain
public int getGain(int iChannel)
- Specified by:
getGain in class AImaq
getHeight
public int getHeight()
- Specified by:
getHeight in class AImaq
getID
public static long getID()
getIDHi
protected static int getIDHi()
getIDLo
protected static int getIDLo()
getImage
public boolean getImage(byte[] ab)
- Specified by:
getImage in class AImaq
getImage
public boolean getImage(short[] as)
- Specified by:
getImage in class AImaq
getIntegration
public int getIntegration(int iChannel)
- Specified by:
getIntegration in class AImaq
getLostBufferCount
public int getLostBufferCount()
- Specified by:
getLostBufferCount in class AImaq
getModel$
public java.lang.String getModel$()
getOffset
protected static int getOffset()
getOffset
public int getOffset(int iChannel)
- Specified by:
getOffset in class AImaq
getSequence
public boolean getSequence(int iFrameNumber,
byte[] ab)
- Specified by:
getSequence in class AImaq
getSequence
public boolean getSequence(int iFrameNumber,
short[] as)
- Specified by:
getSequence in class AImaq
getSequencePointer
public int getSequencePointer()
- Specified by:
getSequencePointer in class AImaq
getShutter
protected static int getShutter()
getSN
public long getSN()
- Specified by:
getSN in class AImaq
getVendor$
protected java.lang.String getVendor$()
getVideoModes$
protected java.lang.String[] getVideoModes$()
getVideoModeSettings
protected int[][] getVideoModeSettings()
getWidth
public int getWidth()
- Specified by:
getWidth in class AImaq
isColor
public boolean isColor()
open
protected static boolean open()
openBasler
public static boolean openBasler()
reverseBytes
private static long reverseBytes(long lin)
reverseDWords
private static long reverseDWords(long lin)
saveCameraSettings
public static void saveCameraSettings(Controller controller)
- Save current camera settings to ini file
setColorMode
public void setColorMode(boolean isColor)
setFormat
public static void setFormat(int i)
setFrameRate
public static void setFrameRate(int i)
setGain
protected static void setGain(int i)
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
setMode
public static void setMode(int i)
setOffset
protected static void setOffset(int i)
setOffset
public void setOffset(int iChannel,
int iOffset)
- Specified by:
setOffset in class AImaq
setProperty
private static void setProperty(java.lang.String $Property,
int ival)
setShutter
protected static void setShutter(int i)
startFastGrab
public 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
verifyCameraSettings
public static void verifyCameraSettings(Controller controller)
- Make sure camera settings are where we want them and not where NI
drivers set them
- Parameters:
controller - the camera controller