All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
PylonC.h File Reference

pylon C bindings More...

#include <stdio.h>
#include <genapic/GenApiCDefines.h>
#include <genapic/GenApiC.h>
#include <pylonc/PylonCDefines.h>
#include <pylonc/PylonCError.h>
#include <pylonc/PylonCEnums.h>
#include <pylonc/PylonC32BitMethods.h>

Data Structures

struct  PylonDeviceInfo_t
 Device info struct. More...
 
struct  PylonEventResult_t
 Result data struct for PylonEventGrabberRetrieveEvent(). More...
 
struct  PylonGigEActionCommandResult_t
 Optional result structure of IGigETransportLayer::IssueActionCommand and IGigETransportLayer::IssueScheduledActionCommand. More...
 
struct  PylonGrabResult_t
 Result data struct for PylonStreamGrabberRetrieveResult(). This data describes grab results (typically image data) retrieved from the device. Some items are optional (marked as "optional") and are only filled in if they are supported by the device. More...
 
struct  PylonImagePersistenceOptions_t
 Holds the image persistence options. More...
 

Macros

#define PYLON_MAX_DEVICEINFO_ENTRY_LENGTH   64
 Fixed string size for PylonDeviceInfo_t members.
 

Typedefs

typedef struct
PYLON_CHUNKPARSER_HANDLE_ * 
PYLON_CHUNKPARSER_HANDLE
 A handle for a chunk parser object.
 
typedef struct
PYLON_DEVICE_HANDLE_ * 
PYLON_DEVICE_HANDLE
 A handle for a device object.
 
typedef struct
PYLON_DEVICE_INFO_HANDLE_ * 
PYLON_DEVICE_INFO_HANDLE
 A handle for a device info object.
 
typedef struct
PYLON_DEVICECALLBACK_HANDLE_ * 
PYLON_DEVICECALLBACK_HANDLE
 A handle for a device callback object.
 
typedef struct
PYLON_EVENTADAPTER_HANDLE_ * 
PYLON_EVENTADAPTER_HANDLE
 A handle for an event adapter object.
 
typedef struct
PYLON_EVENTGRABBER_HANDLE_ * 
PYLON_EVENTGRABBER_HANDLE
 A handle for an event grabber object.
 
typedef struct
PYLON_FORMAT_CONVERTER_HANDLE_ * 
PYLON_FORMAT_CONVERTER_HANDLE
 A handle for a pixel format converter object.
 
typedef struct
PYLON_IMAGE_FORMAT_CONVERTER_HANDLE_ * 
PYLON_IMAGE_FORMAT_CONVERTER_HANDLE
 A handle for a pixel format converter object.
 
typedef struct
PYLON_STREAMBUFFER_HANDLE_ * 
PYLON_STREAMBUFFER_HANDLE
 A handle for a stream buffer object.
 
typedef struct
PYLON_STREAMGRABBER_HANDLE_ * 
PYLON_STREAMGRABBER_HANDLE
 A handle for a stream grabber object.
 
typedef struct
PYLON_WAITOBJECT_HANDLE_ * 
PYLON_WAITOBJECT_HANDLE
 A handle for a wait object.
 
typedef struct
PYLON_WAITOBJECTS_HANDLE_ * 
PYLON_WAITOBJECTS_HANDLE
 A handle for a node object set.
 
typedef void PylonDeviceRemCb_t (PYLON_DEVICE_HANDLE h)
 pylon device removal callback handler type.
 

Functions

GENAPIC_RESULT PylonBitsPerPixel (EPylonPixelType pixelType, int *pResult)
 Return the number of bits per pixel for a pixel type. More...
 
GENAPIC_RESULT PylonChunkParserAttachBuffer (PYLON_CHUNKPARSER_HANDLE hChp, const void *pBuffer, size_t BufLen)
 Attach a data buffer to a chunk parser. More...
 
GENAPIC_RESULT PylonChunkParserCheckCRC (PYLON_CHUNKPARSER_HANDLE hChp, _Bool *pResult)
 Return true if CRC checksum chunk data is valid. More...
 
