C#
-
2. OpenDriver, GetDriverConfigC#/XL_Driver 2020. 2. 5. 15:46
vxlapi_NET DLL을 참조하여 사용하게 된다 1. 클래스 구조 public class XLDriver XL Driver API의 기능들이 구현되어있는 클래스 public class XLDefine const 상수와 enum 구조로 이루어진 클래스 enum XL_Status 가 구현되어 XLDriver 클래스에서 대부분의 메소드의 반환형으로 사용된다 Vector 사에서 제공하는 예제 코드를 살펴보겠습니다. 편의상 매 코드마다 단계별로 변수와 함수들을 추가해가며 예제를 보여드리겠습니다. 2. 샘플 코드_준비 using System; using System.Threading; using Microsoft.Win32.SafeHandles; using vxlapi_NET; namespace XLpracti..
-
1. XL 드라이버 준비물 및 지원 정보C#/XL_Driver 2020. 2. 5. 14:35
살면서 처음 만나는 분야와 처음 보는 라이브러리입니다. 부족하더라도 최대한 열심히 정리해보겠습니다. 공식 API 문서는 다음 주소에서 다운로드하실 수 있습니다 공식 홈페이지 https://www.vector.com/int/en/products/products-a-z/libraries-drivers/xl-driver-library/ XL-Driver-Library | Vector The XL-Driver-Library supports LIN (Specification 1.3, 2.0 and 2.1) with Master and Slave network nodes. To implement a LIN Master the scedule including the timing has to be realised in..