04-03-2006 12:50 AM
04-03-2006 05:31 PM
Hi Deepak,
This is a very strange error that you are seeing. I think that it has to do with the error handling in your code. The reason that you were seeing it so often is because of all of the loops in your code. The error would occur once, you would hit "continue," but then the loop would run again and you would receive the error again. I am attaching a modification of part of your code as an example for you to use to modify the rest of the code.
If you want to acquire more than one channel for analog input, I recommend using the Continuous Acq & Graph Int Clk Example from the LabVIEW Example Finder. This is located in Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage. If you want to acquire from more than one channel, simply change DAQmx Channel Input. For example, to acquire from channels 0-4 on Device 1, your input would be "Dev1/ai0:4".
With regards to your noise question, I recommend taking a look at this tutorial: Field Wiring and Noise Considerations for Analog Signals. I hope that you find this information helpful.
Regards,
Hal L.
04-04-2006 12:08 PM