Hnagpal wrote:
Can you please suggest how can i make them work together in one vi. If i try to do that it's giving an error. I was tring to put one under the other
Well, it would probably help if you would actually tell us the exact error you are getting. What's the error ID? What is the message??
It seems to me you want to read AI0 and AI1 at the same time and at the same rate. Simply create a single task tha contains both channels, then read them using "NChannel1Sample" instead of "1Chanl1Sample". (or even better NChannelNsamples, which seems more efficient.).
It also seems silly to try to read at 10kHz and diisplay the data in a simple scalar. Do you really think that it will update that fast or you could read it that fast? :D?