Instruction manual

AMPDIO DRIVERS
Page 232
registerBoardEx function.
pData pointer to short: pointer to short integer
variable which will be set to the raw data value
from the PC27 ADC port.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
PC27SetMultiplexer
PC27StartConversion
See Also
6.4.22.4 Write PC27 DAC Data PC24setData
Outputs a sample to a PC24 DAC channel.
SUPPORTED IN VERSION 2.0 ONWARDS. RETAINED FOR BACKWARD COMPATIBILITY.
i = PC24setData (h, Chan, Data)
where h short: board handle as issued by the
registerBoardEx function.
Chan short: DAC channel number (0, 1, 2, 3).
Data short: raw data value to write to DAC channel.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
See Also
6.4.23 Driver Interface Functions
6.4.23.1 Send IOCTL Instruction DIO_TC_IOCTL
Pass an IOCTL instruction directly to the driver. These are documented in ADIOCTL.RTF.
Examples of use are the DIO_TC.DLL source code itself.
i = DIO_TC_IOCTL (h, Code, pIOBuffer, SizeOfBuffer)
where h short: board handle as issued by the
registerBoardEx function.
Code int: IOCTL code. See ADIOCTL.H and
ADIOCTL.RTF