21#define PUC_MAX_DEVICE 16
24#define PUC_MAX_LEN 256
30#define PUC_MIN_RING_BUF_COUNT 4
33#define PUC_MAX_RING_BUF_COUNT 65535
36#define PUC_XFER_TIMEOUT_AUTO 0
39#define PUC_XFER_TIMEOUT_INFINITE 0xFFFFFFFF
42#define PUC_SYNC_OUT_MAGNIFICATION_0_5 0
45#define PUC_MAX_DECODE_THREAD_COUNT 32
49#define PUC_MAC_ADDRESS_SIZE 6
258#define PUC_DETECT_TARGET_ALL 0x00000000
261#define PUC_DETECT_TARGET_UC1 0x00000001
264#define PUC_DETECT_TARGET_GBE2 0x00000002
268#define PUC_DETECT_MODE_DISCOVERY 0x00000000
271#define PUC_DETECT_MODE_TARGET_IP 0x00000001
494#define PUC_CHK_SUCCEEDED(res) (res == PUC_SUCCEEDED)
497#define PUC_CHK_FAILED(res) (res != PUC_SUCCEEDED)
PUC_GENERAL_OUT_SIGNAL_TYPE
The signal type assigned to a general output port. Names ending with POS are positive polarity and NE...
@ READY_POS
Recording ready state (positive)
@ PTP_PP_POS
PTP pulse per second (positive)
@ IRIG_RESET_NEG
IRIG time code reset (negative)
@ STRADDLING_POS
Straddling (two-shot) exposure (positive)
@ VSYNC_POS
Vertical synchronization signal (positive)
@ REC_POS
Recording state (positive)
@ STRADDLING_NEG
Straddling (two-shot) exposure (negative)
@ EXPOSE_NEG
Exposure period (negative)
@ REC_NEG
Recording state (negative)
@ PTP_PP_NEG
PTP pulse per second (negative)
@ VSYNC_NEG
Vertical synchronization signal (negative)
@ TRIGGER_POS
Trigger input detection (positive)
@ IRIG_RESET_POS
IRIG time code reset (positive)
@ TRIGGER_NEG
Trigger input detection (negative)
@ EXPOSE_POS
Exposure period (positive)
@ READY_NEG
Recording ready state (negative)
PUC_SYNC_OUT_TIMES
The output count magnification of the synchronization signal, given as a multiple of the framerate....
@ X0_5
x0.5 (once every two frames)
PUC_GENERAL_IN_SIGNAL_TYPE
The signal type assigned to a general input port. Names containing POS are positive polarity and NEG ...
@ SYNC_POS_IN
External synchronization input (positive)
@ POWER_OFF_NEG_IN
Power off input (negative)
@ TRIG_NEG_IN
Trigger input (negative)
@ SYNC_NEG_IN
External synchronization input (negative)
@ POWER_OFF_POS_IN
Power off input (positive)
@ READY_POS_IN
Recording ready input (positive)
@ EXPOSE_POS_IN
Exposure control input (positive).
@ EXPOSE_NEG_IN
Exposure control input (negative).
@ TRIG_POS_IN
Trigger input (positive)
@ READY_NEG_IN
Recording ready input (negative)
@ EVENT_NEG_IN
Event input (negative)
@ EVENT_POS_IN
Event input (positive)
struct PUC_GBE2_XFER_HEADER * PPUC_GBE2_XFER_HEADER
void * PUC_HANDLE
Device handle.
PUC_DEVICE_TYPE
Enumeration for the device type. Stored in PUC_DETECT_INFO::nDeviceType by the device search function...
@ PUC_DEVICE_UC1
INFINICAM UC-1 (USB connection)
@ PUC_DEVICE_OTHERS
Other than the above. Not returned by the device search functions; reserved for the application to re...
@ PUC_DEVICE_GBE2
INFINICAM GbE-2 (Ethernet connection)
PUC_CAPABILITY
Camera capability. Use with PUC_IsSupported to check whether a feature is available on the connected ...
@ PUC_CAP_SYNC_OUT_TIMES
SYNC OUT times.
@ PUC_CAP_SYNC_IN_DELAY
SYNC IN delay.
@ PUC_CAP_XFER_TIMEOUT
Transfer timeout setting takes effect.
@ PUC_CAP_KEEP_ALIVE
Keep alive control.
@ PUC_CAP_EXPOSE_DELAY
Expose delay.
@ PUC_CAP_COMMAND_PASSTHROUGH
Raw command passthrough.
@ PUC_CAP_GENERAL_IO
General in/out signal.
@ PUC_CAP_SYNC_OUT_MAGNIFICATION
SYNC OUT magnification.
@ PUC_CAP_GPU_DECODE
GPU decode for this camera's data format.
@ PUC_CAP_EPOC_TIME
Camera clock setting.
@ PUC_CAP_MAC_ADDRESS
MAC address.
@ PUC_CAP_TRIG_IN_DELAY
TRIG IN delay.
@ PUC_CAP_FAN
Fan control.
@ PUC_CAP_EXTERNAL_SYNC_STATUS
External sync status.
@ PUC_CAP_PIXEL_DEFECT
Pixel defect point.
@ PUC_CAP_NETWORK_INFO
Network information.
@ PUC_CAP_SYNC_OUT_SIGNAL
SYNC OUT signal polarity.
@ PUC_CAP_TRIG_OUT_WIDTH
TRIG OUT width.
@ PUC_CAP_PP_OUT
PP OUT width/delay.
@ PUC_CAP_RESET_DEVICE
Device reset.
@ PUC_CAP_FLASH_RESET
Flash data reset.
@ PUC_CAP_HARDWARE_VERSION
Hardware version.
@ PUC_ERROR_NOTEQUAL_READ_SIZE
The data of specified size could not be read from the device.
@ PUC_ERROR_DETECT_DEVICE
Failed to search for devices. Returned by the device search functions such as PUC_DetectDevice2 / PUC...
@ PUC_ERROR_NO_SYNC
External sync signal is not detected.
@ PUC_ERROR_DEVICE_CLOSE
Failed to close the device.
@ PUC_ERROR_GPU_MEMORY_COPY
Failed to copy GPU memory.
@ PUC_ERROR_RING_BUF_COUNT
The specified ring buffer count is invalid.
@ PUC_ERROR_DEVICE_WRITE
Failed to write data to the device.
@ PUC_ERROR_ILLEGAL_FRAME_RATE
The specified framerate cannot be set.
@ PUC_ERROR_INITIALIZED
Initialization is already complete.
@ PUC_ERROR_XFER_DATA_FINISH
The data transfer ended abnormally.
@ PUC_ERROR_NOTEQUAL_WRITE_SIZE
The data of specified size could not be written to the device.
@ PUC_ERROR_GPU_UNINITIALIZE
The setup required for GPU processing is not done, please run PUC_SetupGPUDecode.
@ PUC_ERROR_FREE_BUFFER
Failed to release the buffer.
@ PUC_ERROR_ILLEGAL_RESOLUTION
The specified resolution cannot be set.
@ PUC_ERROR_GPU_DECODE_PROCESS
GPU decode process failed.
@ PUC_ERROR_XFER_DATA_WAIT
An unexpected error occurred during waiting for a data transfer from the device.
@ PUC_ERROR_MODULE_LOAD
There are modules in the SDK that could not load.
@ PUC_ERROR_ALLOCATE_BUFFUER
Failed to allocate buffer.
@ PUC_ERROR_XFERRING
Unable to process as a data transfer is in progress.
@ PUC_ERROR_DEVICE_NOTOPEN
The device is not open.
@ PUC_ERROR_DEVICE_OPEN
Failed to open the device.
@ PUC_ERROR_GPU_SYNCHRONIZE
Failed to synchronize GPU processing.
@ PUC_ERROR_SET_NETWORK_SETTING
Failed to write the network settings to the device. Returned by PUC_ForceSetNetworkSetting.
@ PUC_ERROR_XFER_DATA_INVALID_HEADER
The header information in the data received from the device is invalid.
@ PUC_ERROR_NOTSUPPORT
This function is not supprted.
@ PUC_ERROR_SET_CMD
Failed to send a SET command to the device.
@ PUC_ERROR_GET_CMD
Failed to send a GET command to the device.
@ PUC_ERROR_ILLEGAL_EXPOSE_CLOCK
The specified exposure time or non-exposure time (clock units) cannot be set.
@ PUC_ERROR_DEVICE_READ
Failed to read data from the device.
@ PUC_ERROR_ILLEGAL_ARG
The specified argument is NULL.
@ PUC_ERROR_ILLEGAL_DEVICE_HANDLE
The specified device handle is NULL.
@ PUC_ERROR_UNINITIALIZE
Initialization has not been performed. Please execute the PUC_Initialize function.
@ PUC_SUCCEEDED
Succeeded.
@ PUC_ERROR_SYNC_EXTERNAL
Unable to process as a synchronize to external signal is in progress.
@ PUC_ERROR_LOCK_TIMEOUT
The exclusive process of the function has timed out.
@ PUC_ERROR_GET_ADAPTER_INFO
Failed to get the network adapter information. Returned by PUC_GetAdaptersInfoList.
@ PUC_ERROR_XFER_DATA_BEGIN
Unable to start data transfer.
@ PUC_ERROR_NOT_EXIST_DEVICE_NO
The specified device number does not exist.
PUC_MODE
Enumeration for ON/OFF setting.
PUC_COLOR_TYPE
Enumeration for device color/monochrome setting.
@ PUC_COLOR_MONO
Monochrome.
PUC_SYNC_MODE
Enumeration for synchronization.
@ PUC_SYNC_EXTERNAL
Synchronize to external signal.
@ PUC_SYNC_EXTERNAL_PTP
Synchronize to the PTP (Precision Time Protocol) master clock. GbE-2 only.
@ PUC_SYNC_INTERNAL
Internal operation.
PUC_HANDLE * PPUC_HANDLE
Pointer for the device handle.
PUC_NETWORK_INFO_TYPE
The network setting to change with PUC_SetNetworkInfo.
@ DHCP_ON
Enables DHCP. The value argument is not used.
@ NETMASK
Subnet mask. Specify the value as a 32-bit value.
@ DHCP_OFF
Disables DHCP. The value argument is not used.
@ IPADDRESS
IP address. Specify the value as a 32-bit value.
@ GATEWAY
Default gateway. Specify the value as a 32-bit value.
PUC_SIGNAL
Enumeration for signal polarity.
@ PUC_SIGNAL_NEGA
Negative polarity signal.
@ PUC_SIGNAL_POSI
Positive polarity signal.
Structure for storing the parsed GbE-2 16-byte transfer header.
UINT8 isTrigger
Trigger flag. Set by the camera (1 = trigger active).
UINT8 isOverSync
Over-sync flag. Set by the camera (1 = over sync).
UINT8 isPacketDropped
Packet dropped flag. Set by the software layer (1 = dropped).
UINT8 isNoSync
No-sync flag. Set by the camera (1 = no sync).
UINT8 nVersion
Header version (currently 0x01)
UINT64 epochTime
Epoch time (seconds) extracted from bytes 6-15 of the header.
UINT8 nDeviceType
Device type.
UINT16 nImageNo
Image (frame) number from the camera.
UINT8 isPtp
PTP flag. Set by the camera (1 = PTP active).