Vector는 CAN, CAN FD, LIN 등 자동차 내부 통신 프로토콜과 관련해
Interface (VN15XX, 16XX .etc)와 Library (XL API)를 제공한다.
본 포스트는 Visual Studio에 XlApi를 설치 하는 과정을 설명한다.
순서
1. XL Driver Library 다운로드
2. .zip 파일 압축 해제 후 Driver setup.exe 파일 실행
3. Visual Studio에 Vector.XlApi.dll, vxlapi_NET.dll 참조 추가
4. Visual Studio 적용 완료
*XL Driver Library 관련 Document는 링크 참조
1. XL Driver Library 다운로드
Download
Vector supplies demos, service packs, driver updates and other downloads for Vector products as well as documents for software, hardware and automotive networking topics.
www.vector.com
2. .zip 파일 압축 해제 후 Driver setup.exe 파일 실행
3. Visual Studio에 Vector.XlApi.dll, vxlapi_NET.dll 참조 추가
(기본설치경로) C:\Users\Public\Documents\Vector\XL Driver Library 20.30.14\exec\NET 폴더에서
Vector.XlApi.dll 파일과 vxlapi_NET.dll 을 Visual Studio Project > 솔루션탐색기 > 종속성 (우클릭) 참조 추가
Visual Studio 프로젝트 참조 추가 과정
3-1. Project > 종속성 > 우클릭 > 프로젝트 참조 추가 (선택)
3-2. 참조 관리자 > (좌측 탭) 찾아보기 > (하단) 찾아보기 > (기본설치경로) "C:\Users\Public\Documents\Vector\XL Driver Library 20.30.14\exec\NET" > Vector.XlApi.dll & vxlapi_NET.dll 불러오기 및 선택 후 확인
4. Visual Studio 적용 완료
using vxlapi_NET;
using Vector.XlApi;
XLDriver xlDriver = new XLDriver();
Vector.XlApi.XlFrChannelCfgMode channelCfgMode;
적용 완료 !
'Tech. Post > 개발 환경 설정' 카테고리의 다른 글
Git Bash, 똑똑한 Git 사용하기 [기본편] (2) | 2022.11.29 |
---|---|
CANoe로 테스트 시작하기 (3) | 2022.10.21 |