GENAPIC_RESULT PylonChunkParserDetachBuffer (PYLON_CHUNKPARSER_HANDLE hChp)
 Detach a data buffer from a chunk parser. More...
 
GENAPIC_RESULT PylonChunkParserHasCRC (PYLON_CHUNKPARSER_HANDLE hChp, _Bool *pResult)
 Return true if CRC checksum chunk data is present. More...
 
GENAPIC_RESULT PylonChunkParserUpdateBuffer (PYLON_CHUNKPARSER_HANDLE hChp, const void *pBuffer)
 Replace a data buffer attached to a chunk parser. More...
 
GENAPIC_RESULT PylonCreateDeviceByIndex (size_t index, PYLON_DEVICE_HANDLE *phDev)
 Create a device object. More...
 
GENAPIC_RESULT PylonDestroyDevice (PYLON_DEVICE_HANDLE hDev)
 Delete a device object. More...
 
GENAPIC_RESULT PylonDeviceAccessMode (PYLON_DEVICE_HANDLE hDev, int *pAccessMode)
 Return access mode flags for a device. More...
 
GENAPIC_RESULT PylonDeviceClose (PYLON_DEVICE_HANDLE hDev)
 Close a device. More...
 
GENAPIC_RESULT PylonDeviceCreateChunkParser (PYLON_DEVICE_HANDLE hDev, PYLON_CHUNKPARSER_HANDLE *phChp)
 Create a chunk parser for a device. More...
 
GENAPIC_RESULT PylonDeviceCreateEventAdapter (PYLON_DEVICE_HANDLE hDev, PYLON_EVENTADAPTER_HANDLE *phEva)
 Create an event adapter for a device. More...
 
GENAPIC_RESULT PylonDeviceDeregisterRemovalCallback (PYLON_DEVICE_HANDLE hDev, PYLON_DEVICECALLBACK_HANDLE hCb)
 Unregister device removal callback. More...
 
GENAPIC_RESULT PylonDeviceDestroyChunkParser (PYLON_DEVICE_HANDLE hDev, PYLON_CHUNKPARSER_HANDLE hChp)
 Destroy a chunk parser. More...
 
GENAPIC_RESULT PylonDeviceDestroyEventAdapter (PYLON_DEVICE_HANDLE hDev, PYLON_EVENTADAPTER_HANDLE hEva)
 Destroy an event adapter. More...
 
GENAPIC_RESULT PylonDeviceExecuteCommandFeature (PYLON_DEVICE_HANDLE hDev, const char *pName)
 Execute a command. More...
 
GENAPIC_RESULT PylonDeviceFeatureFromString (PYLON_DEVICE_HANDLE hDev, const char *pName, const char *pValue)
 Set a feature's value from a string. More...
 
GENAPIC_RESULT PylonDeviceFeatureGetAccessMode (PYLON_DEVICE_HANDLE hDev, const char *pName, EGenApiAccessMode *pResult)
 Return a feature's access permissions. More...
 
_Bool PylonDeviceFeatureIsAvailable (PYLON_DEVICE_HANDLE hDev, const char *pName)
 Return boolean 'available' status for feature. More...
 
_Bool PylonDeviceFeatureIsImplemented (PYLON_DEVICE_HANDLE hDev, const char *pName)
 Return boolean 'implemented' status for feature. More...
 
_Bool PylonDeviceFeatureIsReadable (PYLON_DEVICE_HANDLE hDev, const char *pName)
 Return boolean 'readable' status for feature. More...
 
_Bool PylonDeviceFeatureIsWritable (PYLON_DEVICE_HANDLE hDev, const char *pName)
 Return boolean 'writable' status for feature. More...
 
GENAPIC_RESULT PylonDeviceFeatureToString (PYLON_DEVICE_HANDLE hDev, const char *pName, char *pBuf, size_t *pBufLen)
 Return a feature's value as a string. More...
 
