# null

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/GPIB/Functions/CAPLfunctionGPIBGetCnt.md)

## GPIBGetCnt

[CAPL Functions](../../CAPLfunctions.md) » [GPIB](../CAPLfunctionsGPIBOverview.md) » GPIBGetCnt

**Valid for**: CANoe DE

### Function Syntax

```plaintext
long GPIBGetCnt (void);
```

### Description

Returns the number of bytes transferred by the last GPIB operation.

### Parameters

—

### Return Values

* **Number of bytes transmitted**
* **-1**: On error, if no GPIB driver is available

### Example

—
