01-05-2012 04:55 PM
According to the error message you posted earlier, it actually looks more like the problem is with the analog output, rather than analog input. I have been able to successfully run your VI with my NI DAQ device, so I don't think you'll have a problem with that. One thing you can try is using Highlight Execution and breakpoints to find more about why the error is happening. Here is a document that talks about some debugging techniques to help you narrow down your issue. I would suggest that you try double checking to make sure that the analog output is functioning as it should be.
01-05-2012 06:36 PM
You are right.
I had a chance to check the Vi with myDAQ and it works perfectly fine...The problem is with the Analog Output ULx version of the code. I am touch with the Measurement Computing technical staff to sort it out
01-11-2012 07:32 PM
I tried adding another Analog Input (AI) channel to my existing VI similar to the one I had added earlier.
It either shows up this error below or it doesnt record data for one Analog Input channel in NI myDAQ
01-12-2012 02:39 PM
You can not have two separate AI tasks running at the same time, but you can definitely acquire from two channels at the same time. There are two options:
1) Where you select the physical channel for the AI Virtual Channel, select "Browse," then Ctrl+click on all the channels you want. This will allow you to do AI from both physical channels in the same Virtual Channel.
2) Have two "Create Virtual Channel" VIs in series, with the same task wired into them (see the image below). This will generate two AI virtual channels in the same task, and will allow you to do AI from both physical channels.
For both of these, you will need to make sure that your DAQmx Read is set up for N channels and N samples.