GENAPIC_RESULT PylonDeviceGetBooleanFeature (PYLON_DEVICE_HANDLE hDev, const char *pName, _Bool *pValue)
 Return a boolean feature's value. More...
 
GENAPIC_RESULT PylonDeviceGetDeviceInfo (PYLON_DEVICE_HANDLE hDev, PylonDeviceInfo_t *pDeviceInfo)
 Get device information from device. More...
 
GENAPIC_RESULT PylonDeviceGetDeviceInfoHandle (PYLON_DEVICE_HANDLE hDev, PYLON_DEVICE_INFO_HANDLE *phDi)
 Return the handle to the device info object from which a device was created. More...
 
GENAPIC_RESULT PylonDeviceGetEventGrabber (PYLON_DEVICE_HANDLE hDev, PYLON_EVENTGRABBER_HANDLE *phEvg)
 Obtain an event grabber handle from a device. More...
 
GENAPIC_RESULT PylonDeviceGetFloatFeature (PYLON_DEVICE_HANDLE hDev, const char *pName, double *pValue)
 Return a float feature's value. More...
 
GENAPIC_RESULT PylonDeviceGetFloatFeatureMax (PYLON_DEVICE_HANDLE hDev, const char *pName, double *pValue)
 Return a float feature's maximum value. More...
 
GENAPIC_RESULT PylonDeviceGetFloatFeatureMin (PYLON_DEVICE_HANDLE hDev, const char *pName, double *pValue)
 Return a float feature's minimum value. More...
 
GENAPIC_RESULT PylonDeviceGetIntegerFeature (PYLON_DEVICE_HANDLE hDev, const char *pName, int64_t *pValue)
 Return an integer feature's value. More...
 
GENAPIC_RESULT PylonDeviceGetIntegerFeatureInc (PYLON_DEVICE_HANDLE hDev, const char *pName, int64_t *pValue)
 Return an integer feature's increment value. More...
 
GENAPIC_RESULT PylonDeviceGetIntegerFeatureMax (PYLON_DEVICE_HANDLE hDev, const char *pName, int64_t *pValue)
 Return an integer feature's maximum value. More...
 
GENAPIC_RESULT PylonDeviceGetIntegerFeatureMin (PYLON_DEVICE_HANDLE hDev, const char *pName, int64_t *pValue)
 Return an integer feature's minimum value. More...
 
GENAPIC_RESULT PylonDeviceGetNodeMap (PYLON_DEVICE_HANDLE hDev, NODEMAP_HANDLE *phMap)
 Return the parameter node map for a device. More...
 
GENAPIC_RESULT PylonDeviceGetNumStreamGrabberChannels (PYLON_DEVICE_HANDLE hDev, size_t *pNumChannels)
 Return the number of stream grabber channels for a device. More...
 
GENAPIC_RESULT PylonDeviceGetStreamGrabber (PYLON_DEVICE_HANDLE hDev, size_t index, PYLON_STREAMGRABBER_HANDLE *phStg)
 Obtain a stream grabber handle from a device. More...
 
GENAPIC_RESULT PylonDeviceGetTLNodeMap (PYLON_DEVICE_HANDLE hDev, NODEMAP_HANDLE *phMap)
 Obtain a transport layer parameter node map from a device. More...
 
GENAPIC_RESULT PylonDeviceGrabSingleFrame (PYLON_DEVICE_HANDLE hDev, size_t channel, void *pBuffer, size_t bufferSize, PylonGrabResult_t *pGrabResult, _Bool *pReady, uint32_t timeout)
 Set the acquision mode to 'single frame' and grab one image. More...
 
GENAPIC_RESULT PylonDeviceInfoGetNumProperties (PYLON_DEVICE_INFO_HANDLE hDi, size_t *numProperties)
 Return the number of properties stored in a device info object. More...
 
GENAPIC_RESULT PylonDeviceInfoGetPropertyName (PYLON_DEVICE_INFO_HANDLE hDi, size_t index, char *pName, size_t *pBufLen)
 Return the name of a device property identified by its index. More...
 
