Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

regarding USB DAQ 6009

hai,this is praveen
i am new to DAQ implementation.
i have been using USB DAQ6009 for the past one week and applying basic concepts on it
like writing to port ,reading to port and simultaneously writing and reading th analog data. There was no error
when i was working last week but now it is giving error saying "Error -50103 occurred at DAQmx Read (Analog DBL 1Chan 1Samp).vi:1". this error i am getting when both write and read operation done simultaneously.
 i am sending the vi pls help me out.


Message Edited by 020 66425778 on 11-12-2007 12:15 AM
0 Kudos
Message 1 of 3
(3,110 Views)
Hi,
Your VI cannot work properly : the while loop is not in a right position. You create the tasks at each loop, but it is not necessary to do that each time ... maybe you can open some examples (help menu / find examples ... ) to show you the correct diagram to acquire and write continously.
 
Bye
Wilfried.
0 Kudos
Message 2 of 3
(3,099 Views)

Hi Praveen,

The error that you are receiving is due to the resource being reserved. From your code this is most likely caused by not clearing the AI voltage task at the end of your program. Below is a screenshot of how your program could be laid out. It should be noted that this example does not configure the sample clock therefore the default sample clock will be used. I hope this helps!!



Message Edited by jaced on 11-12-2007 02:11 PM
JaceD
Signal Sources Product Support Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,082 Views)