Ce site utilise des cookies à des fins d'analyse, de gestion de la connexion au site marchand, au forum et de traitement d’une commande. En continuant à naviguer sur ce site, vous acceptez cette utilisation. Vous trouverez des informations détaillées sur l'utilisation des cookies dans notre politique de confidentialité.

OK Confidentialité

PCAN-API 4 (CanApi4.dll) Version History

2020-09-30 - Version 4.3.1

Improvements:

  • Added CAN_PARAM_PROTOCOLS and CAN_CONST_PROTOCOL_* constants

Bug fixes:

  • Several fixes in parameter descriptions in header files
  • If multiple 'in-use' or handle error flags were set in can_status_t at the same time, the error text returned by CAN_GetErrText() was incomplete

Changes:

  • Renamed CAN_PARAM_CANFD_ISOMODE to CAN_PARAM_FD_ISOMODE

2019-12-13 - Version 4.3.0

Improvements:

  • New possiblity to query API DLL version with parameter CAN_PARAM_VERSION and CAN_PARAM_OBJCLASS_API
  • API logging can now be controlled through the new 'API' parameters CAN_PARAM_DEBUGLOG_LEVEL and CAN_PARAM_DEBUGLOG_PATH via CAN_SetParam() calls
  • API debug log output can now be watched with debug tools like DebugView.exe, even when log file creation is switched off, only a logging level higher than 0 must be set
  • New API functions CAN_ConnectToHardware() and CAN_GetAvailableHardware()
  • New error code CAN_ERR_ILLMODE
  • New parameters CAN_PARAM_IO_DIGITAL_CONFIG, CAN_PARAM_IO_DIGITAL_VALUE, CAN_PARAM_IO_DIGITAL_SET, CAN_PARAM_IO_DIGITAL_CLEAR, CAN_PARAM_IO_ANALOG_VALUE and associated record can_param_io_t
  • New hardware parameter CAN_PARAM_IRQ_TIMING and associated record can_param_irq_timing_t
  • Some other minor improvements

2017-11-16 - Version 4.2.1

Changes:

  • Minor code optimizations

2017-04-20 - Version 4.2.0

Improvements:

  • Better validation of function parameters

Bug fixes:

  • The bytesWritten out parameter of the CAN_Write() function was only set if the value CAN_ERR_OK was returned
  • Even when the CAN_GetParam() function did not return data due to an error, the content of the provided buffer has nevertheless been changed
  • Logfile output of the CAN_SetParam() function fixed

Changes:

  • CanApi4.dll only loadable on Windows 7 or later

2016-04-01 - Version 4.1.0

Improvements:

  • New possibility to specify net handle 0 in a CAN_RegisterNet() function call, which causes the net handle to be determined automatically
  • Some API functions did not validate all the passed buffers used to return results
  • Closing the different devices when unloading the DLL could cause problems in multi-threaded applications
  • Some minor improvements

Changes:

  • NTSTATUS errors from the device driver are now converted into system error codes
  • System error codes returned from API calls have the new CAN_ERR_SYSTEMERROR_MASK bit set

2015-10-19 - Version 4.0.18

Improvements:

  • Some code optimizations