GENAPIC_RESULT PylonDeviceInfoGetPropertyValueByIndex (PYLON_DEVICE_INFO_HANDLE hDi, size_t index, char *pBuf, size_t *pBufLen)
 Return the value of a device property identified by its index. More...
 
GENAPIC_RESULT PylonDeviceInfoGetPropertyValueByName (PYLON_DEVICE_INFO_HANDLE hDi, const char *pName, char *pValue, size_t *pBufLen)
 Return the value of a device property identified by its name. More...
 
GENAPIC_RESULT PylonDeviceIsCommandDone (PYLON_DEVICE_HANDLE hDev, const char *pName, _Bool *pResult)
 Return true if command execution has finished. More...
 
GENAPIC_RESULT PylonDeviceIsOpen (PYLON_DEVICE_HANDLE hDev, _Bool *pOpen)
 Return device open status. More...
 
GENAPIC_RESULT PylonDeviceOpen (PYLON_DEVICE_HANDLE hDev, int accessMode)
 Open a device. More...
 
GENAPIC_RESULT PylonDevicePortRead (PYLON_DEVICE_HANDLE hDev, void *pBuffer, int64_t Address, size_t Length)
 Perform a raw read on the standard "Device"-node port. More...
 
GENAPIC_RESULT PylonDevicePortWrite (PYLON_DEVICE_HANDLE hDev, const void *pBuffer, int64_t Address, size_t Length)
 Perform a raw write on the standard "Device"-node port. More...
 
GENAPIC_RESULT PylonDeviceRegisterRemovalCallback (PYLON_DEVICE_HANDLE hDev, PylonDeviceRemCb_t *pCbFunction, PYLON_DEVICECALLBACK_HANDLE *phCb)
 Register device removal callback. More...
 
GENAPIC_RESULT PylonDeviceSetBooleanFeature (PYLON_DEVICE_HANDLE hDev, const char *pName, _Bool value)
 Set a boolean feature's value. More...
 
GENAPIC_RESULT PylonDeviceSetFloatFeature (PYLON_DEVICE_HANDLE hDev, const char *pName, double value)
 Set a float feature's value. More...
 
GENAPIC_RESULT PylonDeviceSetIntegerFeature (PYLON_DEVICE_HANDLE hDev, const char *pName, int64_t value)
 Set an integer feature's value. More...
 
GENAPIC_RESULT PylonEnumerateDevices (size_t *numDevices)
 Enumerate all camera devices. More...
 
GENAPIC_RESULT PylonEventAdapterDeliverMessage (PYLON_EVENTADAPTER_HANDLE hEva, const PylonEventResult_t *pEventResult)
 Process event messages. More...
 
GENAPIC_RESULT PylonEventGrabberClose (PYLON_EVENTGRABBER_HANDLE hEvg)
 Close an event grabber. More...
 
GENAPIC_RESULT PylonEventGrabberGetNodeMap (PYLON_EVENTGRABBER_HANDLE hEvg, NODEMAP_HANDLE *phMap)
 Return an event grabber's parameter node map. More...
 
GENAPIC_RESULT PylonEventGrabberGetNumBuffers (PYLON_EVENTGRABBER_HANDLE hEvg, size_t *pNumBuffers)
 Return the number of event buffers used by an event grabber. More...
 
GENAPIC_RESULT PylonEventGrabberGetWaitObject (PYLON_EVENTGRABBER_HANDLE hEvg, PYLON_WAITOBJECT_HANDLE *phWobj)
 Return an event grabber's wait object. More...
 
GENAPIC_RESULT PylonEventGrabberIsOpen (PYLON_EVENTGRABBER_HANDLE hEvg, _Bool *pOpen)
 Return an event grabber's boolean 'open' status. More...
 
GENAPIC_RESULT PylonEventGrabberOpen (PYLON_EVENTGRABBER_HANDLE hEvg)
 Open an event grabber. More...
 
