
PcCard – (DaqInfoPcCardT)
Definition Description Format
Socket PC Card socket number DWORD
BasePortAddr Base port address DWORD
InterruptLevel Interrupt level DWORD
DriverInstance Driver instance DWORD
DaqModel Daq model number DWORD
Generic – (DaqInfoGenericT)
Definition Description Format
BasePortAddr Base port address DWORD
Protocol Device protocol (see the DaqProtocol section of these tables) DaqProtocol
InterruptLevel Interrupt level DWORD
DMAChannel DMA channel DWORD
Returns
DerrNoError if successful or a DaqError error code (see the DaqError table at the end of chapter 4)
Function Usage
This function can be used to programmatically create devices that can be opened using daqOpen. This function can
be used instead of or in conjunction with the DaqX control panel applet. It can also be used with daqDeleteDevice
to create devices on the fly or with daqGetDeviceInventory to dynamically create newly detected devices.
When creating a device, be sure that the alias name is unique and the device type is correct. The InfoType
parameter should be set to indicate which interface information structure is used.
Prototypes
C/C++
daqCreateDevice(DaqDevInfoPT pDevInfo);
Visual BASIC
VBdaqCreateDevice&(DevInfo As DaqDevInfoT)
Program References
None
4.3-26 Daq API Command Reference 908494 Programmer’s Manual
Kommentare zu diesen Handbüchern