05-24-2006 05:02 PM
10-09-2006 05:04 AM
I am having the same problems that have arisen before in this thread, but there seems to be no solution posted up. (Although the rewritten nidaqmx unit is very helpful - it would be good if that were being distributed by NI in the nidaqmx_80_delphi zip).
When I look at the example programs I find that in the VB6 example for reading a voltage there is no call to DAQmxStartTask, but this is present in the C example. When I include this call I get the "Access violation at address 0000003E8" error; if I don't call DAQmxStartTask then a call to DAQmxReadAnalogF64 produces the same output each time (in fact the read variable is not updated in that function call).
Does anyone have a simple piece of code which shows how to read the analogue inputs on the USB-6009?
10-10-2006 11:45 AM
04-11-2007 10:51 AM
04-12-2007 08:46 AM - edited 04-12-2007 08:46 AM
Message Edited by David S. on 04-12-2007 08:46 AM
04-12-2007 09:02 AM - edited 04-12-2007 09:02 AM
Message Edited by Wollie on 04-12-2007 10:25 AM
04-13-2007 09:47 AM