GENAPIC_RESULT PylonEventGrabberRetrieveEvent (PYLON_EVENTGRABBER_HANDLE hEvg, PylonEventResult_t *pEventResult, _Bool *pReady)
 Retrieve an event from an event grabber. More...
 
GENAPIC_RESULT PylonEventGrabberSetNumBuffers (PYLON_EVENTGRABBER_HANDLE hEvg, size_t numBuffers)
 Set the number of event buffers used by an event grabber. More...
 
GENAPIC_RESULT PylonFeaturePersistenceLoad (NODEMAP_HANDLE hMap, const char *pFileName, _Bool verify)
 Loads the features from a file and stores it to the node tree. More...
 
GENAPIC_RESULT PylonFeaturePersistenceLoadFromString (NODEMAP_HANDLE hMap, const char *pFeatures, _Bool verify)
 Loads the features from a string and stores it to the node tree. More...
 
GENAPIC_RESULT PylonFeaturePersistenceSave (NODEMAP_HANDLE hMap, const char *pFileName)
 Saves the node tree to a file. More...
 
GENAPIC_RESULT PylonFeaturePersistenceSaveToString (NODEMAP_HANDLE hMap, char *pFeatures, size_t *pFeaturesLen)
 Saves the node tree to a string. More...
 
GENAPIC_RESULT PylonGetDeviceInfo (size_t index, PylonDeviceInfo_t *pDi)
 Get information about camera device identified by its index. More...
 
GENAPIC_RESULT PylonGetDeviceInfoHandle (size_t index, PYLON_DEVICE_INFO_HANDLE *phDi)
 Return a handle for a camera device info object. More...
 
GENAPIC_RESULT PylonGigEAnnounceRemoteDevice (const char *pIpAddress)
 Announce that a remote device is going to be used. More...
 
GENAPIC_RESULT PylonGigEBroadcastIpConfiguration (const char *pMacAddress, _Bool EnablePersistentIp, _Bool EnableDHCP, const char *pIpAddress, const char *pSubnetMask, const char *pDefaultGateway, const char *pUserdefinedName, _Bool *pRetval)
 Broadcasts the IP configuration. More...
 
GENAPIC_RESULT PylonGigEChangeIpConfiguration (PYLON_DEVICE_HANDLE hDev, _Bool EnablePersistentIp, _Bool EnableDhcp)
 Enables/disables use of a persistent IP address and DHCP usage. More...
 
GENAPIC_RESULT PylonGigEEnumerateAllDevices (size_t *numDevices)
 Enumerate all GigE camera devices in all subnets. More...
 
GENAPIC_RESULT PylonGigEForceIp (const char *pMacAddress, const char *pIpAddress, const char *pSubnetMask, const char *pDefaultGateway)
 'Force' a static IP address configuration into a device identified by its MAC Address. More...
 
GENAPIC_RESULT PylonGigEGetPersistentIpAddress (PYLON_DEVICE_HANDLE hDev, char *pIpAddress, size_t *pIpAddressLen, char *pSubnetMask, size_t *pSubnetMaskLen, char *pDefaultGateway, size_t *pDefaultGatewayLen)
 Reads the persistent IP address from the device. More...
 
GENAPIC_RESULT PylonGigEIssueActionCommand (uint32_t deviceKey, uint32_t groupKey, uint32_t groupMask, const char *pBroadcastAddress, uint32_t timeoutMs, uint32_t *pNumResults, PylonGigEActionCommandResult_t *pResults)
 Issue an action command via broadcast. More...
 
GENAPIC_RESULT PylonGigEIssueScheduledActionCommand (uint32_t deviceKey, uint32_t groupKey, uint32_t groupMask, uint64_t actiontimeNs, const char *pBroadcastAddress, uint32_t timeoutMs, uint32_t *pNumResults, PylonGigEActionCommandResult_t *pResults)
 Issue a scheduled action command via broadcast. More...
 
GENAPIC_RESULT PylonGigERenounceRemoteDevice (const char *pIpAddress, _Bool *pFound)
 Stop using remote device. More...
 
