Driver Information

xtdc4_get_driver_revision

int xtdc4_get_driver_revision()

Get the driver revision of the installed xTDC4 driver.

This function does not require an xTDC4 board to be installed in the system.

Returns:

The driver version in the same format as xtdc4_static_info.driver_revision.

xtdc4_get_driver_revision_str

const char *xtdc4_get_driver_revision_str()

Get the driver revision of the installed xTDC4 driver.

This function does not require an xTDC4 board to be installed in the system.

Returns:

The driver version including the SVN build revision as a string.

xtdc4_count_devices

int xtdc4_count_devices(int *error_code, char **error_message)

Count the number of boards installed in the system that are supported by the installed xTDC4 driver.

Parameters:
  • error_code – Pointer to the location where a potential error code will be stored. Equals XTDC4_OK if no error occurred.

  • error_message – Pointer to a location where a potential error message in plain text will be stored.

Returns:

The number of boards.