Back to FabImage Library websiteYou are here:
Start »
Function Reference »
Camera Support »
Basler »
Pylon_GetGigEStatistics
Gets GigeVision device statistics data.
Syntax
void fil::Pylon_GetGigEStatistics
(
Pylon_State& ioState,
ftl::Optional<const ftl::String&> inDeviceID,
ftl::int64& outTotalBufferCount,
ftl::int64& outFailedBufferCount,
ftl::int64& outBufferUnderrunCount,
ftl::int64& outTotalPacketCount,
ftl::int64& outFailedPacketCount,
ftl::int64& outResendRequestCount,
ftl::int64& outResendPacketCount,
ftl::int64& outNumEmptyBuffers,
ftl::int64& outNumQueuedBuffers,
ftl::int64& outNumReadyBuffers,
ftl::int64& outOutputQueueSize
)
Parameters
|
Name |
Type |
Default |
Description |
|
ioState |
Pylon_State& |
|
Object used to maintain state of the function. |
|
inDeviceID |
Optional<const String&> |
NIL |
Device identifying address |
|
outTotalBufferCount |
int64& |
|
Counts the number of received frames |
|
outFailedBufferCount |
int64& |
|
Counts the number of buffers with at least one failed packet (status != success) |
|
outBufferUnderrunCount |
int64& |
|
Counts the number of frames lost because there were no buffers queued to the driver |
|
outTotalPacketCount |
int64& |
|
Counts the number of received packets |
|
outFailedPacketCount |
int64& |
|
Counts the number of failed packets (status != success) |
|
outResendRequestCount |
int64& |
|
Counts the number of emitted PACKETRESEND commands |
|
outResendPacketCount |
int64& |
|
Counts the number of packets requested by PACKETRESEND commands |
|
outNumEmptyBuffers |
int64& |
|
The number of empty buffers that are not used for grabbing yet |
|
outNumQueuedBuffers |
int64& |
|
The number of buffers queued at Low Level API stream grabber |
|
outNumReadyBuffers |
int64& |
|
The number of grab result buffers in the output queue that are ready for retrieval |
|
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.
Errors
List of possible exceptions:
Error type |
Description |
RuntimeError |
Not implemented |