Back to Adaptive Vision Library website

You are here: Start » Function Reference » Camera Support » Basler » Pylon_GetGigEStatistics

Pylon_GetGigEStatistics


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Gets GigeVision device statistics data.

Syntax

void avl::Pylon_GetGigEStatistics
(
	Pylon_State& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	atl::int64& outTotalBufferCount,
	atl::int64& outFailedBufferCount,
	atl::int64& outBufferUnderrunCount,
	atl::int64& outTotalPacketCount,
	atl::int64& outFailedPacketCount,
	atl::int64& outResendRequestCount,
	atl::int64& outResendPacketCount,
	atl::int64& outNumEmptyBuffers,
	atl::int64& outNumQueuedBuffers,
	atl::int64& outNumReadyBuffers,
	atl::int64& outOutputQueueSize
)

Parameters

Name Type Default Description
Input will be modified
ioState Pylon_State& Object used to maintain state of the function.
Input value
inDeviceID Optional<const String&> NIL Device identifying address
Output value
outTotalBufferCount int64& Counts the number of received frames
Output value
outFailedBufferCount int64& Counts the number of buffers with at least one failed packet (status != success)
Output value
outBufferUnderrunCount int64& Counts the number of frames lost because there were no buffers queued to the driver
Output value
outTotalPacketCount int64& Counts the number of received packets
Output value
outFailedPacketCount int64& Counts the number of failed packets (status != success)
Output value
outResendRequestCount int64& Counts the number of emitted PACKETRESEND commands
Output value
outResendPacketCount int64& Counts the number of packets requested by PACKETRESEND commands
Output value
outNumEmptyBuffers int64& The number of empty buffers that are not used for grabbing yet
Output value
outNumQueuedBuffers int64& The number of buffers queued at Low Level API stream grabber
Output value
outNumReadyBuffers int64& The number of grab result buffers in the output queue that are ready for retrieval
Output value
outOutputQueueSize int64& The size of the grab result buffer output queue

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.