@Namespace(value="FlyCapture2") @Properties(inherit=FlyCapture2.class) public class GigECamera extends CameraBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
GigECamera()
Default constructor.
|
GigECamera(long size)
Native array allocator.
|
GigECamera(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Error |
Connect() |
Error |
Connect(PGRGuid pGuid)
The following functions are inherited from CameraBase.
|
Error |
DeregisterAllEvents() |
Error |
DeregisterEvent(EventOptions pOpts) |
Error |
Disconnect()
Disconnects the camera object from the camera.
|
Error |
DiscoverGigEPacketSize(int[] packetSize) |
Error |
DiscoverGigEPacketSize(IntBuffer packetSize) |
Error |
DiscoverGigEPacketSize(IntPointer packetSize)
Discover the largest packet size that works for the network link
between the PC and the camera.
|
Error |
EnableLUT(boolean on)
Enable or disable LUT functionality on the camera.
|
Error |
FireSoftwareTrigger() |
Error |
FireSoftwareTrigger(boolean broadcast)
Fire the software trigger according to the DCAM specifications.
|
Error |
GetActiveLUTBank(int[] pActiveBank) |
Error |
GetActiveLUTBank(IntBuffer pActiveBank) |
Error |
GetActiveLUTBank(IntPointer pActiveBank)
Get the LUT bank that is currently being used.
|
Error |
GetCameraInfo(CameraInfo pCameraInfo)
Retrieves information from the camera such as serial number, model
name and other camera information.
|
Error |
GetConfiguration(FC2Config pConfig)
Get the configuration associated with the camera object.
|
Error |
GetCycleTime(TimeStamp timeStamp)
Returns a Timestamp struct containing 1394 CYCLE_TIME information
|
Error |
GetEmbeddedImageInfo(EmbeddedImageInfo pInfo)
Get the current status of the embedded image information register,
as well as the availability of each embedded property.
|
Error |
GetGigEConfig(GigEConfig pGigEConfig)
Get the current gige config on the camera.
|
Error |
GetGigEImageBinningSettings(int[] horzBinnningValue,
int[] vertBinnningValue) |
Error |
GetGigEImageBinningSettings(IntBuffer horzBinnningValue,
IntBuffer vertBinnningValue) |
Error |
GetGigEImageBinningSettings(IntPointer horzBinnningValue,
IntPointer vertBinnningValue)
Get the current binning settings on the camera.
|
Error |
GetGigEImageSettings(GigEImageSettings pImageSettings)
Get the current image settings on the camera.
|
Error |
GetGigEImageSettingsInfo(GigEImageSettingsInfo pInfo)
Get information about the image settings possible on the camera.
|
Error |
GetGigEImagingMode(int[] mode) |
Error |
GetGigEImagingMode(IntBuffer mode) |
Error |
GetGigEImagingMode(IntPointer mode)
Get the current imaging mode on the camera.
|
Error |
GetGigEProperty(GigEProperty pGigEProp)
Get the specified GigEProperty.
|
Error |
GetGigEStreamChannelInfo(int channel,
GigEStreamChannel pChannel)
Get the stream channel information for the specified channel.
|
Error |
GetGPIOPinDirection(int pin,
int[] pDirection) |
Error |
GetGPIOPinDirection(int pin,
IntBuffer pDirection) |
Error |
GetGPIOPinDirection(int pin,
IntPointer pDirection)
Get the GPIO pin direction for the specified pin.
|
Error |
GetLUTBankInfo(int bank,
boolean[] pReadSupported,
boolean[] pWriteSupported) |
Error |
GetLUTBankInfo(int bank,
BoolPointer pReadSupported,
BoolPointer pWriteSupported)
Query the read/write status of a single LUT bank.
|
Error |
GetLUTChannel(int bank,
int channel,
int sizeEntries,
int[] pEntries) |
Error |
GetLUTChannel(int bank,
int channel,
int sizeEntries,
IntBuffer pEntries) |
Error |
GetLUTChannel(int bank,
int channel,
int sizeEntries,
IntPointer pEntries)
Get the LUT channel settings from the camera.
|
Error |
GetLUTInfo(LUTData pData)
Query if LUT support is available on the camera.
|
Error |
GetMemoryChannel(int[] pCurrentChannel) |
Error |
GetMemoryChannel(IntBuffer pCurrentChannel) |
Error |
GetMemoryChannel(IntPointer pCurrentChannel)
Retrieve the current memory channel from the camera.
|
Error |
GetMemoryChannelInfo(int[] pNumChannels) |
Error |
GetMemoryChannelInfo(IntBuffer pNumChannels) |
Error |
GetMemoryChannelInfo(IntPointer pNumChannels)
Query the camera for memory channel support.
|
Error |
GetNumStreamChannels(int[] numChannels) |
Error |
GetNumStreamChannels(IntBuffer numChannels) |
Error |
GetNumStreamChannels(IntPointer numChannels)
Get the number of stream channels present on the camera.
|
GigECamera |
getPointer(long i) |
Error |
GetProperty(Property pProp)
Reads the settings for the specified property from the camera.
|
Error |
GetPropertyInfo(PropertyInfo pPropInfo)
Retrieves information about the specified camera property.
|
static BytePointer |
GetRegisterString(int registerVal) |
Error |
GetStats(CameraStats pStats) |
Error |
GetStrobe(StrobeControl pStrobeControl)
Retrieve current strobe settings from the camera.
|
Error |
GetStrobeInfo(StrobeInfo pStrobeInfo)
Retrieve strobe information from the camera.
|
Error |
GetTriggerDelay(Property pTriggerDelay)
Retrieve current trigger delay settings from the camera.
|
Error |
GetTriggerDelayInfo(PropertyInfo pTriggerDelayInfo)
Retrieve trigger delay information from the camera.
|
Error |
GetTriggerMode(TriggerMode pTriggerMode)
Retrieve current trigger settings from the camera.
|
Error |
GetTriggerModeInfo(TriggerModeInfo pTriggerModeInfo)
Retrieve trigger information from the camera.
|
boolean |
IsConnected()
Checks if the camera object is connected to a physical camera
specified by a GUID.
|
GigECamera |
position(long position) |
Error |
QueryGigEImagingMode(int mode,
boolean[] isSupported) |
Error |
QueryGigEImagingMode(int mode,
BoolPointer isSupported)
Check if the particular imaging mode is supported by the camera.
|
Error |
ReadGVCPMemory(int _address,
byte[] pBuffer,
int length) |
Error |
ReadGVCPMemory(int _address,
ByteBuffer pBuffer,
int length) |
Error |
ReadGVCPMemory(int _address,
BytePointer pBuffer,
int length)
Read a GVCP memory block.
|
Error |
ReadGVCPRegister(int _address,
int[] pValue) |
Error |
ReadGVCPRegister(int _address,
IntBuffer pValue) |
Error |
ReadGVCPRegister(int _address,
IntPointer pValue)
Read a GVCP register.
|
Error |
ReadGVCPRegisterBlock(int _address,
int[] pBuffer,
int length) |
Error |
ReadGVCPRegisterBlock(int _address,
IntBuffer pBuffer,
int length) |
Error |
ReadGVCPRegisterBlock(int _address,
IntPointer pBuffer,
int length)
Read a GVCP register block.
|
Error |
ReadRegister(int _address,
int[] pValue) |
Error |
ReadRegister(int _address,
IntBuffer pValue) |
Error |
ReadRegister(int _address,
IntPointer pValue)
Read the specified register from the camera.
|
Error |
ReadRegisterBlock(short addressHigh,
int addressLow,
int[] pBuffer,
int length) |
Error |
ReadRegisterBlock(short addressHigh,
int addressLow,
IntBuffer pBuffer,
int length) |
Error |
ReadRegisterBlock(short addressHigh,
int addressLow,
IntPointer pBuffer,
int length)
Read from the specified register block on the camera.
|
Error |
RegisterAllEvents(EventOptions pOpts) |
Error |
RegisterEvent(EventOptions pOpts) |
Error |
ResetStats() |
Error |
RestoreFromMemoryChannel(int channel)
Restore the specfied current memory channel.
|
Error |
RetrieveBuffer(Image pImage)
Retrieves the the next image object containing the next image.
|
Error |
SaveToMemoryChannel(int channel)
Save the current settings to the specfied current memory channel.
|
Error |
SetActiveLUTBank(int activeBank)
Set the LUT bank that will be used.
|
Error |
SetCallback(ImageEventCallback callbackFn) |
Error |
SetCallback(ImageEventCallback callbackFn,
Pointer pCallbackData)
Sets the callback data to be used on completion of image transfer.
|
Error |
SetConfiguration(FC2Config pConfig)
Set the configuration associated with the camera object.
|
Error |
SetEmbeddedImageInfo(EmbeddedImageInfo pInfo)
Sets the on/off values of the embedded image information structure
to the camera.
|
Error |
SetGigEConfig(GigEConfig pGigEConfig)
Set the gige config specified to the camera.
|
Error |
SetGigEImageBinningSettings(int horzBinnningValue,
int vertBinnningValue)
Set the specified binning values to the camera.
|
Error |
SetGigEImageSettings(GigEImageSettings pImageSettings)
Set the image settings specified to the camera.
|
Error |
SetGigEImagingMode(int mode)
Set the current imaging mode to the camera.
|
Error |
SetGigEProperty(GigEProperty pGigEProp)
Set the specified GigEProperty.
|
Error |
SetGigEStreamChannelInfo(int channel,
GigEStreamChannel pChannel)
Set the stream channel information for the specified channel.
|
Error |
SetGPIOPinDirection(int pin,
int direction) |
Error |
SetGPIOPinDirection(int pin,
int direction,
boolean broadcast)
Set the GPIO pin direction for the specified pin.
|
Error |
SetLUTChannel(int bank,
int channel,
int sizeEntries,
int[] pEntries) |
Error |
SetLUTChannel(int bank,
int channel,
int sizeEntries,
IntBuffer pEntries) |
Error |
SetLUTChannel(int bank,
int channel,
int sizeEntries,
IntPointer pEntries)
Set the LUT channel settings to the camera.
|
Error |
SetProperty(Property pProp) |
Error |
SetProperty(Property pProp,
boolean broadcast)
Writes the settings for the specified property to the camera.
|
Error |
SetStrobe(StrobeControl pStrobeControl) |
Error |
SetStrobe(StrobeControl pStrobeControl,
boolean broadcast)
Set current strobe settings to the camera.
|
Error |
SetTriggerDelay(Property pTriggerDelay) |
Error |
SetTriggerDelay(Property pTriggerDelay,
boolean broadcast)
Set the specified trigger delay settings to the camera.
|
Error |
SetTriggerMode(TriggerMode pTriggerMode) |
Error |
SetTriggerMode(TriggerMode pTriggerMode,
boolean broadcast)
Set the specified trigger settings to the camera.
|
Error |
SetUserBuffers(byte[] pMemBuffers,
int size,
int numBuffers) |
Error |
SetUserBuffers(ByteBuffer pMemBuffers,
int size,
int numBuffers) |
Error |
SetUserBuffers(BytePointer pMemBuffers,
int size,
int numBuffers)
Specify user allocated buffers to use as image data buffers.
|
Error |
StartCapture() |
Error |
StartCapture(ImageEventCallback callbackFn,
Pointer pCallbackData)
Starts isochronous image capture.
|
static Error |
StartSyncCapture(int numCameras,
GigECamera ppCameras) |
static Error |
StartSyncCapture(int numCameras,
GigECamera ppCameras,
ImageEventCallback pCallbackFns,
Pointer pCallbackDataArray) |
static Error |
StartSyncCapture(int numCameras,
PointerPointer ppCameras,
ImageEventCallback pCallbackFns,
PointerPointer pCallbackDataArray)
StartSyncCapture() with GigE Cameras is not supported.
|
Error |
StopCapture()
Stops isochronous image transfer and cleans up all associated
resources.
|
Error |
WaitForBufferEvent(Image pImage,
int eventNumber)
Retrieves the next image event containing the next part of the image.
|
Error |
WriteGVCPMemory(int _address,
byte[] pBuffer,
int length) |
Error |
WriteGVCPMemory(int _address,
ByteBuffer pBuffer,
int length) |
Error |
WriteGVCPMemory(int _address,
BytePointer pBuffer,
int length)
Write a GVCP Memory block.
|
Error |
WriteGVCPRegister(int _address,
int value) |
Error |
WriteGVCPRegister(int _address,
int value,
boolean broadcast)
Write a GVCP register.
|
Error |
WriteGVCPRegisterBlock(int _address,
int[] pBuffer,
int length) |
Error |
WriteGVCPRegisterBlock(int _address,
IntBuffer pBuffer,
int length) |
Error |
WriteGVCPRegisterBlock(int _address,
IntPointer pBuffer,
int length)
Write a GVCP register block.
|
Error |
WriteRegister(int _address,
int value) |
Error |
WriteRegister(int _address,
int value,
boolean broadcast)
Write to the specified register on the camera.
|
Error |
WriteRegisterBlock(short addressHigh,
int addressLow,
int[] pBuffer,
int length) |
Error |
WriteRegisterBlock(short addressHigh,
int addressLow,
IntBuffer pBuffer,
int length) |
Error |
WriteRegisterBlock(short addressHigh,
int addressLow,
IntPointer pBuffer,
int length)
Write to the specified register block on the camera.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public GigECamera(Pointer p)
Pointer(Pointer)
.public GigECamera(long size)
Pointer.position(long)
.public GigECamera()
public GigECamera position(long position)
public GigECamera getPointer(long i)
getPointer
in class Pointer
@ByVal public Error WriteGVCPRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int") int value, @Cast(value="bool") boolean broadcast)
address
- GVCP address to be written to.value
- The value to be written.broadcast
- Whether the action should be broadcast.@ByVal public Error WriteGVCPRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int") int value)
@ByVal public Error ReadGVCPRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") IntPointer pValue)
address
- GVCP address to be read from.pValue
- The value that is read.@ByVal public Error ReadGVCPRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") IntBuffer pValue)
@ByVal public Error ReadGVCPRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") int[] pValue)
@ByVal public Error WriteGVCPRegisterBlock(@Cast(value="unsigned int") int _address, @Cast(value="const unsigned int*") IntPointer pBuffer, @Cast(value="unsigned int") int length)
address
- GVCP address to be write to.pBuffer
- Array containing data to be written.length
- Size of array, in quadlets.@ByVal public Error WriteGVCPRegisterBlock(@Cast(value="unsigned int") int _address, @Cast(value="const unsigned int*") IntBuffer pBuffer, @Cast(value="unsigned int") int length)
@ByVal public Error WriteGVCPRegisterBlock(@Cast(value="unsigned int") int _address, @Cast(value="const unsigned int*") int[] pBuffer, @Cast(value="unsigned int") int length)
@ByVal public Error ReadGVCPRegisterBlock(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") IntPointer pBuffer, @Cast(value="unsigned int") int length)
address
- GVCP address to be read from.pBuffer
- Array for data to be read into.length
- Size of array, in quadlets.@ByVal public Error ReadGVCPRegisterBlock(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") IntBuffer pBuffer, @Cast(value="unsigned int") int length)
@ByVal public Error ReadGVCPRegisterBlock(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") int[] pBuffer, @Cast(value="unsigned int") int length)
@ByVal public Error WriteGVCPMemory(@Cast(value="unsigned int") int _address, @Cast(value="const unsigned char*") BytePointer pBuffer, @Cast(value="unsigned int") int length)
address
- GVCP address to be write to.pBuffer
- Array containing data to be written in increments.length
- Size of array, in quadlets.@ByVal public Error WriteGVCPMemory(@Cast(value="unsigned int") int _address, @Cast(value="const unsigned char*") ByteBuffer pBuffer, @Cast(value="unsigned int") int length)
@ByVal public Error WriteGVCPMemory(@Cast(value="unsigned int") int _address, @Cast(value="const unsigned char*") byte[] pBuffer, @Cast(value="unsigned int") int length)
@ByVal public Error ReadGVCPMemory(@Cast(value="unsigned int") int _address, @Cast(value="unsigned char*") BytePointer pBuffer, @Cast(value="unsigned int") int length)
address
- GVCP address to be read from.pBuffer
- Array for data to be read into.length
- Size of array, in quadlets.@ByVal public Error ReadGVCPMemory(@Cast(value="unsigned int") int _address, @Cast(value="unsigned char*") ByteBuffer pBuffer, @Cast(value="unsigned int") int length)
@ByVal public Error ReadGVCPMemory(@Cast(value="unsigned int") int _address, @Cast(value="unsigned char*") byte[] pBuffer, @Cast(value="unsigned int") int length)
@ByVal public Error GetGigEProperty(GigEProperty pGigEProp)
pGigEProp
- The GigE property to get.@ByVal public Error SetGigEProperty(@Const GigEProperty pGigEProp)
pGigEProp
- The GigE property to set.@ByVal public Error DiscoverGigEPacketSize(@Cast(value="unsigned int*") IntPointer packetSize)
packetSize
- The maximum packet size supported by the link.@ByVal public Error DiscoverGigEPacketSize(@Cast(value="unsigned int*") IntBuffer packetSize)
@ByVal public Error DiscoverGigEPacketSize(@Cast(value="unsigned int*") int[] packetSize)
@ByVal public Error QueryGigEImagingMode(@Cast(value="FlyCapture2::Mode") int mode, @Cast(value="bool*") BoolPointer isSupported)
mode
- The mode to check.isSupported
- Whether the mode is supported.@ByVal public Error QueryGigEImagingMode(@Cast(value="FlyCapture2::Mode") int mode, @Cast(value="bool*") boolean[] isSupported)
@ByVal public Error GetGigEImagingMode(@Cast(value="FlyCapture2::Mode*") IntPointer mode)
mode
- Current imaging mode on the camera.@ByVal public Error GetGigEImagingMode(@Cast(value="FlyCapture2::Mode*") IntBuffer mode)
@ByVal public Error GetGigEImagingMode(@Cast(value="FlyCapture2::Mode*") int[] mode)
@ByVal public Error SetGigEImagingMode(@Cast(value="FlyCapture2::Mode") int mode)
mode
- Imaging mode to set to the camera.@ByVal public Error GetGigEImageSettingsInfo(GigEImageSettingsInfo pInfo)
pInfo
- Image settings information.@ByVal public Error GetGigEImageSettings(GigEImageSettings pImageSettings)
pImageSettings
- Current image settings on camera.@ByVal public Error SetGigEImageSettings(@Const GigEImageSettings pImageSettings)
pImageSettings
- Image settings to set to camera.@ByVal public Error GetGigEImageBinningSettings(@Cast(value="unsigned int*") IntPointer horzBinnningValue, @Cast(value="unsigned int*") IntPointer vertBinnningValue)
horzBinnningValue
- Current horizontal binning value.vertBinnningValue
- Current vertical binning value.@ByVal public Error GetGigEImageBinningSettings(@Cast(value="unsigned int*") IntBuffer horzBinnningValue, @Cast(value="unsigned int*") IntBuffer vertBinnningValue)
@ByVal public Error GetGigEImageBinningSettings(@Cast(value="unsigned int*") int[] horzBinnningValue, @Cast(value="unsigned int*") int[] vertBinnningValue)
@ByVal public Error SetGigEImageBinningSettings(@Cast(value="unsigned int") int horzBinnningValue, @Cast(value="unsigned int") int vertBinnningValue)
horzBinnningValue
- Horizontal binning value.vertBinnningValue
- Vertical binning value.@ByVal public Error GetNumStreamChannels(@Cast(value="unsigned int*") IntPointer numChannels)
numChannels
- Number of stream channels present.@ByVal public Error GetNumStreamChannels(@Cast(value="unsigned int*") IntBuffer numChannels)
@ByVal public Error GetNumStreamChannels(@Cast(value="unsigned int*") int[] numChannels)
@ByVal public Error GetGigEStreamChannelInfo(@Cast(value="unsigned int") int channel, GigEStreamChannel pChannel)
channel
- Channel number to use.pChannel
- Stream channel information for the specified channel.@ByVal public Error SetGigEStreamChannelInfo(@Cast(value="unsigned int") int channel, GigEStreamChannel pChannel)
channel
- Channel number to use.pChannel
- Stream channel information to use for the specified channel.@ByVal public Error GetGigEConfig(GigEConfig pGigEConfig)
pGigEConfig
- Current configuration on camera.@ByVal public Error SetGigEConfig(@Const GigEConfig pGigEConfig)
pGigEConfig
- configuration to set to camera.@ByVal public Error Connect(PGRGuid pGuid)
Connect
in class CameraBase
pGuid
- The unique identifier for a specific camera on the PC.BusManager::GetCameraFromIndex()
,
BusManager::GetCameraFromSerialNumber()
@ByVal public Error Connect()
Connect
in class CameraBase
@ByVal public Error Disconnect()
CameraBase
Disconnect
in class CameraBase
CameraBase.Connect()
@Cast(value="bool") public boolean IsConnected()
CameraBase
IsConnected
in class CameraBase
CameraBase.Connect()
,
CameraBase.Disconnect()
@ByVal public Error SetCallback(ImageEventCallback callbackFn, @Const Pointer pCallbackData)
CameraBase
SetCallback
in class CameraBase
callbackFn
- A function to be called when a new image is
received.pCallbackData
- A pointer to data that can be passed to the
callback function.CameraBase.StartCapture()
@ByVal public Error SetCallback(ImageEventCallback callbackFn)
SetCallback
in class CameraBase
@ByVal public Error StartCapture(ImageEventCallback callbackFn, @Const Pointer pCallbackData)
CameraBase
StartCapture
in class CameraBase
callbackFn
- A function to be called when a new image is
received.pCallbackData
- A pointer to data that can be passed to the
callback function.RetrieveBuffer()
,
StartSyncCapture()
,
CameraBase.StopCapture()
@ByVal public Error StartCapture()
StartCapture
in class CameraBase
@ByVal public static Error StartSyncCapture(@Cast(value="unsigned int") int numCameras, @Cast(value="const FlyCapture2::GigECamera**") PointerPointer ppCameras, @Cast(value="FlyCapture2::ImageEventCallback*") @ByPtrPtr ImageEventCallback pCallbackFns, @Cast(value="const void**") PointerPointer pCallbackDataArray)
@ByVal public static Error StartSyncCapture(@Cast(value="unsigned int") int numCameras, @Const @ByPtrPtr GigECamera ppCameras)
@ByVal public static Error StartSyncCapture(@Cast(value="unsigned int") int numCameras, @Const @ByPtrPtr GigECamera ppCameras, @Cast(value="FlyCapture2::ImageEventCallback*") @ByPtrPtr ImageEventCallback pCallbackFns, @Cast(value="const void**") @ByPtrPtr Pointer pCallbackDataArray)
@ByVal public Error RetrieveBuffer(Image pImage)
CameraBase
RetrieveBuffer
in class CameraBase
pImage
- Pointer to Image object to store image data.CameraBase.StartCapture()
,
CameraBase.StopCapture()
@ByVal public Error StopCapture()
CameraBase
StopCapture
in class CameraBase
CameraBase.StartCapture()
,
RetrieveBuffer()
@ByVal public Error WaitForBufferEvent(Image pImage, @Cast(value="unsigned int") int eventNumber)
CameraBase
WaitForBufferEvent
in class CameraBase
pImage
- Pointer to Image object to store image data.eventNumber
- The event number to wait for.CameraBase.StartCapture()
,
RetrieveBuffer()
,
CameraBase.StopCapture()
@ByVal public Error SetUserBuffers(@Cast(value="unsigned char*const") BytePointer pMemBuffers, int size, int numBuffers)
CameraBase
SetUserBuffers
in class CameraBase
pMemBuffers
- Pointer to memory buffers to be written to.size
- The size of each buffer (in bytes).numBuffers
- Number of buffers in the array.CameraBase.StartCapture()
,
RetrieveBuffer()
,
CameraBase.StopCapture()
@ByVal public Error SetUserBuffers(@Cast(value="unsigned char*const") ByteBuffer pMemBuffers, int size, int numBuffers)
SetUserBuffers
in class CameraBase
@ByVal public Error SetUserBuffers(@Cast(value="unsigned char*const") byte[] pMemBuffers, int size, int numBuffers)
SetUserBuffers
in class CameraBase
@ByVal public Error GetConfiguration(FC2Config pConfig)
CameraBase
GetConfiguration
in class CameraBase
pConfig
- Pointer to the configuration structure to be filled.SetConfiguration()
@ByVal public Error SetConfiguration(@Const FC2Config pConfig)
CameraBase
SetConfiguration
in class CameraBase
pConfig
- Pointer to the configuration structure to be used.GetConfiguration()
@ByVal public Error GetCameraInfo(CameraInfo pCameraInfo)
CameraBase
GetCameraInfo
in class CameraBase
pCameraInfo
- Pointer to the camera information structure
to be filled.@ByVal public Error GetPropertyInfo(PropertyInfo pPropInfo)
CameraBase
GetPropertyInfo
in class CameraBase
pPropInfo
- Pointer to the PropertyInfo structure to be filled.GetProperty()
,
SetProperty()
@ByVal public Error GetProperty(Property pProp)
CameraBase
GetProperty
in class CameraBase
pProp
- Pointer to the Property structure to be filled.GetPropertyInfo()
,
SetProperty()
@ByVal public Error SetProperty(@Const Property pProp, @Cast(value="bool") boolean broadcast)
CameraBase
SetProperty
in class CameraBase
pProp
- Pointer to the Property structure to be used.broadcast
- Whether the action should be broadcast.GetPropertyInfo()
,
GetProperty()
@ByVal public Error SetProperty(@Const Property pProp)
SetProperty
in class CameraBase
@ByVal public Error GetGPIOPinDirection(@Cast(value="unsigned int") int pin, @Cast(value="unsigned int*") IntPointer pDirection)
CameraBase
GetGPIOPinDirection
in class CameraBase
pin
- Pin to get the direction for.pDirection
- Direction of the pin. 0 for input, 1 for output.SetGPIOPinDirection()
@ByVal public Error GetGPIOPinDirection(@Cast(value="unsigned int") int pin, @Cast(value="unsigned int*") IntBuffer pDirection)
GetGPIOPinDirection
in class CameraBase
@ByVal public Error GetGPIOPinDirection(@Cast(value="unsigned int") int pin, @Cast(value="unsigned int*") int[] pDirection)
GetGPIOPinDirection
in class CameraBase
@ByVal public Error SetGPIOPinDirection(@Cast(value="unsigned int") int pin, @Cast(value="unsigned int") int direction, @Cast(value="bool") boolean broadcast)
CameraBase
SetGPIOPinDirection
in class CameraBase
pin
- Pin to get the direction for.direction
- Direction of the pin. 0 for input, 1 for output.broadcast
- Whether the action should be broadcast.GetGPIOPinDirection()
@ByVal public Error SetGPIOPinDirection(@Cast(value="unsigned int") int pin, @Cast(value="unsigned int") int direction)
SetGPIOPinDirection
in class CameraBase
@ByVal public Error GetTriggerModeInfo(TriggerModeInfo pTriggerModeInfo)
CameraBase
GetTriggerModeInfo
in class CameraBase
pTriggerModeInfo
- Structure to receive trigger information.GetTriggerMode()
,
SetTriggerMode()
,
GetTriggerDelayInfo()
,
GetTriggerDelay()
,
SetTriggerDelay()
@ByVal public Error GetTriggerMode(TriggerMode pTriggerMode)
CameraBase
GetTriggerMode
in class CameraBase
pTriggerMode
- Structure to receive trigger mode settings.GetTriggerModeInfo()
,
SetTriggerMode()
,
GetTriggerDelayInfo()
,
GetTriggerDelay()
,
SetTriggerDelay()
@ByVal public Error SetTriggerMode(@Const TriggerMode pTriggerMode, @Cast(value="bool") boolean broadcast)
CameraBase
SetTriggerMode
in class CameraBase
pTriggerMode
- Structure providing trigger mode settings.broadcast
- Whether the action should be broadcast.GetTriggerModeInfo()
,
GetTriggerMode()
,
GetTriggerDelayInfo()
,
GetTriggerDelay()
,
SetTriggerDelay()
@ByVal public Error SetTriggerMode(@Const TriggerMode pTriggerMode)
SetTriggerMode
in class CameraBase
@ByVal public Error FireSoftwareTrigger(@Cast(value="bool") boolean broadcast)
CameraBase
FireSoftwareTrigger
in class CameraBase
broadcast
- Whether the action should be broadcast.@ByVal public Error FireSoftwareTrigger()
FireSoftwareTrigger
in class CameraBase
@ByVal public Error GetTriggerDelayInfo(@Cast(value="FlyCapture2::TriggerDelayInfo*") PropertyInfo pTriggerDelayInfo)
CameraBase
GetTriggerDelayInfo
in class CameraBase
pTriggerDelayInfo
- Structure to receive trigger delay information.GetTriggerModeInfo()
,
GetTriggerMode()
,
SetTriggerMode()
,
GetTriggerDelay()
,
SetTriggerDelay()
@ByVal public Error GetTriggerDelay(@Cast(value="FlyCapture2::TriggerDelay*") Property pTriggerDelay)
CameraBase
GetTriggerDelay
in class CameraBase
pTriggerDelay
- Structure to receive trigger delay settings.GetTriggerModeInfo()
,
GetTriggerMode()
,
SetTriggerMode()
,
GetTriggerDelayInfo()
,
SetTriggerDelay()
@ByVal public Error SetTriggerDelay(@Cast(value="const FlyCapture2::TriggerDelay*") Property pTriggerDelay, @Cast(value="bool") boolean broadcast)
CameraBase
SetTriggerDelay
in class CameraBase
pTriggerDelay
- Structure providing trigger delay settings.broadcast
- Whether the action should be broadcast.GetTriggerModeInfo()
,
GetTriggerMode()
,
SetTriggerMode()
,
GetTriggerDelayInfo()
,
GetTriggerDelay()
@ByVal public Error SetTriggerDelay(@Cast(value="const FlyCapture2::TriggerDelay*") Property pTriggerDelay)
SetTriggerDelay
in class CameraBase
@ByVal public Error GetStrobeInfo(StrobeInfo pStrobeInfo)
CameraBase
GetStrobeInfo
in class CameraBase
pStrobeInfo
- Structure to receive strobe information.GetStrobe()
,
SetStrobe()
@ByVal public Error GetStrobe(StrobeControl pStrobeControl)
CameraBase
GetStrobe
in class CameraBase
pStrobeControl
- Structure to receive strobe settings.GetStrobeInfo()
,
SetStrobe()
@ByVal public Error SetStrobe(@Const StrobeControl pStrobeControl, @Cast(value="bool") boolean broadcast)
CameraBase
SetStrobe
in class CameraBase
pStrobeControl
- Structure providing strobe settings.broadcast
- Whether the action should be broadcast.GetStrobeInfo()
,
GetStrobe()
@ByVal public Error SetStrobe(@Const StrobeControl pStrobeControl)
SetStrobe
in class CameraBase
@ByVal public Error GetLUTInfo(LUTData pData)
CameraBase
GetLUTInfo
in class CameraBase
pData
- The LUT structure to be filled.EnableLUT()
,
GetLUTChannel()
,
SetLUTChannel()
@ByVal public Error GetLUTBankInfo(@Cast(value="unsigned int") int bank, @Cast(value="bool*") BoolPointer pReadSupported, @Cast(value="bool*") BoolPointer pWriteSupported)
CameraBase
GetLUTBankInfo
in class CameraBase
bank
- The bank to query.pReadSupported
- Whether reading from the bank is supported.pWriteSupported
- Whether writing to the bank is supported.@ByVal public Error GetLUTBankInfo(@Cast(value="unsigned int") int bank, @Cast(value="bool*") boolean[] pReadSupported, @Cast(value="bool*") boolean[] pWriteSupported)
GetLUTBankInfo
in class CameraBase
@ByVal public Error GetActiveLUTBank(@Cast(value="unsigned int*") IntPointer pActiveBank)
CameraBase
GetActiveLUTBank
in class CameraBase
pActiveBank
- The currently active bank.@ByVal public Error GetActiveLUTBank(@Cast(value="unsigned int*") IntBuffer pActiveBank)
GetActiveLUTBank
in class CameraBase
@ByVal public Error GetActiveLUTBank(@Cast(value="unsigned int*") int[] pActiveBank)
GetActiveLUTBank
in class CameraBase
@ByVal public Error SetActiveLUTBank(@Cast(value="unsigned int") int activeBank)
CameraBase
SetActiveLUTBank
in class CameraBase
activeBank
- The bank to be set as active.@ByVal public Error EnableLUT(@Cast(value="bool") boolean on)
CameraBase
EnableLUT
in class CameraBase
on
- Whether to enable or disable LUT.GetLUTInfo()
,
GetLUTChannel()
,
SetLUTChannel()
@ByVal public Error GetLUTChannel(@Cast(value="unsigned int") int bank, @Cast(value="unsigned int") int channel, @Cast(value="unsigned int") int sizeEntries, @Cast(value="unsigned int*") IntPointer pEntries)
CameraBase
GetLUTChannel
in class CameraBase
bank
- Bank to retrieve.channel
- Channel to retrieve.sizeEntries
- Number of entries in LUT table to read.pEntries
- Array to store LUT entries.GetLUTInfo()
,
EnableLUT()
,
SetLUTChannel()
@ByVal public Error GetLUTChannel(@Cast(value="unsigned int") int bank, @Cast(value="unsigned int") int channel, @Cast(value="unsigned int") int sizeEntries, @Cast(value="unsigned int*") IntBuffer pEntries)
GetLUTChannel
in class CameraBase
@ByVal public Error GetLUTChannel(@Cast(value="unsigned int") int bank, @Cast(value="unsigned int") int channel, @Cast(value="unsigned int") int sizeEntries, @Cast(value="unsigned int*") int[] pEntries)
GetLUTChannel
in class CameraBase
@ByVal public Error SetLUTChannel(@Cast(value="unsigned int") int bank, @Cast(value="unsigned int") int channel, @Cast(value="unsigned int") int sizeEntries, @Cast(value="const unsigned int*") IntPointer pEntries)
CameraBase
SetLUTChannel
in class CameraBase
bank
- Bank to set.channel
- Channel to set.sizeEntries
- Number of entries in LUT table to write. This must be the
same size as numEntries returned by GetLutInfo().pEntries
- Array containing LUT entries to write.GetLUTInfo()
,
EnableLUT()
,
GetLUTChannel()
@ByVal public Error SetLUTChannel(@Cast(value="unsigned int") int bank, @Cast(value="unsigned int") int channel, @Cast(value="unsigned int") int sizeEntries, @Cast(value="const unsigned int*") IntBuffer pEntries)
SetLUTChannel
in class CameraBase
@ByVal public Error SetLUTChannel(@Cast(value="unsigned int") int bank, @Cast(value="unsigned int") int channel, @Cast(value="unsigned int") int sizeEntries, @Cast(value="const unsigned int*") int[] pEntries)
SetLUTChannel
in class CameraBase
@ByVal public Error GetMemoryChannel(@Cast(value="unsigned int*") IntPointer pCurrentChannel)
CameraBase
GetMemoryChannel
in class CameraBase
pCurrentChannel
- Current memory channel.SaveToMemoryChannel()
,
RestoreFromMemoryChannel()
,
GetMemoryChannelInfo()
@ByVal public Error GetMemoryChannel(@Cast(value="unsigned int*") IntBuffer pCurrentChannel)
GetMemoryChannel
in class CameraBase
@ByVal public Error GetMemoryChannel(@Cast(value="unsigned int*") int[] pCurrentChannel)
GetMemoryChannel
in class CameraBase
@ByVal public Error SaveToMemoryChannel(@Cast(value="unsigned int") int channel)
CameraBase
SaveToMemoryChannel
in class CameraBase
channel
- Memory channel to save to.GetMemoryChannel()
,
RestoreFromMemoryChannel()
,
GetMemoryChannelInfo()
@ByVal public Error RestoreFromMemoryChannel(@Cast(value="unsigned int") int channel)
CameraBase
RestoreFromMemoryChannel
in class CameraBase
channel
- Memory channel to restore from.GetMemoryChannel()
,
SaveToMemoryChannel()
,
GetMemoryChannelInfo()
@ByVal public Error GetMemoryChannelInfo(@Cast(value="unsigned int*") IntPointer pNumChannels)
CameraBase
GetMemoryChannelInfo
in class CameraBase
pNumChannels
- Number of memory channels supported.GetMemoryChannel()
,
SaveToMemoryChannel()
,
RestoreFromMemoryChannel()
@ByVal public Error GetMemoryChannelInfo(@Cast(value="unsigned int*") IntBuffer pNumChannels)
GetMemoryChannelInfo
in class CameraBase
@ByVal public Error GetMemoryChannelInfo(@Cast(value="unsigned int*") int[] pNumChannels)
GetMemoryChannelInfo
in class CameraBase
@ByVal public Error GetEmbeddedImageInfo(EmbeddedImageInfo pInfo)
CameraBase
GetEmbeddedImageInfo
in class CameraBase
pInfo
- Structure to be filled.SetEmbeddedImageInfo()
@ByVal public Error SetEmbeddedImageInfo(EmbeddedImageInfo pInfo)
CameraBase
SetEmbeddedImageInfo
in class CameraBase
pInfo
- Structure to be used.GetEmbeddedImageInfo()
@ByVal public Error WriteRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int") int value, @Cast(value="bool") boolean broadcast)
CameraBase
WriteRegister
in class CameraBase
value
- The value to be written.broadcast
- Whether the action should be broadcast.ReadRegister()
@ByVal public Error WriteRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int") int value)
WriteRegister
in class CameraBase
@ByVal public Error ReadRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") IntPointer pValue)
CameraBase
ReadRegister
in class CameraBase
pValue
- The value that is read.WriteRegister()
@ByVal public Error ReadRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") IntBuffer pValue)
ReadRegister
in class CameraBase
@ByVal public Error ReadRegister(@Cast(value="unsigned int") int _address, @Cast(value="unsigned int*") int[] pValue)
ReadRegister
in class CameraBase
@ByVal public Error WriteRegisterBlock(@Cast(value="unsigned short") short addressHigh, @Cast(value="unsigned int") int addressLow, @Cast(value="const unsigned int*") IntPointer pBuffer, @Cast(value="unsigned int") int length)
CameraBase
WriteRegisterBlock
in class CameraBase
addressHigh
- Top 16 bits of the 48 bit absolute address to
write to.addressLow
- Bottom 32 bits of the 48 bits absolute address to
write to.pBuffer
- Array containing data to be written.length
- Size of array, in quadlets.ReadRegisterBlock()
@ByVal public Error WriteRegisterBlock(@Cast(value="unsigned short") short addressHigh, @Cast(value="unsigned int") int addressLow, @Cast(value="const unsigned int*") IntBuffer pBuffer, @Cast(value="unsigned int") int length)
WriteRegisterBlock
in class CameraBase
@ByVal public Error WriteRegisterBlock(@Cast(value="unsigned short") short addressHigh, @Cast(value="unsigned int") int addressLow, @Cast(value="const unsigned int*") int[] pBuffer, @Cast(value="unsigned int") int length)
WriteRegisterBlock
in class CameraBase
@ByVal public Error ReadRegisterBlock(@Cast(value="unsigned short") short addressHigh, @Cast(value="unsigned int") int addressLow, @Cast(value="unsigned int*") IntPointer pBuffer, @Cast(value="unsigned int") int length)
CameraBase
ReadRegisterBlock
in class CameraBase
addressHigh
- Top 16 bits of the 48 bit absolute address to
read from.addressLow
- Bottom 32 bits of the 48 bits absolute address to
read from.pBuffer
- Array to store read data.length
- Size of array, in quadlets.WriteRegisterBlock()
@ByVal public Error ReadRegisterBlock(@Cast(value="unsigned short") short addressHigh, @Cast(value="unsigned int") int addressLow, @Cast(value="unsigned int*") IntBuffer pBuffer, @Cast(value="unsigned int") int length)
ReadRegisterBlock
in class CameraBase
@ByVal public Error ReadRegisterBlock(@Cast(value="unsigned short") short addressHigh, @Cast(value="unsigned int") int addressLow, @Cast(value="unsigned int*") int[] pBuffer, @Cast(value="unsigned int") int length)
ReadRegisterBlock
in class CameraBase
@Cast(value="const char*") public static BytePointer GetRegisterString(@Cast(value="unsigned int") int registerVal)
@ByVal public Error GetCycleTime(TimeStamp timeStamp)
CameraBase
GetCycleTime
in class CameraBase
@ByVal public Error GetStats(CameraStats pStats)
GetStats
in class CameraBase
@ByVal public Error ResetStats()
ResetStats
in class CameraBase
@ByVal public Error RegisterEvent(EventOptions pOpts)
RegisterEvent
in class CameraBase
@ByVal public Error DeregisterEvent(EventOptions pOpts)
DeregisterEvent
in class CameraBase
@ByVal public Error RegisterAllEvents(EventOptions pOpts)
RegisterAllEvents
in class CameraBase
@ByVal public Error DeregisterAllEvents()
DeregisterAllEvents
in class CameraBase
Copyright © 2023. All rights reserved.