GENAPIC_RESULT PylonGigERestartIpConfiguration (const char *pMacAddress)
 Let a device restart the IP configuration cycle. More...
 
GENAPIC_RESULT PylonGigESetPersistentIpAddress (PYLON_DEVICE_HANDLE hDev, const char *pIpAddress, const char *pSubnetMask, const char *pDefaultGateway)
 Writes a persistent IP address to the device. More...
 
GENAPIC_RESULT PylonImageFormatConverterConvert (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE hConv, void *targetBuffer, size_t targetBufferSize, const void *sourceBuffer, size_t sourceBufferSize, EPylonPixelType sourcePixelType, uint32_t sourceWidth, uint32_t sourceHeight, size_t sourcePaddingX, EPylonImageOrientation sourceOrientation)
 Converts an image. More...
 
GENAPIC_RESULT PylonImageFormatConverterCreate (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE *phConv)
 Creates an image format converter. More...
 
GENAPIC_RESULT PylonImageFormatConverterDestroy (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE hConv)
 Destroys an image format converter. More...
 
GENAPIC_RESULT PylonImageFormatConverterGetBufferSizeForConversion (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE hConv, EPylonPixelType sourcePixelType, uint32_t sourceWidth, uint32_t sourceHeight, size_t *pBufSize)
 Gets the buffer size for a converted image. More...
 
GENAPIC_RESULT PylonImageFormatConverterGetNodeMap (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE hConv, NODEMAP_HANDLE *phMap)
 Gets the handle for node map of an image format converter. More...
 
GENAPIC_RESULT PylonImageFormatConverterGetOutputPaddingX (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE hConv, size_t *pPaddingX)
 Gets the padding, i. e. the number of additional data bytes at the end of each image row. More...
 
GENAPIC_RESULT PylonImageFormatConverterGetOutputPixelFormat (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE hConv, EPylonPixelType *pPixelType)
 Gets the output pixel format of an image format converter. More...
 
GENAPIC_RESULT PylonImageFormatConverterSetOutputPaddingX (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE hConv, size_t paddingX)
 Sets the padding, i. e. the number of additional data bytes at the end of each image row. More...
 
GENAPIC_RESULT PylonImageFormatConverterSetOutputPixelFormat (PYLON_IMAGE_FORMAT_CONVERTER_HANDLE hConv, EPylonPixelType pixelType)
 Sets the output pixel format of an image format converter. More...
 
GENAPIC_RESULT PylonImagePersistenceLoad (const char *pFilename, void *pBuffer, size_t *pBufferSize, EPylonPixelType *pPixelType, uint32_t *pWidth, uint32_t *pHeight, size_t *pPaddingX, EPylonImageOrientation *pOrientation)
 Loads an image from disk. More...
 
GENAPIC_RESULT PylonImagePersistenceSave (EPylonImageFileFormat imageFileFormat, const char *pFilename, const void *pBuffer, size_t bufferSize, EPylonPixelType pixelType, uint32_t width, uint32_t height, size_t paddingX, EPylonImageOrientation orientation, PylonImagePersistenceOptions_t *pOptions)
 Saves the image to disk. Converts the image to a format that can be saved if required. More...
 
GENAPIC_RESULT PylonInitialize (void)
 Initialize the pylon C runtime system. More...
 
GENAPIC_RESULT PylonIsBayer (EPylonPixelType pixelType, _Bool *pResult)
 Return true if the pixel format is a Bayer format. More...
 
GENAPIC_RESULT PylonIsDeviceAccessible (size_t index, int accessMode, _Bool *pIsAccessible)
 This method can be used to check if a camera device can be created and opened. More...
 
GENAPIC_RESULT PylonIsMono (EPylonPixelType pixelType, _Bool *pResult)
 Return true if pixel format is monochrome. More...
 
GENAPIC_RESULT PylonPixelFormatConverterConvert (PYLON_FORMAT_CONVERTER_HANDLE hConv, void *targetBuffer, size_t targetBufferSize, const void *sourceBuffer, size_t sourceBufferSize)
 Deprecated: Convert pixel data to a different format. More...
 
