Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -10609!! How to correct for multi-channel data acquisition?

I am creating a program that will obtain data from all 16 channels of the PCI-DAQ6023E. I keep running into the 10609 Error "Transfer in Progress" when trying to compile and run. How do I set up the code to allow the DAQ card and Visual Basic to analyze all 16 channels at the same time?
0 Kudos
Message 1 of 3
(2,789 Views)
Greetings,

Most of the time when I see the error 10609 Transfer in Progress it is because multiple calls, such as an analog config or analog start, are being called to the same DAQ device at the same time. Both calls are fighting for the DAQ card's resources. This is an issue with your program.

I recommend that you take a look at an example program, such as our simple AI example in Visual Basic which can be found in the following directory: \Program Files\National Instruments\NI-DAQ\Examples\Visual Basic\_Getting Started\AI.

You will see a Component Works control called CWAI. If you right-click on this control and choose properties you will be able to select the channels you wish to read from. You will want to read from all 16 channels by using a
channel string of 0:15 or 0,1,2,3 .. 15. You do not want to have one CWAI control for each channel.

You could also take a look at the following example available on our web site.

Continuous Analog Input on Multiple Channels Using Visual Basic with NI-DAQ Function Calls
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E25156A4E034080020E74861&p_node=DZ52302&p_submitted=N&p_rank=&p_answer=&p_source=Internal

Regards,
Justin Britten

Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,789 Views)
Justin,
The URL for "Continuous Analog Input on Multiple Channels Using Visual Basic with NI-DAQ Function Calls" is not working. Do you have an updated URL?
TIA
Bruce Powell
0 Kudos
Message 3 of 3
(2,789 Views)