@Namespace(value="FlyCapture2") @Properties(inherit=FlyCapture2.class) public class Camera extends CameraBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Camera()
Default constructor.
|
Camera(long size)
Native array allocator.
|
Camera(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 |
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 |
GetFormat7Configuration(Format7ImageSettings pImageSettings,
int[] pPacketSize,
float[] pPercentage) |
Error |
GetFormat7Configuration(Format7ImageSettings pImageSettings,
IntBuffer pPacketSize,
FloatBuffer pPercentage) |
Error |
GetFormat7Configuration(Format7ImageSettings pImageSettings,
IntPointer pPacketSize,
FloatPointer pPercentage)
Get the current Format7 configuration from the camera.
|
Error |
GetFormat7Info(Format7Info pInfo,
boolean[] pSupported) |
Error |
GetFormat7Info(Format7Info pInfo,
BoolPointer pSupported)
Retrieve the availability of Format7 custom image mode and the
camera capabilities for the specified Format7 mode.
|
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.
|
Camera |
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.
|
Error |
GetVideoModeAndFrameRate(int[] pVideoMode,
int[] pFrameRate) |
Error |
GetVideoModeAndFrameRate(IntBuffer pVideoMode,
IntBuffer pFrameRate) |
Error |
GetVideoModeAndFrameRate(IntPointer pVideoMode,
IntPointer pFrameRate)
Get the current video mode and frame rate from the camera.
|
Error |
GetVideoModeAndFrameRateInfo(int videoMode,
int frameRate,
boolean[] pSupported) |
Error |
GetVideoModeAndFrameRateInfo(int videoMode,
int frameRate,
BoolPointer pSupported)
Query the camera to determine if the specified video mode and
frame rate is supported.
|
boolean |
IsConnected()
Checks if the camera object is connected to a physical camera
specified by a GUID.
|
Camera |
position(long position) |
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 |
SetFormat7Configuration(Format7ImageSettings pImageSettings,
float percentSpeed)
Set the current Format7 configuration to the camera.
|
Error |
SetFormat7Configuration(Format7ImageSettings pImageSettings,
int packetSize)
Set the current Format7 configuration to the camera.
|
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 |
SetVideoModeAndFrameRate(int videoMode,
int frameRate)
Set the specified video mode and frame rate to the camera.
|
Error |
StartCapture() |
Error |
StartCapture(ImageEventCallback callbackFn,
Pointer pCallbackData)
Starts isochronous image capture.
|
static Error |
StartSyncCapture(int numCameras,
Camera ppCameras) |
static Error |
StartSyncCapture(int numCameras,
Camera ppCameras,
ImageEventCallback pCallbackFns,
Pointer pCallbackDataArray) |
static Error |
StartSyncCapture(int numCameras,
PointerPointer ppCameras,
ImageEventCallback pCallbackFns,
PointerPointer pCallbackDataArray) |
Error |
StopCapture()
Stops isochronous image transfer and cleans up all associated
resources.
|
Error |
ValidateFormat7Settings(Format7ImageSettings pImageSettings,
boolean[] pSettingsAreValid,
Format7PacketInfo pPacketInfo) |
Error |
ValidateFormat7Settings(Format7ImageSettings pImageSettings,
BoolPointer pSettingsAreValid,
Format7PacketInfo pPacketInfo)
Validates Format7ImageSettings structure and returns valid packet
size information if the image settings are valid.
|
Error |
WaitForBufferEvent(Image pImage,
int eventNumber)
Retrieves the next image event containing the next part of the image.
|
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 Camera(Pointer p)
Pointer(Pointer)
.public Camera(long size)
Pointer.position(long)
.public Camera()
public Camera getPointer(long i)
getPointer
in class Pointer
@ByVal public Error GetVideoModeAndFrameRateInfo(@Cast(value="FlyCapture2::VideoMode") int videoMode, @Cast(value="FlyCapture2::FrameRate") int frameRate, @Cast(value="bool*") BoolPointer pSupported)
videoMode
- Video mode to check.frameRate
- Frame rate to check.pSupported
- Whether the video mode and frame rate is
supported.GetVideoModeAndFrameRate()
,
SetVideoModeAndFrameRate()
@ByVal public Error GetVideoModeAndFrameRateInfo(@Cast(value="FlyCapture2::VideoMode") int videoMode, @Cast(value="FlyCapture2::FrameRate") int frameRate, @Cast(value="bool*") boolean[] pSupported)
@ByVal public Error GetVideoModeAndFrameRate(@Cast(value="FlyCapture2::VideoMode*") IntPointer pVideoMode, @Cast(value="FlyCapture2::FrameRate*") IntPointer pFrameRate)
pVideoMode
- Current video mode.pFrameRate
- Current frame rate.GetVideoModeAndFrameRateInfo()
,
SetVideoModeAndFrameRate()
@ByVal public Error GetVideoModeAndFrameRate(@Cast(value="FlyCapture2::VideoMode*") IntBuffer pVideoMode, @Cast(value="FlyCapture2::FrameRate*") IntBuffer pFrameRate)
@ByVal public Error GetVideoModeAndFrameRate(@Cast(value="FlyCapture2::VideoMode*") int[] pVideoMode, @Cast(value="FlyCapture2::FrameRate*") int[] pFrameRate)
@ByVal public Error SetVideoModeAndFrameRate(@Cast(value="FlyCapture2::VideoMode") int videoMode, @Cast(value="FlyCapture2::FrameRate") int frameRate)
videoMode
- Video mode to set to camera.frameRate
- Frame rate to set to camera.GetVideoModeAndFrameRateInfo()
,
GetVideoModeAndFrameRate()
@ByVal public Error GetFormat7Info(Format7Info pInfo, @Cast(value="bool*") BoolPointer pSupported)
pInfo
- Structure to be filled with the capabilities of the
specified mode and the current state in the specified
mode.pSupported
- Whether the specified mode is supported.ValidateFormat7Settings()
,
GetFormat7Configuration()
,
SetFormat7Configuration()
@ByVal public Error GetFormat7Info(Format7Info pInfo, @Cast(value="bool*") boolean[] pSupported)
@ByVal public Error ValidateFormat7Settings(@Const Format7ImageSettings pImageSettings, @Cast(value="bool*") BoolPointer pSettingsAreValid, Format7PacketInfo pPacketInfo)
pImageSettings
- Structure containing the image settings.pSettingsAreValid
- Whether the settings are valid.pPacketInfo
- Packet size information that can be used to
determine a valid packet size.GetFormat7Info()
,
GetFormat7Configuration()
,
SetFormat7Configuration()
@ByVal public Error ValidateFormat7Settings(@Const Format7ImageSettings pImageSettings, @Cast(value="bool*") boolean[] pSettingsAreValid, Format7PacketInfo pPacketInfo)
@ByVal public Error GetFormat7Configuration(Format7ImageSettings pImageSettings, @Cast(value="unsigned int*") IntPointer pPacketSize, FloatPointer pPercentage)
pImageSettings
- Current image settings.pPacketSize
- Current packet size.pPercentage
- Current packet size as a percentage.GetFormat7Info()
,
ValidateFormat7Settings()
,
SetFormat7Configuration()
,
GetVideoModeAndFrameRate()
@ByVal public Error GetFormat7Configuration(Format7ImageSettings pImageSettings, @Cast(value="unsigned int*") IntBuffer pPacketSize, FloatBuffer pPercentage)
@ByVal public Error GetFormat7Configuration(Format7ImageSettings pImageSettings, @Cast(value="unsigned int*") int[] pPacketSize, float[] pPercentage)
@ByVal public Error SetFormat7Configuration(@Const Format7ImageSettings pImageSettings, @Cast(value="unsigned int") int packetSize)
pImageSettings
- Image settings to be written to the camera.packetSize
- Packet size to be written to the camera.GetFormat7Info()
,
ValidateFormat7Settings()
,
GetFormat7Configuration()
@ByVal public Error SetFormat7Configuration(@Const Format7ImageSettings pImageSettings, float percentSpeed)
pImageSettings
- Image settings to be written to the camera.percentSpeed
- Percentage of packet size to be written to
the camera.GetFormat7Info()
,
ValidateFormat7Settings()
,
GetFormat7Configuration()
@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::Camera**") 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 Camera ppCameras)
@ByVal public static Error StartSyncCapture(@Cast(value="unsigned int") int numCameras, @Const @ByPtrPtr Camera 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.