eBUS Receive Code Samples

eBUS Receive allows developers to create applications to receive images from and control GigE Vision or USB3 Vision devices. This universal API provides the ability to work with GigE Vision or USB3 Vision devices from Pleora Technologies or any 3rd-party device vendor.

Getting Started

PvStreamSample: This "Hello World" sample shows you how to connect to a GigE Vision or USB3 Vision device, receive an image stream, stop streaming, and disconnect from the device.

Image Streaming

PvPipelineSample: This sample extends the "Hello World" PvStreamSample by showing how buffers are managed internally by the PvPipeline class. This removes some of the complexity of buffer management from the application when compared to the PvStream sample.
ImageProcessing: This sample illustrates how to acquire an image and process it using an external buffer to interface with a non-Pleora library. This is useful when you want to interface the eBUS SDK to popular third-party SDKs for image processing or machine learning, such as OpenCV.
MulticastMaster: This sample shows how to connect to a GigE Vision device and initiate a multicast stream to allow multiple slave devices to receive and process the image stream simultaneously.
This sample is used in conjunction with the MulticastSlave sample, which listens to the multicast stream.
MulticastSlave: This sample shows how to configure the eBUS SDK to receive an image stream from a GigE Vision device that is configured for multicast mode.
This sample is used in conjunction with the MulticastMaster sample, which initiates the multicast stream.
MultiSource: This sample shows how to use the PvPipeline class for image acquisition from a multi source device.

Discovery & Connection

DeviceFinder: This sample shows how to detect and enumerate GigE Vision and USB3 Vision devices on the network.
ConnectionRecovery: This sample shows how to automatically recover from connectivity issues, such as accidental disconnects and power interruptions, to build more robustness into your eBUS application.

Configuration & Event Monitoring

GenICamParameters: This sample shows how to enumerate and display the GenICam features and settings of a GenICam-compatible device by discovering and accessing the features of the device's node map. The node map is built programmatically from the device's GenICam XML file.
FirmwareUpdater: This sample shows how to use the PvGenFUUpdater class for to perform a firmware update on a device capable of GenICam firmware update.
EventSample: This sample shows how to handle events.
ConfigurationReader: This sample code illustrates how to use the ConfigurationReader and ConfigurationWriter classes.
DeviceSerialPort: This sample shows how to use the PvDeviceSerialPort class for serial communication through a Pleora GigE Vision or USB3 Vision device.

eBUS Edge Code Samples

eBUS Edge allows developers to create GigE Vision-compliant devices that stream using the GigE Vision Streaming Protocol (GVSP) and are controlled using the GigE Vision Control Protocol (GVCP). Use this API to start building GigE Vision devices, such as smart cameras or sensors, that are compatible with existing GigE Vision software applications.

SoftDeviceGEV: This sample shows how to create a fully functioning software GigE Vision device with multiple streaming sources and fixed width and height pixel types. A sample test pattern is generated as a streaming source. This sample also illustrates how to implement custom GenApi features and device registers, as well as how to access the GVCP messaging channel to send events and chunk data.
SoftDeviceGEVChunkData: This sample shows how to use PvSoftDeviceGEV to create a software GigE Vision transmitting chunk data payload type.
SoftDeviceGEVGenDC: This sample shows how to use PvSoftDeviceGEV to create a software GigE Vision transmitting GenDC payload type.
SoftDeviceGEVMultiPart: This sample shows how to use PvSoftDeviceGEV to create a software GigE Vision multi-part transmitter device.
SoftDeviceGEVSimple: This sample shows how to use PvSoftDeviceGEV to create a basic software GigE Vision device with one streaming source and a single pixel type. A sample test pattern is generated as a streaming source.
SoftDeviceGEVTrigger: This sample shows how to use PvSoftDeviceGEV to create a software GigE Vision device with multiple streaming sources with trigger capabilities. It demonstrates AcquisitionStart, FrameStart and LineStart TriggerSelectors, as well as Software/Hardware TriggerSources. This can be customized per sources.