GENAPIC_RESULT PylonPixelFormatConverterCreate (PYLON_DEVICE_HANDLE hDev, int outAlign, PYLON_FORMAT_CONVERTER_HANDLE *phConv)
 Deprecated: Create a pixel format converter. More...
 
GENAPIC_RESULT PylonPixelFormatConverterDestroy (PYLON_FORMAT_CONVERTER_HANDLE hConv)
 Deprecated: Delete a pixel format converter. More...
 
GENAPIC_RESULT PylonPixelFormatConverterGetOutputBufferSize (PYLON_FORMAT_CONVERTER_HANDLE hConv, size_t *pBufSiz)
 Deprecated: Compute required output buffer size for pixel format converter. More...
 
GENAPIC_RESULT PylonPixelTypeFromString (const char *pString, EPylonPixelType *pPixelType)
 Translate a pixel type name to an enumeration value. More...
 
GENAPIC_RESULT PylonStreamGrabberCancelGrab (PYLON_STREAMGRABBER_HANDLE hStg)
 Cancel grab operation. More...
 
GENAPIC_RESULT PylonStreamGrabberClose (PYLON_STREAMGRABBER_HANDLE hStg)
 Close a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberDeregisterBuffer (PYLON_STREAMGRABBER_HANDLE hStg, PYLON_STREAMBUFFER_HANDLE hBuf)
 Detach an image data buffer from a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberFinishGrab (PYLON_STREAMGRABBER_HANDLE hStg)
 Shut down a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberGetMaxBufferSize (PYLON_STREAMGRABBER_HANDLE hStg, size_t *pMaxSize)
 Return the maximum data buffer size for a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberGetMaxNumBuffer (PYLON_STREAMGRABBER_HANDLE hStg, size_t *pNumBuffers)
 Return the maximum number of data buffers a stream grabber is set to use. More...
 
GENAPIC_RESULT PylonStreamGrabberGetNodeMap (PYLON_STREAMGRABBER_HANDLE hStg, NODEMAP_HANDLE *phMap)
 Return the node map for a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberGetWaitObject (PYLON_STREAMGRABBER_HANDLE hStg, PYLON_WAITOBJECT_HANDLE *phWobj)
 Return a stream grabber's wait object. More...
 
GENAPIC_RESULT PylonStreamGrabberIsOpen (PYLON_STREAMGRABBER_HANDLE hStg, _Bool *pOpen)
 Return the boolean 'open' status of a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberOpen (PYLON_STREAMGRABBER_HANDLE hStg)
 Open a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberPrepareGrab (PYLON_STREAMGRABBER_HANDLE hStg)
 Prepare a stream grabber for grabbing. More...
 
GENAPIC_RESULT PylonStreamGrabberQueueBuffer (PYLON_STREAMGRABBER_HANDLE hStg, PYLON_STREAMBUFFER_HANDLE hBuf, const void *pContext)
 Submit a data buffer to a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberRegisterBuffer (PYLON_STREAMGRABBER_HANDLE hStg, void *pBuffer, size_t BufLen, PYLON_STREAMBUFFER_HANDLE *phBuf)
 Attach an image data buffer to a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberRetrieveResult (PYLON_STREAMGRABBER_HANDLE hStg, PylonGrabResult_t *pGrabResult, _Bool *pReady)
 Retrieve buffer after processing by stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberSetMaxBufferSize (PYLON_STREAMGRABBER_HANDLE hStg, size_t maxSize)
 Set the maximum data buffer size for a stream grabber. More...
 
GENAPIC_RESULT PylonStreamGrabberSetMaxNumBuffer (PYLON_STREAMGRABBER_HANDLE hStg, size_t numBuffers)
 Set the maximum number of data buffers for a stream grabber to use. More...
 
GENAPIC_RESULT PylonTerminate (void)
 Shut down the pylon C runtime system. More...
 
