![]() |
PUCLIB 1.7.0.0
PHOTRON USB Control Library
|
#include <Windows.h>Go to the source code of this file.
Data Structures | |
| struct | PUC_GBE2_XFER_HEADER |
| Structure for storing the parsed GbE-2 16-byte transfer header. More... | |
Macros | |
| #define | PUC_MAX_DEVICE 16 |
| Maximum number of connectable devices. | |
| #define | PUC_MAX_LEN 256 |
| Maximum number of characters. | |
| #define | PUC_Q_COUNT 64 |
| Quantization table count (8*8) | |
| #define | PUC_MIN_RING_BUF_COUNT 4 |
| Minimum ring buffer count for continuous transfer. | |
| #define | PUC_MAX_RING_BUF_COUNT 65535 |
| Maximum ring buffer count for continuous transfer. | |
| #define | PUC_XFER_TIMEOUT_AUTO 0 |
| Mode for automatically setting the timeout duration (ms) based on the frame rate when no response is received from the device. | |
| #define | PUC_XFER_TIMEOUT_INFINITE 0xFFFFFFFF |
| Mode for setting the timeout duration (ms) to infinite when no response is received from the device. | |
| #define | PUC_SYNC_OUT_MAGNIFICATION_0_5 0 |
| Constant value expressing the output magnification rate of synchronization signal is 0.5. | |
| #define | PUC_MAX_DECODE_THREAD_COUNT 32 |
| Constant value expressing the thread count for multi thread decoding. | |
| #define | PUC_MAC_ADDRESS_SIZE 6 |
| MAC address size. | |
| #define | PUC_DETECT_TARGET_ALL 0x00000000 |
| Search target flag for PUC_DetectDevice2 (all device types) | |
| #define | PUC_DETECT_TARGET_UC1 0x00000001 |
| Search target flag for PUC_DetectDevice2 (UC1 / USB devices) | |
| #define | PUC_DETECT_TARGET_GBE2 0x00000002 |
| Search target flag for PUC_DetectDevice2 (GbE-2 / network devices) | |
| #define | PUC_DETECT_MODE_DISCOVERY 0x00000000 |
| Search method for PUC_DetectDevice2 (GbE-2 only): broadcast discovery on each adapter. Finds devices whose IP address is unknown. | |
| #define | PUC_DETECT_MODE_TARGET_IP 0x00000001 |
| Search method for PUC_DetectDevice2 (GbE-2 only): query the IP address given by nTargetIPAddress directly. Reaches devices that do not answer broadcast discovery (e.g. on another subnet). | |
| #define | PUC_CHK_SUCCEEDED(res) |
| The macro to be positive when an error code is normal. | |
| #define | PUC_CHK_FAILED(res) |
| The macro to be positive when an error code is not normal. | |
Typedefs | |
| typedef void * | PUC_HANDLE |
| Device handle. | |
| typedef PUC_HANDLE * | PPUC_HANDLE |
| Pointer for the device handle. | |
| typedef struct PUC_GBE2_XFER_HEADER * | PPUC_GBE2_XFER_HEADER |
| #define PUC_CHK_FAILED | ( | res | ) |
The macro to be positive when an error code is not normal.
Definition at line 497 of file PUCCONST.h.
| #define PUC_CHK_SUCCEEDED | ( | res | ) |
The macro to be positive when an error code is normal.
Definition at line 494 of file PUCCONST.h.
| #define PUC_DETECT_MODE_DISCOVERY 0x00000000 |
Search method for PUC_DetectDevice2 (GbE-2 only): broadcast discovery on each adapter. Finds devices whose IP address is unknown.
Definition at line 268 of file PUCCONST.h.
| #define PUC_DETECT_MODE_TARGET_IP 0x00000001 |
Search method for PUC_DetectDevice2 (GbE-2 only): query the IP address given by nTargetIPAddress directly. Reaches devices that do not answer broadcast discovery (e.g. on another subnet).
Definition at line 271 of file PUCCONST.h.
| #define PUC_DETECT_TARGET_ALL 0x00000000 |
Search target flag for PUC_DetectDevice2 (all device types)
Definition at line 258 of file PUCCONST.h.
| #define PUC_DETECT_TARGET_GBE2 0x00000002 |
Search target flag for PUC_DetectDevice2 (GbE-2 / network devices)
Definition at line 264 of file PUCCONST.h.
| #define PUC_DETECT_TARGET_UC1 0x00000001 |
Search target flag for PUC_DetectDevice2 (UC1 / USB devices)
Definition at line 261 of file PUCCONST.h.
| #define PUC_MAC_ADDRESS_SIZE 6 |
MAC address size.
Definition at line 49 of file PUCCONST.h.
| #define PUC_MAX_DECODE_THREAD_COUNT 32 |
Constant value expressing the thread count for multi thread decoding.
Definition at line 45 of file PUCCONST.h.
| #define PUC_MAX_DEVICE 16 |
Maximum number of connectable devices.
Definition at line 21 of file PUCCONST.h.
| #define PUC_MAX_LEN 256 |
Maximum number of characters.
Definition at line 24 of file PUCCONST.h.
| #define PUC_MAX_RING_BUF_COUNT 65535 |
Maximum ring buffer count for continuous transfer.
Definition at line 33 of file PUCCONST.h.
| #define PUC_MIN_RING_BUF_COUNT 4 |
Minimum ring buffer count for continuous transfer.
Definition at line 30 of file PUCCONST.h.
| #define PUC_Q_COUNT 64 |
Quantization table count (8*8)
Definition at line 27 of file PUCCONST.h.
| #define PUC_SYNC_OUT_MAGNIFICATION_0_5 0 |
Constant value expressing the output magnification rate of synchronization signal is 0.5.
Definition at line 42 of file PUCCONST.h.
| #define PUC_XFER_TIMEOUT_AUTO 0 |
Mode for automatically setting the timeout duration (ms) based on the frame rate when no response is received from the device.
Definition at line 36 of file PUCCONST.h.
| #define PUC_XFER_TIMEOUT_INFINITE 0xFFFFFFFF |
Mode for setting the timeout duration (ms) to infinite when no response is received from the device.
Definition at line 39 of file PUCCONST.h.
| typedef struct PUC_GBE2_XFER_HEADER * PPUC_GBE2_XFER_HEADER |
| typedef PUC_HANDLE* PPUC_HANDLE |
Pointer for the device handle.
Definition at line 107 of file PUCCONST.h.
| typedef void* PUC_HANDLE |
Device handle.
Definition at line 104 of file PUCCONST.h.
| enum PUC_CAPABILITY |
Camera capability. Use with PUC_IsSupported to check whether a feature is available on the connected camera.
Definition at line 393 of file PUCCONST.h.
| enum PUC_COLOR_TYPE |
Enumeration for device color/monochrome setting.
| Enumerator | |
|---|---|
| PUC_COLOR_MONO | Monochrome. |
| PUC_COLOR_COLOR | Color. |
Definition at line 92 of file PUCCONST.h.
| enum PUC_DEVICE_TYPE |
Enumeration for the device type. Stored in PUC_DETECT_INFO::nDeviceType by the device search functions, and used to select the device to open with PUC_OpenDevice2.
Definition at line 243 of file PUCCONST.h.
The signal type assigned to a general input port. Names containing POS are positive polarity and NEG are negative polarity.
Which types are available depends on the model, so check with PUC_GetSupportedGeneralInSignal before use.
Definition at line 319 of file PUCCONST.h.
The signal type assigned to a general output port. Names ending with POS are positive polarity and NEG are negative polarity.
Which types are available depends on the model, so check with PUC_GetSupportedGeneralOutSignal before use.
Definition at line 279 of file PUCCONST.h.
| enum PUC_MODE |
Enumeration for ON/OFF setting.
| Enumerator | |
|---|---|
| PUC_OFF | OFF. |
| PUC_ON | ON. |
Definition at line 53 of file PUCCONST.h.
The network setting to change with PUC_SetNetworkInfo.
Definition at line 351 of file PUCCONST.h.
| enum PUC_SIGNAL |
Enumeration for signal polarity.
| Enumerator | |
|---|---|
| PUC_SIGNAL_POSI | Positive polarity signal. |
| PUC_SIGNAL_NEGA | Negative polarity signal. |
Definition at line 65 of file PUCCONST.h.
| enum PUC_SYNC_MODE |
Enumeration for synchronization.
| Enumerator | |
|---|---|
| PUC_SYNC_INTERNAL | Internal operation. |
| PUC_SYNC_EXTERNAL | Synchronize to external signal. |
| PUC_SYNC_EXTERNAL_PTP | Synchronize to the PTP (Precision Time Protocol) master clock. GbE-2 only. |
Definition at line 77 of file PUCCONST.h.
| enum PUC_SYNC_OUT_TIMES |
The output count magnification of the synchronization signal, given as a multiple of the framerate.
For example, X2 outputs the signal twice per frame.
| Enumerator | |
|---|---|
| X0_5 | x0.5 (once every two frames) |
| X1 | x1 |
| X2 | x2 |
| X4 | x4 |
| X6 | x6 |
| X8 | x8 |
| X10 | x10 |
| X20 | x20 |
| X30 | x30 |
Definition at line 369 of file PUCCONST.h.
| enum PUCRESULT |
Error code.
Definition at line 111 of file PUCCONST.h.