Question: How can I use two plug-in boards with DriverLINX in the same application?
Answer: DriverLINX supports the use of multiple boards from the same application. The key to doing so successfully is to have a unique Service Request for each board.
If using the ActiveX API (typically from Delphi or Visual Basic) place a DriverLINXSR control onto the form for each board that you use. If using the DLL API (typically C/C++ languages), declare a variable of the DL_ServiceRequest type for each board.
Another important piece of information for C/C++ users, is to make use of the SelectDriverLINX(instanceHandle) function each time you switch between the use of each board. For example, suppose you have a KPCI-3101 and a KPCI-PIO24 board. Before doing any digital I/O with the KPCI-PIO24, call the SelectDriverLINX with the instance handle returned when you opened the kpcipio driver for that board. Then, before starting any analog I/O task with the KPCI-3101, again call SelectDriverLINX but with the instance handle returned when you opened the kpci3100 driver.
연락처
텍트로닉스 담당자와 실시간 상담 6:00am-4:30pm PST에 이용 가능
전화
전화 문의
9:00am-6:00PM KST에 이용 가능
다운로드
매뉴얼, 데이터 시트, 소프트웨어 등을 다운로드할 수 있습니다.
피드백