GENAPIC_RESULT PylonWaitObjectCreate (PYLON_WAITOBJECT_HANDLE *phWobj)
 Create a user-controllable wait object. More...
 
GENAPIC_RESULT PylonWaitObjectDestroy (PYLON_WAITOBJECT_HANDLE hWobj)
 Get rid of a user-controllable wait object. More...
 
GENAPIC_RESULT PylonWaitObjectFromFd (int fd, PYLON_WAITOBJECT_HANDLE *phWobj)
 Create a wait object for an existing Linux file descriptor. More...
 
GENAPIC_RESULT PylonWaitObjectGetFd (PYLON_WAITOBJECT_HANDLE hWobj, int *pFd)
 Return the Linux file descriptor of a wait object. More...
 
GENAPIC_RESULT PylonWaitObjectIsValid (PYLON_WAITOBJECT_HANDLE hWobj, _Bool *pValid)
 Return the boolean 'valid' status of a stream grabber. More...
 
GENAPIC_RESULT PylonWaitObjectReset (PYLON_WAITOBJECT_HANDLE hWobj)
 Reset a wait object to the 'not signaled' state. More...
 
GENAPIC_RESULT PylonWaitObjectsAdd (PYLON_WAITOBJECTS_HANDLE hWos, PYLON_WAITOBJECT_HANDLE hWobj, size_t *pIndex)
 Add a single wait object to a wait object set. More...
 
GENAPIC_RESULT PylonWaitObjectsAddMany (PYLON_WAITOBJECTS_HANDLE hWos, size_t numWaitObjects,...)
 Add multiple wait objects to a wait object set. More...
 
GENAPIC_RESULT PylonWaitObjectsCreate (PYLON_WAITOBJECTS_HANDLE *phWos)
 Create a wait object set. More...
 
GENAPIC_RESULT PylonWaitObjectsDestroy (PYLON_WAITOBJECTS_HANDLE hWos)
 Destroy a wait object set. More...
 
GENAPIC_RESULT PylonWaitObjectSignal (PYLON_WAITOBJECT_HANDLE hWobj)
 Set a wait object to the 'signaled' state. More...
 
GENAPIC_RESULT PylonWaitObjectsRemoveAll (PYLON_WAITOBJECTS_HANDLE hWos)
 Remove all wait objects from a wait object set. More...
 
GENAPIC_RESULT PylonWaitObjectsWaitForAll (PYLON_WAITOBJECTS_HANDLE hWos, uint32_t timeout, _Bool *pResult)
 Wait for all objects in a wait object set to become signaled. More...
 
GENAPIC_RESULT PylonWaitObjectsWaitForAllEx (PYLON_WAITOBJECTS_HANDLE hWos, uint32_t timeout, _Bool alertable, EPylonWaitExResult *pWaitResult)
 Wait for all objects in a wait object set to become signaled. More...
 
GENAPIC_RESULT PylonWaitObjectsWaitForAny (PYLON_WAITOBJECTS_HANDLE hWos, uint32_t timeout, size_t *pIndex, _Bool *pResult)
 Wait for any one object in a wait object set to become signaled. More...
 
GENAPIC_RESULT PylonWaitObjectsWaitForAnyEx (PYLON_WAITOBJECTS_HANDLE hWos, uint32_t timeout, size_t *pIndex, _Bool alertable, EPylonWaitExResult *pWaitResult)
 Wait for any one object in a wait object set to become signaled. More...
 
GENAPIC_RESULT PylonWaitObjectWait (PYLON_WAITOBJECT_HANDLE hWobj, uint32_t timeout, _Bool *pResult)
 Wait on a wait object. More...
 
GENAPIC_RESULT PylonWaitObjectWaitEx (PYLON_WAITOBJECT_HANDLE hWobj, uint32_t timeout, _Bool alertable, EPylonWaitExResult *pWaitResult)
 Extended wait on a wait object. More...
 

Detailed Description

pylon C bindings


pylon C 5.0.5
Copyright © 2006-2016 Basler AG (Thu Aug 11 2016 18:01:26)