Raw Board

Universal Driver Documentation
This board type was added to allow for using Univeral Driver direct I/O and interrupt functions without interacting with a Diamond Systems DAQ hardware.

In the case of direct I/O, the dscRegisterRead() and dscRegisterWrite() functions can be used to interact with arbitrary I/O ranges. In Windows this is only allowed if I/O permission has been granted by the operating system for those ranges. Calling dscInitBoard() with a board type of DSC_RAW and the address of that range of arbitrary I/O memory will grant your software access to that memory.

In the case of interrupts, setting a user interrupt function and calling dscUserInt() on a DSC_RAW board will register an interrupt handler on the requested IRQ. Your routine will be called whenever an interrupt occurs. This is useful for easily adding your own interrupt driven features.


This page was last modified 00:14, 17 Mar 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.