Skip to main content

CANopenLssFastScan

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE

Function Syntax

dword CANopenLssFastScan (dword vendorID, dword productCode, dword revisionNumber, dword timeout);

Description

The LSS master starts a LSS fast scan to identify and unconfigured LSS slave.

Parameters

  • vendorID: Vendor-ID of the device.
  • productCode: Product code of the device.
  • revisionNumber: Revision number of the device.
  • timeout: Distance between each LSS message of the fast scan in ms.

Return Values

  • 0: Successful
  • 1: Invalid channel (not CAN or inactive)

Example

// Start a LSS fast scan from vendor-ID 5, product code 0 and revision number 1
CANopenLssFastScan(5, 0, 1, 10);