Pylon_GetGigEStatistics


Gets GigeVision device statistics data.

Syntax

C++
Python
 
def Pylon_GetGigEStatistics(
	state: Pylon_State,
	/,
	*,
	inDeviceID: str | None = None
)
-> (
	outTotalBufferCount: int,
	outFailedBufferCount: int,
	outBufferUnderrunCount: int,
	outTotalPacketCount: int,
	outFailedPacketCount: int,
	outResendRequestCount: int,
	outResendPacketCount: int,
	outNumEmptyBuffers: int,
	outNumQueuedBuffers: int,
	outNumReadyBuffers: int,
	outOutputQueueSize: int
)

Parameters

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