# CIn64()

Reads the current count from a counter, and returns it as a 64-bit double word. This function is not supported in Visual Basic, since no appropriate data type is available to accept the Count argument in those languages.

Member of the MccBoard class.

## Function Prototype

VB .NET

Public Function CIn64(ByVal counterNum As Integer, ByRef count As Integer) As MccDaq.ErrorInfo

Public Function CIn64(ByVal counterNum As Integer, ByRef count As System.UInt32) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo CIn64(int counterNum, out uint count)

public MccDaq.ErrorInfo CIn64(int counterNum, out int count)

## Parameters

counterNum

The counter to read current count from. Valid values are 1 to n, where n is the number of counters on the board.

count

Current count value from the selected counter.

## Returns

- An ErrorInfo object that indicates the status of the operation.

## Notes

- CIn() vs CIn32() vs CIn64()
- Although the CIn(), CIn32(), and CIn64() methods perform the same operation, CIn32() is the preferred method to use.
- The only difference between the three is that CIn() returns a 16-bit count value, CIn32() returns a 32-bit value, and CIn64() returns a 64-bit value. Both CIn() and CIn32() can be used, but CIn64() is required whenever you need to read count values greater than 32-bits (counts >4,294,967,295) or the upper (more significant) bits will be truncated.