Hi,
Since you will be making driver level calls for the 6024E hardware, you will need the appropriate header files and library files for the driver (nidaq32.dll). This is essentially included in the NI-DAQ driver. When you install the NI-DAQ driver (install driver before hardware), you will have an option to install support for different programming environments. You will want to include support for Borland. Once you install the driver with support for Borland, you will have a National Instruments\NI-DAQ\Include directory which will include your header files and a Lib directory which will include the library files.
At this point, you should be able to use the example programs that ship with the NI-DAQ driver. They will be located in the Examples
directory. The example you will probably want to use is one similar to "SCANsingleBufAsync.c". I'll include the code for this example. The example does an acquisition on 2 channels. You can specify the rate and duration by setting the buffer size (buffer/rate = duration). Anyway, hope that helps.
Ron