Download Hardware Manual
Transcript
Software Support for Windows OS SetAcceptance Syntax C#: public byte USBcanServer.SetAcceptance( byte bChannel_p = USBCAN_CHANNEL_CH0, int dwAMR_p = USBCAN_AMR_ALL, int dwACR_p = USBCAN_ACR_ALL); Syntax Visual Basic: Public Function USBcanServer.SetAcceptance( _ Optional ByVal bChannel_p As Byte = USBCAN_CHANNEL_CH0, _ Optional ByVal dwAMR_p As Integer = USBCAN_AMR_ALL, _ Optional ByVal dwACR_p As Integer = USBCAN_ACR_ALL) As Byte Usability: CAN_INIT, version 3.01 and higher Description: This function is used to change the acceptance filter values for a specific CAN-channel on a device. Parameter: bChannel_p: CAN-Channel, which is to be configured. USBCAN_CHANNEL_CH0 for CAN-Channel 0 USBCAN_CHANNEL_CH1 for CAN-Channel 1 dwAMR_p: Acceptance filter mask (see section 2.3.5) dwACR_p: Acceptance filter code Return value: Error code of the function. USBCAN_SUCCESSFUL USBCAN_ERR_MAXINSTANCES USBCAN_ERR_ILLHANDLE USBCAN_ERR_CANNOTINIT USBCAN_ERR_BUSY USBCAN_ERR_IOFAILED USBCAN_ERRCMD_… SYS TEC electronic GmbH 2010 L-487e_22 157