LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error +10800 in AI Single Scan

Hi all,
I am running an old macintosh quadra 840av with labview 4.0 and an nb-mio-16l data acquisition card.

I created the attached vi to read 8 channels, but i keep getting error 10800 in AI Single Scan. I can't figure out why. I also tried using AI Read but then I got the same error code in AI Buffer Read.

Doing an unbufferred acquisition works fine.

I am attaching the VI for reference. I am not sure why this is happening. I have tried everything I know, but nothing seems to work. Please help!

Regards,
-Setu.

P.S> I tried using both AI SingleScan.vi from zadvd.llb and AI.llb in the VI.llb directory
0 Kudos
Message 1 of 2
(3,116 Views)
Aha! You want to use AI Read in this case, not AI Single Scan. Replace that VI with AI Read, and you'll have to wire an input to tell it how many scans to read from the buffer (I'm assuming 1 seconds' worth of data, since you have a 1 second delay in your loop). If you don't wire that, it will read the entire buffer.

Sometimes you'll get an error when you've started a continuous acquisition, and then try to perform an unbuffered acquisition, like single scan. Make it a common practice to call the AI Clear after your loop is terminated. You may have to run this VI once all the way through to stop the continuous acquisition, and then it will work the next time.

This occurs for me if the VI is running, and then I press the stop button on the LabVIEW too
lbar instead of my stop button on the Front Panel; the acquisition isn't cleared, and the next time I run it (providing LabVIEW was not shut down), I'll get errors like this.

Mark
0 Kudos
Message 2 of 2
(3,116 Views)