联系我们

与泰克代表实时聊天。 工作时间:上午 9:00 - 下午 5:00(太平洋标准时间)。

电话

致电我们

工作时间:上午9:00-下午5:00(太平洋标准时间)

下载

下载手册、产品技术资料、软件等:

下载类型
型号或关键字

反馈

How can I use two plug-in boards with DriverLINX in the same application?

问题:

How can I use two plug-in boards with DriverLINX in the same application?

答案:

Product(s) :
Software : DriverLINX

PCI/ISA Plug-In Boards: several


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.

 


©Copyright 2003, Keithley Instruments, Inc.


此常见问题适用于:

无产品系列

产品:

常见问题 ID 71976

查看所有常见问题 »