It is strange that none of the installed examples are functioning correctly with your DAQPad-6052E. Specifically, the DAQdoubleBuf.PRJ performs a continuous, single-channel analog input acquisition. Below, I have attached an example I created some time back that performs a continuous, multi-channel analog input acquisition. Additionally, the example has a user interface.
I have some questions about your example, the board itself, and the DAQ library functions:
The user manual for the 6052 says that the polarity and range are programmable, but I don't see any function calls that set either of those paramaters. I'm I just not seeing them in the code, or are you simply using the defaults for the board? If you wanted to set the polarity and range what library function would you use? AI_Configure is the call that we used on our old board. Can it be used with the DAQPad-6052E? If so, does the InputMode argument do anything?
Thanks for the support!! Steve Chapman Arkansas Children's Hospital
You are correct in assuming that this program uses the default settings in MAX for the input mode and range. If you added the AI_Configure function to this code you could also set the mode and range. The Input mode would override the default settings in MAX for that specific operation.
I hope this helps out.
Joshua P. Application Engineering National Instruments