168 # define canINVALID_HANDLE (-1) 208 #define canWANT_EXCLUSIVE 0x0008 209 #define canWANT_EXTENDED 0x0010 210 #define canWANT_VIRTUAL 0x0020 225 #define canOPEN_EXCLUSIVE 0x0008 238 #define canOPEN_REQUIRE_EXTENDED 0x0010 247 # define canOPEN_ACCEPT_VIRTUAL 0x0020 257 # define canOPEN_OVERRIDE_EXCLUSIVE 0x0040 275 # define canOPEN_REQUIRE_INIT_ACCESS 0x0080 288 # define canOPEN_NO_INIT_ACCESS 0x0100 301 # define canOPEN_ACCEPT_LARGE_DLC 0x0200 // DLC can be greater than 8 309 # define canOPEN_CAN_FD 0x0400 324 # define canOPEN_CAN_FD_NONISO 0x0800 330 # define canOPEN_INTERNAL_L 0x1000 343 #define canFILTER_ACCEPT 1 344 #define canFILTER_REJECT 2 346 #define canFILTER_SET_CODE_STD 3 348 #define canFILTER_SET_MASK_STD 4 350 #define canFILTER_SET_CODE_EXT 5 352 #define canFILTER_SET_MASK_EXT 6 354 #define canFILTER_NULL_MASK 0L 371 #define canDRIVER_NORMAL 4 379 #define canDRIVER_SILENT 1 384 #define canDRIVER_SELFRECEPTION 8 389 #define canDRIVER_OFF 0 413 #define canBITRATE_1M (-1) 415 #define canBITRATE_500K (-2) 417 #define canBITRATE_250K (-3) 419 #define canBITRATE_125K (-4) 421 #define canBITRATE_100K (-5) 423 #define canBITRATE_62K (-6) 425 #define canBITRATE_50K (-7) 427 #define canBITRATE_83K (-8) 429 #define canBITRATE_10K (-9) 435 #define canFD_BITRATE_500K_80P (-1000) 439 #define canFD_BITRATE_1M_80P (-1001) 443 #define canFD_BITRATE_2M_80P (-1002) 447 #define canFD_BITRATE_4M_80P (-1003) 451 #define canFD_BITRATE_8M_60P (-1004) 455 #define canFD_BITRATE_8M_80P (-1005) 459 #define canFD_BITRATE_8M_70P (-1006) 464 #define BAUD_500K (-2) 466 #define BAUD_250K (-3) 468 #define BAUD_125K (-4) 470 #define BAUD_100K (-5) 472 #define BAUD_62K (-6) 474 #define BAUD_50K (-7) 476 #define BAUD_83K (-8) 669 unsigned int syncmode);
772 unsigned int tseg1_brs,
773 unsigned int tseg2_brs,
774 unsigned int sjw_brs);
843 unsigned int *noSamp,
844 unsigned int *syncmode);
892 unsigned int *tseg1_brs,
893 unsigned int *tseg2_brs,
894 unsigned int *sjw_brs);
945 const unsigned int drivertype);
982 unsigned int *drivertype);
1027 const long envelope,
1028 const unsigned int flag);
1054 unsigned long *
const flags);
1093 unsigned int *txErr,
1094 unsigned int *rxErr,
1095 unsigned int *ovErr);
1231 unsigned long *
time);
1289 unsigned long *
time,
1290 unsigned long timeout);
1344 unsigned int * dlc,
unsigned int * flag,
1345 unsigned long *
time);
1412 unsigned long timeout);
1463 unsigned int * flag,
1464 unsigned long *
time);
1488 unsigned int notifyFlags,
1541 unsigned int *
const tseg1,
1542 unsigned int *
const tseg2,
1543 unsigned int *
const sjw,
1544 unsigned int *
const nosamp,
1545 unsigned int *
const syncMode);
1690 unsigned int buflen);
1782 #define kvREMOTE_TYPE_NOT_REMOTE 0 1783 #define kvREMOTE_TYPE_WLAN 1 1784 #define kvREMOTE_TYPE_LAN 2 1794 #define kvLOGGER_TYPE_NOT_A_LOGGER 0 1795 #define kvLOGGER_TYPE_V1 1 1796 #define kvLOGGER_TYPE_V2 2 1830 canStatus CANLIBAPI canGetChannelData (int channel, 1853 #define canCHANNELDATA_CHANNEL_CAP 1 1864 #define canCHANNELDATA_TRANS_CAP 2 1874 #define canCHANNELDATA_CHANNEL_FLAGS 3 // available, etc 1884 #define canCHANNELDATA_CARD_TYPE 4 1895 #define canCHANNELDATA_CARD_NUMBER 5 1904 #define canCHANNELDATA_CHAN_NO_ON_CARD 6 1915 #define canCHANNELDATA_CARD_SERIAL_NO 7 1926 #define canCHANNELDATA_TRANS_SERIAL_NO 8 1938 #define canCHANNELDATA_CARD_FIRMWARE_REV 9 1950 #define canCHANNELDATA_CARD_HARDWARE_REV 10 1961 #define canCHANNELDATA_CARD_UPC_NO 11 1973 #define canCHANNELDATA_TRANS_UPC_NO 12 1992 #define canCHANNELDATA_CHANNEL_NAME 13 2009 # define canCHANNELDATA_DLL_FILE_VERSION 14 2026 # define canCHANNELDATA_DLL_PRODUCT_VERSION 15 2043 # define canCHANNELDATA_DLL_FILETYPE 16 2053 # define canCHANNELDATA_TRANS_TYPE 17 2078 # define canCHANNELDATA_DEVICE_PHYSICAL_POSITION 18 2092 # define canCHANNELDATA_UI_NUMBER 19 2117 # define canCHANNELDATA_TIMESYNC_ENABLED 20 2133 # define canCHANNELDATA_DRIVER_FILE_VERSION 21 2149 # define canCHANNELDATA_DRIVER_PRODUCT_VERSION 22 2159 # define canCHANNELDATA_MFGNAME_UNICODE 23 2168 # define canCHANNELDATA_MFGNAME_ASCII 24 2178 # define canCHANNELDATA_DEVDESCR_UNICODE 25 2187 # define canCHANNELDATA_DEVDESCR_ASCII 26 2199 # define canCHANNELDATA_DRIVER_NAME 27 2213 # define canCHANNELDATA_CHANNEL_QUALITY 28 2223 # define canCHANNELDATA_ROUNDTRIP_TIME 29 2233 # define canCHANNELDATA_BUS_TYPE 30 2247 # define canCHANNELDATA_DEVNAME_ASCII 31 2259 # define canCHANNELDATA_TIME_SINCE_LAST_SEEN 32 2270 # define canCHANNELDATA_REMOTE_OPERATIONAL_MODE 33 2280 # define canCHANNELDATA_REMOTE_PROFILE_NAME 34 2290 # define canCHANNELDATA_REMOTE_HOST_NAME 35 2300 # define canCHANNELDATA_REMOTE_MAC 36 2310 # define canCHANNELDATA_MAX_BITRATE 37 2322 # define canCHANNELDATA_CHANNEL_CAP_MASK 38 2335 #define canCHANNELDATA_CUST_CHANNEL_NAME 39 2346 # define canCHANNELDATA_IS_REMOTE 40 2356 # define canCHANNELDATA_REMOTE_TYPE 41 2366 # define canCHANNELDATA_LOGGER_TYPE 42 2377 # define canCHANNELDATA_HW_STATUS 43 2388 # define canCHANNELDATA_FEATURE_EAN 44 2396 #define canCHANNELDATA_BUS_PARAM_LIMITS 45 2404 #define canCHANNELDATA_CLOCK_INFO 46 2426 #define canCHANNELDATA_CHANNEL_CAP_EX 47 2480 #define canCHANNEL_IS_EXCLUSIVE 0x0001 2483 #define canCHANNEL_IS_OPEN 0x0002 2487 #define canCHANNEL_IS_CANFD 0x0004 2493 #define canCHANNEL_IS_LIN 0x0010 2497 #define canCHANNEL_IS_LIN_MASTER 0x0020 2501 #define canCHANNEL_IS_LIN_SLAVE 0x0040 2522 #define canHWTYPE_NONE 0 2523 #define canHWTYPE_VIRTUAL 1 2524 #define canHWTYPE_LAPCAN 2 2525 #define canHWTYPE_CANPARI 3 2526 #define canHWTYPE_PCCAN 8 2527 #define canHWTYPE_PCICAN 9 2528 #define canHWTYPE_USBCAN 11 2529 #define canHWTYPE_PCICAN_II 40 2530 #define canHWTYPE_USBCAN_II 42 2531 #define canHWTYPE_SIMULATED 44 2532 #define canHWTYPE_ACQUISITOR 46 2533 #define canHWTYPE_LEAF 48 2534 #define canHWTYPE_PC104_PLUS 50 2535 #define canHWTYPE_PCICANX_II 52 2536 #define canHWTYPE_MEMORATOR_II 54 2537 #define canHWTYPE_MEMORATOR_PRO 54 2538 #define canHWTYPE_USBCAN_PRO 56 2539 #define canHWTYPE_IRIS 58 2540 #define canHWTYPE_BLACKBIRD 58 2541 #define canHWTYPE_MEMORATOR_LIGHT 60 2542 #define canHWTYPE_MINIHYDRA 62 2543 #define canHWTYPE_EAGLE 62 2544 #define canHWTYPE_BAGEL 64 2545 #define canHWTYPE_BLACKBIRD_V2 64 2546 #define canHWTYPE_MINIPCIE 66 2547 #define canHWTYPE_USBCAN_KLINE 68 2548 #define canHWTYPE_ETHERCAN 70 2549 #define canHWTYPE_USBCAN_LIGHT 72 2550 #define canHWTYPE_USBCAN_PRO2 74 2551 #define canHWTYPE_PCIE_V2 76 2552 #define canHWTYPE_MEMORATOR_PRO2 78 2553 #define canHWTYPE_LEAF2 80 2554 #define canHWTYPE_MEMORATOR_V2 82 2555 #define canHWTYPE_CANLINHYBRID 84 2556 #define canHWTYPE_DINRAIL 86 2557 #define canHWTYPE_U100 88 2568 #define canCHANNEL_CAP_EXTENDED_CAN 0x00000001L 2569 #define canCHANNEL_CAP_BUS_STATISTICS 0x00000002L 2570 #define canCHANNEL_CAP_ERROR_COUNTERS 0x00000004L 2571 #define canCHANNEL_CAP_RESERVED_2 0x00000008L 2572 #define canCHANNEL_CAP_GENERATE_ERROR 0x00000010L 2573 #define canCHANNEL_CAP_GENERATE_OVERLOAD 0x00000020L 2574 #define canCHANNEL_CAP_TXREQUEST 0x00000040L 2575 #define canCHANNEL_CAP_TXACKNOWLEDGE 0x00000080L 2576 #define canCHANNEL_CAP_VIRTUAL 0x00010000L 2577 #define canCHANNEL_CAP_SIMULATED 0x00020000L 2578 #define canCHANNEL_CAP_RESERVED_1 0x00040000L 2579 #define canCHANNEL_CAP_CAN_FD 0x00080000L 2580 #define canCHANNEL_CAP_CAN_FD_NONISO 0x00100000L 2581 #define canCHANNEL_CAP_SILENT_MODE 0x00200000L 2582 #define canCHANNEL_CAP_SINGLE_SHOT 0x00400000L 2583 #define canCHANNEL_CAP_LOGGER 0x00800000L 2584 #define canCHANNEL_CAP_REMOTE_ACCESS 0x01000000L 2585 #define canCHANNEL_CAP_SCRIPT 0x02000000L 2586 #define canCHANNEL_CAP_LIN_HYBRID 0x04000000L 2587 #define canCHANNEL_CAP_IO_API 0x08000000L 2588 #define canCHANNEL_CAP_CANTEGRITY 0x10000000L 2596 #define canCHANNEL_CAP_EX_BUSPARAMS_TQ 0x0000000000000001L 2610 #define canCHANNEL_OPMODE_NONE 1 2615 #define canCHANNEL_OPMODE_INFRASTRUCTURE 2 2620 #define canCHANNEL_OPMODE_RESERVED 3 2625 #define canCHANNEL_OPMODE_ADHOC 4 2636 #define canDRIVER_CAP_HIGHSPEED 0x00000001L 2663 #define canIOCTL_PREFER_EXT 1 2677 #define canIOCTL_PREFER_STD 2 2695 #define canIOCTL_CLEAR_ERROR_COUNTERS 5 2710 #define canIOCTL_SET_TIMER_SCALE 6 2731 #define canIOCTL_SET_TXACK 7 2745 #define canIOCTL_GET_RX_BUFFER_LEVEL 8 2759 #define canIOCTL_GET_TX_BUFFER_LEVEL 9 2770 #define canIOCTL_FLUSH_RX_BUFFER 10 2781 #define canIOCTL_FLUSH_TX_BUFFER 11 2791 #define canIOCTL_GET_TIMER_SCALE 12 2808 #define canIOCTL_SET_TXRQ 13 2817 #define canIOCTL_SET_BYPASS_MODE 15 2824 #define canIOCTL_SET_WAKEUP 16 2835 # define canIOCTL_GET_DRIVERHANDLE 17 2842 # define canIOCTL_MAP_RXQUEUE 18 2849 # define canIOCTL_GET_WAKEUP 19 2862 # define canIOCTL_SET_REPORT_ACCESS_ERRORS 20 2871 # define canIOCTL_GET_REPORT_ACCESS_ERRORS 21 2882 # define canIOCTL_CONNECT_TO_VIRTUAL_BUS 22 2893 # define canIOCTL_DISCONNECT_FROM_VIRTUAL_BUS 23 2904 # define canIOCTL_SET_USER_IOPORT 24 2916 # define canIOCTL_GET_USER_IOPORT 25 2923 # define canIOCTL_SET_BUFFER_WRAPAROUND_MODE 26 2941 # define canIOCTL_SET_RX_QUEUE_SIZE 27 2948 # define canIOCTL_SET_USB_THROTTLE 28 2955 # define canIOCTL_GET_USB_THROTTLE 29 2971 # define canIOCTL_SET_BUSON_TIME_AUTO_RESET 30 2984 # define canIOCTL_GET_TXACK 31 3000 # define canIOCTL_SET_LOCAL_TXECHO 32 3017 # define canIOCTL_SET_ERROR_FRAMES_REPORTING 33 3032 # define canIOCTL_GET_CHANNEL_QUALITY 34 3045 # define canIOCTL_GET_ROUNDTRIP_TIME 35 3055 # define canIOCTL_GET_BUS_TYPE 36 3069 # define canIOCTL_GET_DEVNAME_ASCII 37 3082 # define canIOCTL_GET_TIME_SINCE_LAST_SEEN 38 3097 # define canIOCTL_GET_TREF_LIST 39 3120 # define canIOCTL_TX_INTERVAL 40 3133 # define canIOCTL_SET_BRLIMIT 43 3140 # define canIOCTL_SET_USB_THROTTLE_SCALED 41 3156 # define canIOCTL_SET_THROTTLE_SCALED 41 3163 # define canIOCTL_GET_USB_THROTTLE_SCALED 42 3179 # define canIOCTL_GET_THROTTLE_SCALED 42 3188 # define canIOCTL_RESET_OVERRUN_COUNT 44 3198 # define canIOCTL_LIN_MODE 45 3346 #define canVERSION_CANLIB32_VERSION 0 3358 #define canVERSION_CANLIB32_PRODVER 1 3371 #define canVERSION_CANLIB32_PRODVER32 2 3383 #define canVERSION_CANLIB32_BETA 3 3458 #define canOBJBUF_TYPE_AUTO_RESPONSE 0x01 3459 #define canOBJBUF_TYPE_PERIODIC_TX 0x02 3482 canStatus CANLIBAPI canObjBufFree (const CanHandle hnd, int idx); 3516 unsigned int flags);
3570 unsigned int flags);
3589 # define canOBJBUF_AUTO_RESPONSE_RTR_ONLY 0x01 3614 unsigned int period);
3638 unsigned int count);
3707 unsigned int burstlen);
3779 unsigned long timeout);
3934 #define kvLED_ACTION_ALL_LEDS_ON 0 3935 #define kvLED_ACTION_ALL_LEDS_OFF 1 3936 #define kvLED_ACTION_LED_0_ON 2 3937 #define kvLED_ACTION_LED_0_OFF 3 3938 #define kvLED_ACTION_LED_1_ON 4 3939 #define kvLED_ACTION_LED_1_OFF 5 3940 #define kvLED_ACTION_LED_2_ON 6 3941 #define kvLED_ACTION_LED_2_OFF 7 3942 #define kvLED_ACTION_LED_3_ON 8 3943 #define kvLED_ACTION_LED_3_OFF 9 3944 #define kvLED_ACTION_LED_4_ON 10 3945 #define kvLED_ACTION_LED_4_OFF 11 3946 #define kvLED_ACTION_LED_5_ON 12 3947 #define kvLED_ACTION_LED_5_OFF 13 3948 #define kvLED_ACTION_LED_6_ON 14 3949 #define kvLED_ACTION_LED_6_OFF 15 3950 #define kvLED_ACTION_LED_7_ON 16 3951 #define kvLED_ACTION_LED_7_OFF 17 3952 #define kvLED_ACTION_LED_8_ON 18 3953 #define kvLED_ACTION_LED_8_OFF 19 3954 #define kvLED_ACTION_LED_9_ON 20 3955 #define kvLED_ACTION_LED_9_OFF 21 3956 #define kvLED_ACTION_LED_10_ON 22 3957 #define kvLED_ACTION_LED_10_OFF 23 3958 #define kvLED_ACTION_LED_11_ON 24 3959 #define kvLED_ACTION_LED_11_OFF 25 4362 unsigned int notifyFlags);
4377 #define kvBUSTYPE_NONE 0 4383 #define kvBUSTYPE_PCI 1 4389 #define kvBUSTYPE_PCMCIA 2 4395 #define kvBUSTYPE_USB 3 4401 #define kvBUSTYPE_WLAN 4 4407 #define kvBUSTYPE_PCI_EXPRESS 5 4413 #define kvBUSTYPE_ISA 6 4419 #define kvBUSTYPE_VIRTUAL 7 4425 #define kvBUSTYPE_PC104_PLUS 8 4431 #define kvBUSTYPE_LAN 9 4448 #define kvBUSTYPE_GROUP_VIRTUAL 1 4454 #define kvBUSTYPE_GROUP_LOCAL 2 4460 #define kvBUSTYPE_GROUP_REMOTE 3 4465 #define kvBUSTYPE_GROUP_INTERNAL 4 4569 #define kvENVVAR_TYPE_INT 1 4576 #define kvENVVAR_TYPE_FLOAT 2 4583 #define kvENVVAR_TYPE_STRING 3 4600 #define kvEVENT_TYPE_KEY 1 4638 #define kvSCRIPT_STOP_NORMAL 0 4639 #define kvSCRIPT_STOP_FORCED -9 4663 kvStatus CANLIBAPI kvScriptStop (const CanHandle hnd, int slotNo, int mode); 4741 const char* envvarName,
4976 char *filePathOnPC);
4992 #define kvSCRIPT_REQUEST_TEXT_UNSUBSCRIBE 1 4997 #define kvSCRIPT_REQUEST_TEXT_SUBSCRIBE 2 5002 #define kvSCRIPT_REQUEST_TEXT_ALL_SLOTS 255 5029 unsigned int request);
5057 unsigned long *
time,
5058 unsigned int *flags,
5068 #define kvSCRIPT_STATUS_LOADED 1 5069 #define kvSCRIPT_STATUS_RUNNING 2 5090 kvStatus CANLIBAPI kvScriptStatus(const CanHandle hnd, 5148 unsigned int *bufsize);
5175 #define canTXEDATA_FILE_VERSION 1 5192 #define canTXEDATA_COMPILER_VERSION 2 5212 #define canTXEDATA_DATE 3 5224 #define canTXEDATA_DESCRIPTION 4 5239 #define canTXEDATA_SOURCE 5 5250 #define canTXEDATA_SIZE_OF_CODE 6 5261 #define canTXEDATA_IS_ENCRYPTED 7 5292 char *deviceFileName);
5317 char *deviceFileName,
5318 char *hostFileName);
5454 #define kvDEVICE_MODE_INTERFACE 0x00 5460 #define kvDEVICE_MODE_LOGGER 0x01 5579 #define kvIO_INFO_GET_MODULE_TYPE 1 5586 #define kvIO_INFO_GET_DIRECTION 2 5593 #define kvIO_INFO_GET_PIN_TYPE 4 5600 #define kvIO_INFO_GET_NUMBER_OF_BITS 5 5609 #define kvIO_INFO_GET_RANGE_MIN 6 5618 #define kvIO_INFO_GET_RANGE_MAX 7 5627 #define kvIO_INFO_GET_DI_LOW_HIGH_FILTER 8 5636 #define kvIO_INFO_GET_DI_HIGH_LOW_FILTER 9 5645 #define kvIO_INFO_GET_AI_LP_FILTER_ORDER 10 5655 #define kvIO_INFO_GET_AI_HYSTERESIS 11 5662 #define kvIO_INFO_GET_MODULE_NUMBER 14 5669 #define kvIO_INFO_GET_SERIAL_NUMBER 15 5678 #define kvIO_INFO_GET_FW_VERSION 16 5700 #define kvIO_INFO_SET_DI_LOW_HIGH_FILTER 8 5709 #define kvIO_INFO_SET_DI_HIGH_LOW_FILTER 9 5718 #define kvIO_INFO_SET_AI_LP_FILTER_ORDER 10 5728 #define kvIO_INFO_SET_AI_HYSTERESIS 11 5746 #define kvIO_MODULE_TYPE_DIGITAL 1 5751 #define kvIO_MODULE_TYPE_ANALOG 2 5756 #define kvIO_MODULE_TYPE_RELAY 3 5761 #define kvIO_MODULE_TYPE_INTERNAL 4 5777 #define kvIO_PIN_TYPE_DIGITAL 1 5782 #define kvIO_PIN_TYPE_ANALOG 2 5787 #define kvIO_PIN_TYPE_RELAY 3 5803 #define kvIO_PIN_DIRECTION_IN 4 5808 #define kvIO_PIN_DIRECTION_OUT 8 struct kvClockInfo kvClockInfo
Definitions which are retained for compatibility.
unsigned char DI10
Definition: canlib.h:6087
kvStatus kvScriptEnvvarGetFloat(kvEnvHandle eHnd, float *val)
int phase1
Definition: canlib.h:702
unsigned long stdRemote
Number of received standard (11-bit identifiers) remote frames.
Definition: canlib.h:4042
unsigned char DI5
Definition: canlib.h:6082
canStatus canGetBusParamsFd(const CanHandle hnd, long *freq_brs, unsigned int *tseg1_brs, unsigned int *tseg2_brs, unsigned int *sjw_brs)
canStatus canWriteSync(const CanHandle hnd, unsigned long timeout)
kvStatus kvFileGetSystemData(const CanHandle hnd, int itemCode, int *result)
unsigned char busStatus
Definition: canlib.h:189
unsigned char DI12
Definition: canlib.h:6089
unsigned char RO3
Definition: canlib.h:6119
canStatus canGetBusOutputControl(const CanHandle hnd, unsigned int *drivertype)
kvStatus kvTimeDomainDelete(kvTimeDomain domain)
float AI2
Definition: canlib.h:6148
unsigned char DI8
Definition: canlib.h:6085
canStatus canGetDriverMode(const CanHandle hnd, int *lineMode, int *resNet)
struct canNotifyData::@0::@2 rx
unsigned char DO15
Definition: canlib.h:6076
void canInitializeLibrary(void)
canStatus canGetBusParamsFdTq(const CanHandle hnd, kvBusParamsTq *nominal, kvBusParamsTq *data)
canStatus kvIoPinGetInfo(const CanHandle hnd, unsigned int pin, int item, void *buffer, const unsigned int bufsize)
unsigned char DO8
Definition: canlib.h:6069
canStatus canReadStatus(const CanHandle hnd, unsigned long *const flags)
kvStatus kvTimeDomainCreate(kvTimeDomain *domain)
unsigned char DI9
Definition: canlib.h:6086
unsigned int portNo
Port number used in e.g. canIOCTL_SET_USER_IOPORT.
Definition: canlib.h:3203
int64_t kvEnvHandle
Definition: canlib.h:4609
int accuracy_ppm
Definition: canlib.h:2445
int nNonMagiSyncCards
number of non MagiSync™ interfaces
Definition: canlib.h:4146
unsigned char RO2
Definition: canlib.h:6118
canStatus kvIoGetNumberOfPins(const CanHandle hnd, unsigned int *pinCount)
canStatus canRequestBusStatistics(const CanHandle hnd)
kvStatus kvDeviceSetMode(const CanHandle hnd, int mode)
void * kvTimeDomain
Definition: canlib.h:4134
unsigned char DI7
Definition: canlib.h:6084
unsigned char DO
Definition: canlib.h:6104
unsigned char rxErrorCounter
Definition: canlib.h:191
unsigned char DO2
Definition: canlib.h:6063
unsigned long extRemote
Number of received extended (29-bit identifiers) remote frames.
Definition: canlib.h:4044
canStatus canClose(const CanHandle hnd)
unsigned char RO5
Definition: canlib.h:6121
int power_of_ten
Definition: canlib.h:2444
kvStatus kvFileGetCount(const CanHandle hnd, int *count)
struct canNotifyData canNotifyData
canStatus canTranslateBaud(long *const freq, unsigned int *const tseg1, unsigned int *const tseg2, unsigned int *const sjw, unsigned int *const nosamp, unsigned int *const syncMode)
int type
Definition: canlib.h:6142
canStatus canObjBufSetMsgCount(const CanHandle hnd, int idx, unsigned int count)
canStatus kvFlashLeds(const CanHandle hnd, int action, int timeout)
canStatus canSetAcceptanceFilter(const CanHandle hnd, unsigned int code, unsigned int mask, int is_extended)
unsigned char DI13
Definition: canlib.h:6090
int canHandle
Definition: canlib.h:166
unsigned char DI14
Definition: canlib.h:6091
unsigned char DI1
Definition: canlib.h:6125
canStatus canObjBufDisable(const CanHandle hnd, int idx)
void * tag
Definition: canlib.h:174
unsigned char RO4
Definition: canlib.h:6120
canStatus canGetBusParams(const CanHandle hnd, long *freq, unsigned int *tseg1, unsigned int *tseg2, unsigned int *sjw, unsigned int *noSamp, unsigned int *syncmode)
float AI3
Definition: canlib.h:6149
kvStatus kvScriptEnvvarGetInt(kvEnvHandle eHnd, int *val)
Definitions for the CANLIB API.
kvStatus kvScriptGetMaxEnvvarSize(int hnd, int *envvarSize)
Definition: canlib.h:6115
Definition: canlib.h:6060
canStatus kvIoPinSetInfo(const CanHandle hnd, unsigned int pin, int item, const void *buffer, const unsigned int bufsize)
kvStatus kvFileGetName(const CanHandle hnd, int fileNo, char *name, int namelen)
Definition: canlib.h:6141
canStatus canSetBusOutputControl(const CanHandle hnd, const unsigned int drivertype)
int tq
Definition: canlib.h:701
int type
Definition: canlib.h:6116
Definition: canlib.h:2462
int type
Definition: canlib.h:6061
int eventType
Definition: canlib.h:175
float AO3
Definition: canlib.h:6145
canStatus kvIoPinSetRelay(const CanHandle hnd, unsigned int pin, unsigned int value)
canStatus kvIoPinGetDigital(const CanHandle hnd, unsigned int pin, unsigned int *value)
int type
Definition: canlib.h:6103
kvStatus kvScriptEnvvarSetInt(kvEnvHandle eHnd, int val)
canStatus canObjBufSendBurst(const CanHandle hnd, int idx, unsigned int burstlen)
canStatus canGetRawHandle(const CanHandle hnd, void *pvFd)
canStatus kvIoPinGetOutputAnalog(const CanHandle hnd, unsigned int pin, float *value)
unsigned int canGetVersionEx(unsigned int itemCode)
unsigned char RO8
Definition: canlib.h:6124
canStatus canBusOn(const CanHandle hnd)
Definition: canlib.h:6102
long id
Definition: canlib.h:181
unsigned char DI
Definition: canlib.h:6105
int sjw
Definition: canlib.h:704
canStatus canWriteWait(const CanHandle hnd, long id, void *msg, unsigned int dlc, unsigned int flag, unsigned long timeout)
canStatus kvIoSetModulePins(const CanHandle hnd, unsigned int module, const void *buffer, const unsigned int bufsize)
kvStatus kvReadDeviceCustomerData(const CanHandle hnd, int userNumber, int itemNumber, void *data, size_t bufsiz)
canStatus canWrite(const CanHandle hnd, long id, void *msg, unsigned int dlc, unsigned int flag)
unsigned char DI3
Definition: canlib.h:6127
canStatus canObjBufWrite(const CanHandle hnd, int idx, int id, void *msg, unsigned int dlc, unsigned int flags)
kvEnvHandle kvScriptEnvvarOpen(const CanHandle hnd, const char *envvarName, int *envvarType, int *envvarSize)
struct kvTimeDomainData_s kvTimeDomainData
kvStatus kvScriptTxeGetData(const char *filePathOnPC, int item, void *buffer, unsigned int *bufsize)
struct kvBusParamsTq kvBusParamsTq
kvStatus kvScriptEnvvarClose(kvEnvHandle eHnd)
Definition: canlib.h:2440
canStatus canFlushReceiveQueue(const CanHandle hnd)
canStatus kvIoGetModulePins(const CanHandle hnd, unsigned int module, void *buffer, const unsigned int bufsize)
kvStatus kvScriptLoadFile(const CanHandle hnd, int slotNo, char *filePathOnPC)
float AI4
Definition: canlib.h:6150
unsigned int portValue
Port value used in e.g. canIOCTL_SET_USER_IOPORT.
Definition: canlib.h:3204
kvBusParamsTq arbitration_max
Definition: canlib.h:2465
unsigned short canGetVersion(void)
unsigned char DI1
Definition: canlib.h:6078
unsigned char DI2
Definition: canlib.h:6079
int phase2
Definition: canlib.h:703
unsigned long errFrame
Number of error frames.
Definition: canlib.h:4045
int prop
Definition: canlib.h:705
canStatus kvIoPinSetAnalog(const CanHandle hnd, unsigned int pin, float value)
canStatus canReadWait(const CanHandle hnd, long *id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time, unsigned long timeout)
canStatus canReadSyncSpecific(const CanHandle hnd, long id, unsigned long timeout)
float AO4
Definition: canlib.h:6146
canStatus canFlushTransmitQueue(const CanHandle hnd)
kvStatus kvReadTimer64(const CanHandle hnd, uint64_t *time)
canStatus kvBitrateToBusParamsTq(const canHandle hnd, int freq, kvBusParamsTq *nominal)
unsigned char DO10
Definition: canlib.h:6071
kvStatus kvTimeDomainResetTime(kvTimeDomain domain)
unsigned char DO3
Definition: canlib.h:6064
kvBusParamsTq data_min
Definition: canlib.h:2466
canStatus canAccept(const CanHandle hnd, const long envelope, const unsigned int flag)
CanHandle canOpenChannel(int channel, int flags)
kvStatus kvScriptEnvvarSetFloat(kvEnvHandle eHnd, float val)
unsigned long extData
Number of received extended (29-bit identifiers) data frames.
Definition: canlib.h:4043
float AO1
Definition: canlib.h:6143
kvStatus kvReadTimer(const CanHandle hnd, unsigned int *time)
canStatus canObjBufEnable(const CanHandle hnd, int idx)
int denominator
Definition: canlib.h:2443
kvStatus kvScriptRequestText(const CanHandle hnd, unsigned int slot, unsigned int request)
kvStatus kvSetNotifyCallback(const CanHandle hnd, kvCallback_t callback, void *context, unsigned int notifyFlags)
unsigned char DO16
Definition: canlib.h:6077
kvStatus kvScriptSendEvent(const CanHandle hnd, int slotNo, int eventType, int eventNo, unsigned int data)
canStatus kvBitrateToBusParamsFdTq(const canHandle hnd, int freqA, int freqD, kvBusParamsTq *arbitration, kvBusParamsTq *data)
kvStatus kvTimeDomainGetData(kvTimeDomain domain, kvTimeDomainData *data, size_t bufsiz)
kvStatus kvScriptStart(const CanHandle hnd, int slotNo)
kvStatus kvTimeDomainRemoveHandle(kvTimeDomain domain, const CanHandle hnd)
kvStatus kvFileCopyFromDevice(const CanHandle hnd, char *deviceFileName, char *hostFileName)
unsigned char DO4
Definition: canlib.h:6065
unsigned char DI8
Definition: canlib.h:6132
unsigned char DI6
Definition: canlib.h:6083
canStatus canSetNotify(const CanHandle hnd, void(*callback)(canNotifyData *), unsigned int notifyFlags, void *tag)
unsigned char txErrorCounter
Definition: canlib.h:190
canStatus kvIoPinGetAnalog(const CanHandle hnd, unsigned int pin, float *value)
unsigned char DO1
Definition: canlib.h:6062
canStatus canSetBusParamsFdTq(const CanHandle hnd, const kvBusParamsTq arbitration, const kvBusParamsTq data)
canStatus canObjBufSetFlags(const CanHandle hnd, int idx, unsigned int flags)
kvStatus kvFileDelete(const CanHandle hnd, char *deviceFileName)
unsigned char RO7
Definition: canlib.h:6123
unsigned char RO1
Definition: canlib.h:6117
unsigned char DI16
Definition: canlib.h:6093
kvBusParamsTq arbitration_min
Definition: canlib.h:2464
unsigned char DI5
Definition: canlib.h:6129
void(* kvCallback_t)(CanHandle hnd, void *context, unsigned int notifyEvent)
Definition: canlib.h:4325
int prescaler
Definition: canlib.h:706
canStatus canSetBusParamsC200(const CanHandle hnd, unsigned char btr0, unsigned char btr1)
int nMagiSyncGroups
number of MagiSync™ groups
Definition: canlib.h:4144
canStatus canReadSpecificSkip(const CanHandle hnd, long id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time)
kvStatus kvScriptGetText(const CanHandle hnd, int *slot, unsigned long *time, unsigned int *flags, char *buf, size_t bufsize)
struct canBusStatistics_s canBusStatistics
canStatus canSetBusParamsFd(const CanHandle hnd, long freq_brs, unsigned int tseg1_brs, unsigned int tseg2_brs, unsigned int sjw_brs)
canStatus
Definition: canstat.h:84
unsigned char DI11
Definition: canlib.h:6088
struct kvBusParamLimits kvBusParamLimits
kvStatus kvDeviceGetMode(const CanHandle hnd, int *result)
canStatus kvIoPinGetOutputDigital(const CanHandle hnd, unsigned int pin, unsigned int *value)
unsigned char RO6
Definition: canlib.h:6122
canStatus canReadErrorCounters(const CanHandle hnd, unsigned int *txErr, unsigned int *rxErr, unsigned int *ovErr)
canStatus kvIoConfirmConfig(const CanHandle hnd)
unsigned long stdData
Number of received standard (11-bit identifiers) data frames.
Definition: canlib.h:4041
canStatus canSetDriverMode(const CanHandle hnd, int lineMode, int resNet)
unsigned long overruns
The number of overruns detected by the hardware, firmware or driver.
Definition: canlib.h:4052
kvStatus kvTimeDomainAddHandle(kvTimeDomain domain, const CanHandle hnd)
kvStatus kvFileCopyToDevice(const CanHandle hnd, char *hostFileName, char *deviceFileName)
Definition: canlib.h:4143
unsigned char DI3
Definition: canlib.h:6080
canStatus canReadTimer(const CanHandle hnd, unsigned long *time)
unsigned char DO7
Definition: canlib.h:6068
canStatus kvIoPinSetDigital(const CanHandle hnd, unsigned int pin, unsigned int value)
unsigned char DI4
Definition: canlib.h:6081
canStatus canGetBusStatistics(const CanHandle hnd, canBusStatistics *stat, size_t bufsiz)
canStatus canBusOff(const CanHandle hnd)
canStatus canReadSpecific(const CanHandle hnd, long id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time)
float AI1
Definition: canlib.h:6147
canStatus canGetErrorText(canStatus err, char *buf, unsigned int bufsiz)
kvBusParamsTq data_max
Definition: canlib.h:2467
unsigned long busLoad
Definition: canlib.h:4051
unsigned char DI7
Definition: canlib.h:6131
unsigned char DO13
Definition: canlib.h:6074
canStatus canRequestChipStatus(const CanHandle hnd)
int version
Definition: canlib.h:2441
Definition: canlib.h:4040
canStatus canEnumHardwareEx(int *channelCount)
unsigned char DI4
Definition: canlib.h:6128
kvStatus kvScriptLoadFileOnDevice(const CanHandle hnd, int slotNo, char *localFile)
canStatus canUnloadLibrary(void)
canStatus kvIoPinGetOutputRelay(const CanHandle hnd, unsigned int pin, unsigned int *value)
struct canNotifyData::@0::@1 busErr
canHandle CanHandle
Definition: canlib.h:171
kvStatus kvScriptEnvvarSetData(kvEnvHandle eHnd, const void *buf, int start_index, int data_len)
canStatus kvStatus
Definition: canlib.h:4137
Definition: canlib.h:3202
canStatus kvAnnounceIdentityEx(const CanHandle hnd, int type, void *buf, size_t bufsiz)
union canNotifyData::@0 info
canStatus canResetBus(const CanHandle hnd)
canStatus canObjBufAllocate(const CanHandle hnd, int type)
unsigned char DI2
Definition: canlib.h:6126
int nNonMagiSyncedMembers
number of non MagiSync™ members
Definition: canlib.h:4147
canStatus canSetBusParamsTq(const CanHandle hnd, const kvBusParamsTq nominal)
unsigned char DO6
Definition: canlib.h:6067
canStatus canGetNumberOfChannels(int *channelCount)
canStatus canGetHandleData(const CanHandle hnd, int item, void *buffer, size_t bufsize)
kvStatus kvFileDiskFormat(const CanHandle hnd)
kvStatus kvScriptEnvvarGetData(kvEnvHandle eHnd, void *buf, int start_index, int data_len)
unsigned char DO9
Definition: canlib.h:6070
unsigned char DO14
Definition: canlib.h:6075
unsigned long time
Definition: canlib.h:178
canStatus canGetBusParamsTq(const CanHandle hnd, kvBusParamsTq *nominal)
unsigned char DO5
Definition: canlib.h:6066
canStatus canReadSync(const CanHandle hnd, unsigned long timeout)
float AO2
Definition: canlib.h:6144
int version
Definition: canlib.h:2463
int numerator
Definition: canlib.h:2442
kvStatus kvScriptUnload(const CanHandle hnd, int slotNo)
canStatus canObjBufSetPeriod(const CanHandle hnd, int idx, unsigned int period)
unsigned char DI6
Definition: canlib.h:6130
canStatus canObjBufFreeAll(const CanHandle hnd)
canStatus canIoCtl(const CanHandle hnd, unsigned int func, void *buf, unsigned int buflen)
unsigned char DI15
Definition: canlib.h:6092
struct canNotifyData::@0::@4 status
canStatus canSetBusParams(const CanHandle hnd, long freq, unsigned int tseg1, unsigned int tseg2, unsigned int sjw, unsigned int noSamp, unsigned int syncmode)
canStatus canObjBufSetFilter(const CanHandle hnd, int idx, unsigned int code, unsigned int mask)
struct canNotifyData::@0::@3 tx
unsigned char DO11
Definition: canlib.h:6072
kvStatus kvGetSupportedInterfaceInfo(int index, char *hwName, size_t nameLen, int *hwType, int *hwBusType)
canStatus canRead(const CanHandle hnd, long *id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time)
int nMagiSyncedMembers
number of MagiSync™ members
Definition: canlib.h:4145
unsigned char DO12
Definition: canlib.h:6073