B&B Electronics I-7565-H2 - Manual User Manual
Page 43

Return Values :
Return 0 means success, others means failure.
Examples :
Int Ret;
BYTE CAN_No;
_VCI_CAN_FilterID pCANFID1;
//Single 11-bit Fitler-ID
WORD SSFID[3]={0x0003, 0x0002, 0x0001};
//Group 11-bit Fitler-ID
DWORD GSFID[2]={0x00300040, 0x00100020};
//Single 29-bit Fitler-ID
DWORD SEFID[3]={0x00000013, 0x00000012, 0x00000011};
//Group 29-bit Fitler-ID
DWORD GEFID[4]={0x00000300, 0x00000400, 0x00000100, x00000200};
CAN_No=1;
pCANFID1.SSFF_Num = sizeof(SSFID)/sizeof(WORD);
pCANFID1.GSFF_Num = sizeof(GSFID)/sizeof(DWORD);
pCANFID1.SEFF_Num = sizeof(SEFID)/sizeof(DWORD);
pCANFID1.GEFF_Num = sizeof(GEFID)/sizeof(DWORD);
memcpy(pCANFID1.SSFF_FID, SSFID, pCANFID1.SSFF_Num*2);
memcpy(pCANFID1.GSFF_FID, GSFID, pCANFID1.GSFF_Num*4);
memcpy(pCANFID1.SEFF_FID, SEFID, pCANFID1.SEFF_Num*4);
memcpy(pCANFID1.GEFF_FID, GEFID, pCANFID1.GEFF_Num*4);
Ret = VCI_Set_CANFID(CAN_No, &pCANFID1);
// Set CAN Filter-ID
I-7565-H1/H2 High Speed USB/CAN Converter User’s Manual (Ver 1.1, Nov/2009) ------------- 43
- USOPTL4DR-LS - Datasheet (2 pages)
- ZXT9-IOA-KIT - Manual (75 pages)
- ADAM-6066 - Manual (272 pages)
- 855-11619--57 - Datasheet (2 pages)
- 851-10904 - Datasheet (2 pages)
- SS-BLT-100PR - Quick Start Guide (1 page)
- ISOCON-6 - Datasheet (2 pages)
- I-7060 - Manual (64 pages)
- AMU864 - Datasheet (2 pages)
- 714FX6-SC_ST - Manual (154 pages)
- 422LP25R - Datasheet (2 pages)
- ZP9D-115RM-LR - Manual (54 pages)
- EKI-6311GN-EU - Manual (56 pages)
- ZZ24D-NA(NB,NC,ND)-SR - Quick Start Guide (4 pages)
- ESCLP-100 - Manual (23 pages)
- 806-39753 - Datasheet (1 page)
- 485SD9RJ - Datasheet (1 page)
- 712FX4-SC_ST - Manual (154 pages)
- 850-18610 - Manual (18 pages)
- ESW208 Series - Datasheet (2 pages)
- VESR321_ML_SL - Quick Start Guide (3 pages)
- OP10 - Datasheet (1 page)
- RT3G-300_310_320_330_340-W - Configuration Manual (79 pages)
- EIRHP305-T - Datasheet (2 pages)
- EIRSP1 - Datasheet (1 page)
- 422TTL33 - Datasheet (2 pages)
- 485DRCI - Quick Start Guide (2 pages)
- I-7021_P - Datasheet (2 pages)
- NTSA-CAT5E - Datasheet (2 pages)
- 485COSR - Datasheet (2 pages)
- 855-10619--57 - Datasheet (2 pages)
- UH401SL_2KV - Datasheet (2 pages)
- 105FXE-SC(ST)-15-POE - Manual (19 pages)
- 102MC-FL_SC_ST - Manual (23 pages)
- CBL00302 - Datasheet (1 page)
- 850-18100--27 - Datasheet (2 pages)
- 850-10953-DC - Datasheet (2 pages)
- ESR904 - Datasheet (2 pages)
- 308TX-N - Datasheet (3 pages)
- 422LP25N - Datasheet (2 pages)
- 708FX2-SC_ST - Datasheet (3 pages)
- MESR321_SL_ML - Datasheet (2 pages)
- SL2736-698 - Quick Start Guide (8 pages)
- I-7188E Series - Datasheet (1 page)
- ANT-PAD58-19 - Datasheet (1 page)